[webbeans-commits] Webbeans SVN: r1640 - tck/trunk/impl.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Sun Feb 22 12:14:05 EST 2009


Author: pete.muir at jboss.org
Date: 2009-02-22 12:14:04 -0500 (Sun, 22 Feb 2009)
New Revision: 1640

Modified:
   tck/trunk/impl/pom.xml
Log:
attach coverage report

Modified: tck/trunk/impl/pom.xml
===================================================================
--- tck/trunk/impl/pom.xml	2009-02-22 15:04:17 UTC (rev 1639)
+++ tck/trunk/impl/pom.xml	2009-02-22 17:14:04 UTC (rev 1640)
@@ -152,68 +152,67 @@
       </plugins>
    </build>
    
-  <profiles>
-    <profile>
-      <id>tck-audit</id>
-      <activation>
-        <property>
-          <name>tck-audit</name>
-       </property>
-     </activation>
-      <dependencies>
-         <dependency>
-            <groupId>org.hibernate</groupId>
-            <artifactId>tck-utils-impl</artifactId>
-         </dependency>
-     </dependencies>
-     <build>
-        <plugins>
-        	<plugin>
-        		<groupId>org.apache.maven.plugins</groupId>
-        		<artifactId>maven-compiler-plugin</artifactId>
-            <configuration>
-               <source>1.6</source>
-               <target>1.6</target>
-               <compilerArgument>-AauditXml=${basedir}/src/main/resources/tck-audit.xml</compilerArgument>
-            </configuration>
-        	</plugin>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-enforcer-plugin</artifactId>
-            <executions>
-               <execution>
-                  <id>enforce-versions</id>
-                  <goals>
-                     <goal>enforce</goal>
-                  </goals>
+   <profiles>
+      <profile>
+         <id>tck-audit</id>
+         <activation>
+           <property>
+             <name>tck-audit</name>
+          </property>
+        </activation>
+         <dependencies>
+            <dependency>
+               <groupId>org.hibernate</groupId>
+               <artifactId>tck-utils-impl</artifactId>
+            </dependency>
+        </dependencies>
+        <build>
+           <plugins>
+              	<plugin>
+              		<groupId>org.apache.maven.plugins</groupId>
+              		<artifactId>maven-compiler-plugin</artifactId>
                   <configuration>
-                     <rules>
-                        <requireJavaVersion>
-                           <version>1.6</version>
-                        </requireJavaVersion>
-                     </rules>
+                     <source>1.6</source>
+                     <target>1.6</target>
+                     <compilerArgument>-AauditXml=${basedir}/src/main/resources/tck-audit.xml</compilerArgument>
                   </configuration>
-               </execution>
-            </executions>
-         </plugin>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-clean-plugin</artifactId>
-            <executions>
-               <execution>
-                  <id>auto-clean</id>
-                  <phase>initialize</phase>
-                  <goals>
-                     <goal>clean</goal>
-                  </goals>
-               </execution>
-            </executions>
-         </plugin>
-         
-        </plugins>
-        <defaultGoal>compile</defaultGoal>
-     </build>
-   </profile>
+              	</plugin>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-enforcer-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <id>enforce-versions</id>
+                        <goals>
+                           <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                           <rules>
+                              <requireJavaVersion>
+                                 <version>1.6</version>
+                              </requireJavaVersion>
+                           </rules>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-clean-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <id>auto-clean</id>
+                        <phase>initialize</phase>
+                        <goals>
+                           <goal>clean</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+           </plugins>
+           <defaultGoal>compile</defaultGoal>
+        </build>
+      </profile>
       <profile>
          <id>write-artifacts-to-disk</id>
          <activation>
@@ -256,6 +255,52 @@
             </plugins>
          </build>
       </profile>
+      
+      <profile>
+         <id>attach-audit</id>
+         <activation>
+            <property>
+               <name>attach-audit</name>
+            </property>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.codehaus.mojo</groupId>
+                  <artifactId>build-helper-maven-plugin</artifactId>
+                  <version>1.2</version>
+                  <executions>
+                     <execution>
+                        <id>attach-artifacts</id>
+                        <phase>package</phase>
+                        <goals>
+                           <goal>attach-artifact</goal>
+                        </goals>
+                        <configuration>
+                           <artifacts>
+                              <artifact>
+                                 <file>${basedir}/src/main/resources/tck-tests.xml</file>
+                                 <type>xml</type>
+                                 <classifier>suite</classifier>
+                              </artifact>
+                              <artifact>
+                                 <file>${basedir}/src/main/resources/tck-audit.xml</file>
+                                 <type>xml</type>
+                                 <classifier>audit</classifier>
+                              </artifact>
+                              <artifact>
+                                 <file>../target/coverage.html</file>
+                                 <type>html</type>
+                                 <classifier>coverage</classifier>
+                              </artifact>
+                           </artifacts>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
  </profiles>   
 
 </project>




More information about the weld-commits mailing list