diff options
Diffstat (limited to 'sca-java-2.x/trunk/samples/helloworld/pom.xml')
-rw-r--r-- | sca-java-2.x/trunk/samples/helloworld/pom.xml | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/samples/helloworld/pom.xml b/sca-java-2.x/trunk/samples/helloworld/pom.xml index 029405cdec..03f38ed46e 100644 --- a/sca-java-2.x/trunk/samples/helloworld/pom.xml +++ b/sca-java-2.x/trunk/samples/helloworld/pom.xml @@ -55,11 +55,39 @@ <extensions>true</extensions>
</plugin>
<!-- plugin to support using mvn tuscany:run to run this contribution -->
- <!-- plugin>
+ <plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
- </plugin -->
+ </plugin>
+
+ <!-- Override enforcer to allow snapshot of tuscabny plugin, only temp until this is fixe din the build -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-beta-1</version>
+ <executions>
+ <execution>
+ <id>enforce-plugin-versions</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requirePluginVersions>
+ <message>Best Practice is to always define released plugin versions!</message>
+ <banLatest>true</banLatest>
+ <banRelease>true</banRelease>
+ <banSnapshots>false</banSnapshots>
+ <phases>clean,deploy,site</phases>
+ <additionalPlugins>
+ </additionalPlugins>
+ </requirePluginVersions>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>
|