Skip to content

Commit

Permalink
Update 'examples' archetype
Browse files Browse the repository at this point in the history
This makes the test run in the 'install' phase, as opposed to the
'integration-test' phase.
  • Loading branch information
davorbonaci committed Apr 13, 2016
1 parent 243ae86 commit b2978a9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sdks/java/maven-archetypes/examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,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>
Expand Down

0 comments on commit b2978a9

Please sign in to comment.