You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2016/04/13 19:29:21 UTC

[2/3] incubator-beam git commit: Update 'starter' archetype

Update 'starter' archetype

This makes the test run in the 'install' phase, as opposed to the
'integration-test' phase.


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/8afd3483
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/8afd3483
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/8afd3483

Branch: refs/heads/master
Commit: 8afd3483bd4a4734dca141ef2d93e3d6a9db9331
Parents: b2978a9
Author: Davor Bonaci <da...@google.com>
Authored: Wed Apr 13 10:11:45 2016 -0700
Committer: Davor Bonaci <da...@google.com>
Committed: Wed Apr 13 10:11:45 2016 -0700

----------------------------------------------------------------------
 sdks/java/maven-archetypes/starter/pom.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/8afd3483/sdks/java/maven-archetypes/starter/pom.xml
----------------------------------------------------------------------
diff --git a/sdks/java/maven-archetypes/starter/pom.xml b/sdks/java/maven-archetypes/starter/pom.xml
index 2c7b6b9..d5357c7 100644
--- a/sdks/java/maven-archetypes/starter/pom.xml
+++ b/sdks/java/maven-archetypes/starter/pom.xml
@@ -50,6 +50,21 @@
         <plugin>
           <artifactId>maven-archetype-plugin</artifactId>
           <version>2.4</version>
+          <executions>
+            <!-- archetype-packaging above binds this plugin's goals as follows:
+                     archetype:jar to the package phase,
+                     archetype:integration-test to the integration-test phase,
+                     archetype:update-local-catalog to the install phase.
+                 We defer the integration-test goal to the install phase, since
+                 this test actually depends on the core SDK to be installed. -->
+            <execution>
+              <id>default-integration-test</id>
+              <phase>install</phase>
+              <goals>
+                <goal>integration-test</goal>
+              </goals>
+            </execution>
+          </executions>
         </plugin>
       </plugins>
     </pluginManagement>