You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nuvem-commits@incubator.apache.org by sa...@apache.org on 2011/03/22 05:24:48 UTC

svn commit: r1084069 - in /incubator/nuvem/trunk: nuvem-parallel/pom.xml pom.xml

Author: sagara
Date: Tue Mar 22 05:24:47 2011
New Revision: 1084069

URL: http://svn.apache.org/viewvc?rev=1084069&view=rev
Log:
Added exec-maven-plugin to run Python tests. 

Added:
    incubator/nuvem/trunk/nuvem-parallel/pom.xml
Modified:
    incubator/nuvem/trunk/pom.xml

Added: incubator/nuvem/trunk/nuvem-parallel/pom.xml
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-parallel/pom.xml?rev=1084069&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-parallel/pom.xml (added)
+++ incubator/nuvem/trunk/nuvem-parallel/pom.xml Tue Mar 22 05:24:47 2011
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.nuvem</groupId>
+        <artifactId>nuvem</artifactId>
+        <version>1.0-incubating-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+    <artifactId>nuvem-parallel</artifactId>
+	<version>1.0-incubating-SNAPSHOT</version>
+    <name>Apache Nuvem Cloud Parallel Components</name>	
+
+	<build>
+	  <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-eclipse-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>com.google.appengine:appengine-tools</exclude>
+                        <exclude>com.google.appengine:appengine-api</exclude>
+                        <exclude>com.google.appengine:appengine-local-runtime-shared</exclude>
+                    </excludes>
+                    <classpathContainers>
+                        <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
+                        <classpathContainer>com.google.appengine.eclipse.core.GAE_CONTAINER</classpathContainer>
+                    </classpathContainers>
+                </configuration>
+            </plugin>
+
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>exec-maven-plugin</artifactId>
+              <executions>
+                <execution>
+                <configuration>
+                  <executable>python</executable>
+                  <workingDirectory>.</workingDirectory>
+                  <arguments>
+                     <argument>test.py</argument>
+                  </arguments>    
+                  <environmentVariables>
+                     <!--<PYTHONPATH></PYTHONPATH>  -->
+                  </environmentVariables>
+                 </configuration>
+                 <id>python-test</id>
+                 <phase>test</phase>
+                 <goals>
+                   <goal>exec</goal>
+               </goals>
+             </execution>
+           </executions>
+       </plugin>
+
+    </plugins>
+  </build>
+
+</project>
+

Modified: incubator/nuvem/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/pom.xml?rev=1084069&r1=1084068&r2=1084069&view=diff
==============================================================================
--- incubator/nuvem/trunk/pom.xml (original)
+++ incubator/nuvem/trunk/pom.xml Tue Mar 22 05:24:47 2011
@@ -194,6 +194,7 @@
                 <module>nuvem-google</module>
                 <module>nuvem-google-appengine-sdk</module>                
                 <module>nuvem-standalone</module>
+                <module>nuvem-parallel</module>
                 <!-- Store Scenario -->
                 <module>store-assets</module>
                 <module>store-appengine-webapp</module>