[weld-commits] Weld SVN: r5491 - build/trunk/dist-tck.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Mon Jan 18 14:03:19 EST 2010


Author: pete.muir at jboss.org
Date: 2010-01-18 14:03:18 -0500 (Mon, 18 Jan 2010)
New Revision: 5491

Modified:
   build/trunk/dist-tck/pom.xml
Log:
add enforcement

Modified: build/trunk/dist-tck/pom.xml
===================================================================
--- build/trunk/dist-tck/pom.xml	2010-01-18 18:05:12 UTC (rev 5490)
+++ build/trunk/dist-tck/pom.xml	2010-01-18 19:03:18 UTC (rev 5491)
@@ -128,6 +128,31 @@
                </execution>
             </executions>
          </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-enforcer-plugin</artifactId>
+            <executions>
+               <execution>
+                  <id>enforce-property</id>
+                  <goals>
+                     <goal>enforce</goal>
+                  </goals>
+                  <configuration>
+                     <rules>
+                        <requireProperty>
+                           <property>cdi.tck.version</property>
+                           <message>"You must specify the property -Dcdi.tck.version=A.B.C-Q"</message>
+                        </requireProperty>
+                        <requireProperty>
+                           <property>weld.version</property>
+                           <message>"You must specify the property -Dweld.version=A.B.C-Q"</message>
+                        </requireProperty>
+                     </rules>
+                     <fail>true</fail>
+                  </configuration>
+               </execution>
+            </executions>
+         </plugin>
       </plugins>
    </build>
    



More information about the weld-commits mailing list