Author: antelder
Date: Mon Mar 22 10:57:34 2010
New Revision: 926026

URL: http://svn.apache.org/viewvc?rev=926026&view=rev
Log:
Add back tuscany plugin and override banSnapshots as a temp workaround

Modified:
    tuscany/sca-java-2.x/trunk/samples/helloworld/pom.xml

Modified: tuscany/sca-java-2.x/trunk/samples/helloworld/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/helloworld/pom.xml?rev=926026&r1=926025&r2=926026&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/helloworld/pom.xml (original)
+++ tuscany/sca-java-2.x/trunk/samples/helloworld/pom.xml Mon Mar 22 10:57:34 
2010
@@ -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>


Reply via email to