summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-22 10:57:34 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-22 10:57:34 +0000
commitd43b96d88ec1e68d9f34104cdb5208c1f801e367 (patch)
tree6d50269029351e59fbcfb88c3fb09b56307efd41 /sca-java-2.x/trunk/samples
parentbf7c1ab9169bc419649f490df88850888bc4dca4 (diff)
Add back tuscany plugin and override banSnapshots as a temp workaround
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@926026 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples')
-rw-r--r--sca-java-2.x/trunk/samples/helloworld/pom.xml32
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>