[jboss-cvs] Repository SVN: r27999 - maven2/org/jboss/webbeans/webbeans-core-test/1.0.0.PREVIEW2.SP1.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jul 23 20:53:51 EDT 2009


Author: rogerk
Date: 2009-07-23 20:53:51 -0400 (Thu, 23 Jul 2009)
New Revision: 27999

Added:
   maven2/org/jboss/webbeans/webbeans-core-test/1.0.0.PREVIEW2.SP1/webbeans-core-test-1.0.0.PREVIEW2.SP1.pom
Log:
Autoversioning commit:  a non-deltaV client made a change to
/maven2/org/jboss/webbeans/webbeans-core-test/1.0.0.PREVIEW2.SP1/webbeans-core-test-1.0.0.PREVIEW2.SP1.pom

Added: maven2/org/jboss/webbeans/webbeans-core-test/1.0.0.PREVIEW2.SP1/webbeans-core-test-1.0.0.PREVIEW2.SP1.pom
===================================================================
--- maven2/org/jboss/webbeans/webbeans-core-test/1.0.0.PREVIEW2.SP1/webbeans-core-test-1.0.0.PREVIEW2.SP1.pom	                        (rev 0)
+++ maven2/org/jboss/webbeans/webbeans-core-test/1.0.0.PREVIEW2.SP1/webbeans-core-test-1.0.0.PREVIEW2.SP1.pom	2009-07-24 00:53:51 UTC (rev 27999)
@@ -0,0 +1,254 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+   <parent>
+      <artifactId>webbeans-parent</artifactId>
+      <groupId>org.jboss.webbeans</groupId>
+      <version>1.0.0.PREVIEW2.SP1</version>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <groupId>org.jboss.webbeans</groupId>
+   <artifactId>webbeans-core-test</artifactId>
+   <version>1.0.0.PREVIEW2.SP1</version>
+   <name>Web Beans Core Tests</name>
+   <dependencies>
+
+      <dependency>
+         <groupId>org.testng</groupId>
+         <artifactId>testng</artifactId>
+         <classifier>jdk15</classifier>
+         <exclusions>
+         	<exclusion>
+         		<artifactId>junit</artifactId>
+         		<groupId>junit</groupId>
+         	</exclusion>
+         </exclusions>
+      </dependency>
+      
+      <dependency>
+         <groupId>org.jboss.test-harness</groupId>
+         <artifactId>jboss-test-harness</artifactId>
+      </dependency>
+      
+      <dependency>
+         <groupId>org.jboss.test-harness</groupId>
+         <artifactId>jboss-test-harness-jboss-as-51</artifactId>
+         <scope>test</scope>
+      </dependency>
+      
+      <dependency>
+         <groupId>javax.el</groupId>
+         <artifactId>el-api</artifactId>
+      </dependency>
+      
+      <dependency>
+         <groupId>javax.el</groupId>
+         <artifactId>el-ri</artifactId>
+      </dependency>
+
+      <dependency>
+         <groupId>javax.servlet</groupId>
+         <artifactId>servlet-api</artifactId>
+      </dependency>
+      
+      <dependency>
+         <groupId>org.jboss.webbeans</groupId>
+         <artifactId>webbeans-core</artifactId>
+      </dependency>
+      
+      <dependency>
+         <groupId>org.jboss.webbeans</groupId>
+         <artifactId>webbeans-spi</artifactId>
+      </dependency>
+      
+      
+      <dependency>
+         <groupId>org.jboss.ejb3</groupId>
+         <artifactId>jboss-ejb3-api</artifactId>
+         <optional>true</optional>
+         <exclusions>
+            <exclusion>
+               <artifactId>jboss-jaxrpc</artifactId>
+               <groupId>jbossws</groupId>
+            </exclusion>
+            <exclusion>
+               <artifactId>jboss-transaction-api</artifactId>
+               <groupId>org.jboss.javaee</groupId>
+            </exclusion>
+            <exclusion>
+               <artifactId>jboss-jaxrpc</artifactId>
+               <groupId>jboss.jbossws</groupId>
+            </exclusion>
+         </exclusions>
+      </dependency>
+      <dependency>
+      	<groupId>log4j</groupId>
+      	<artifactId>log4j</artifactId>
+      	<scope>test</scope>
+      </dependency>
+      
+      <dependency>
+      	<groupId>javax.transaction</groupId>
+      	<artifactId>jta</artifactId>
+    	</dependency>
+    	
+      <dependency>
+         <groupId>javax.persistence</groupId>
+         <artifactId>persistence-api</artifactId>
+      </dependency>
+      
+   </dependencies>
+
+   <build>
+   	<defaultGoal>test</defaultGoal>
+   	<plugins>
+   	   <plugin>
+   	      <groupId>org.apache.maven.plugins</groupId>
+   	      <artifactId>maven-surefire-plugin</artifactId>
+   	      <configuration>
+   	         <suiteXmlFiles>
+                  <suiteXmlFile>unit-tests.xml</suiteXmlFile>
+   	         </suiteXmlFiles>
+   	      </configuration>
+   	   </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-report-plugin</artifactId>
+            <executions>
+               <execution>
+                  <id>generate-test-report</id>
+                  <phase>test</phase>
+                  <goals>
+                     <goal>report-only</goal>
+                  </goals>
+               </execution>
+            </executions>
+            <configuration>
+               <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
+               <outputName>test-report</outputName>
+            </configuration>
+         </plugin>
+   	</plugins>
+   </build>
+   
+   <profiles>
+      <profile>
+         <id>incontainer</id>
+         <activation>
+            <property>
+               <name>incontainer</name>
+            </property>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-dependency-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <id>copy</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                           <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                           <stripVersion>true</stripVersion>
+                           <artifactItems>
+                              <artifactItem>
+                                 <groupId>org.jboss.test-harness</groupId>
+                                 <artifactId>jboss-test-harness</artifactId>
+                                 <overWrite>true</overWrite>
+                                 <outputDirectory>${project.build.directory}/classes/lib</outputDirectory>
+                              </artifactItem>
+                              <artifactItem>
+                                 <groupId>javax.el</groupId>
+                                 <artifactId>el-ri</artifactId>
+                                 <overWrite>true</overWrite>
+                                 <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
+                              </artifactItem>
+                           </artifactItems>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-surefire-plugin</artifactId>
+                  <configuration>
+                     <suiteXmlFiles>
+                        <suiteXmlFile>unit-tests.xml</suiteXmlFile>
+                     </suiteXmlFiles>
+                     <systemProperties>
+                        <property>
+                           <name>org.jboss.testharness.standalone</name>
+                           <value>false</value>
+                        </property>
+                        <property>
+                           <name>org.jboss.testharness.container.extraConfigurationDir</name>
+                           <value>../jboss-as</value>
+                        </property>
+                        <property>
+                           <name>org.jboss.testharness.container.forceRestart</name>
+                           <value>true</value>
+                        </property>
+                        <property>
+                           <name>org.jboss.testharness.runIntegrationTests</name>
+                           <value>true</value>
+                        </property>
+                        <property>
+                           <name>org.jboss.testharness.libraryDirectory</name>
+                           <value>target/dependency/lib</value>
+                        </property>
+                        <property>
+                           <name>org.jboss.testharness.outputDirectory</name>
+                           <value>target</value>
+                        </property>
+                     </systemProperties>
+                  </configuration>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+      <profile>
+         <id>write-artifacts-to-disk</id>
+         <activation>
+            <property>
+               <name>dumpArtifacts</name>
+            </property>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.codehaus.mojo</groupId>
+                  <artifactId>exec-maven-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <id>generate-test-artifacts</id>
+                        <phase>generate-test-sources</phase> 
+                        <goals>
+                        <goal>java</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+                  <configuration>
+                     <mainClass>org.jboss.testharness.api.TCK</mainClass>
+                     <classpathScope>test</classpathScope>
+                     <systemProperties>
+                        <systemProperty>
+                           <key>dumpArtifacts</key>
+                           <value>true</value>
+                        </systemProperty>
+                        <systemProperty>
+                           <key>org.jboss.testharness.outputDirectory</key>
+                           <value>target/test-artifacts</value>
+                        </systemProperty>
+                        <systemProperty>
+                           <key>org.jboss.testharness.libraryDirectory</key>
+                           <value>target/dependency/lib</value>
+                        </systemProperty>
+                     </systemProperties>
+                  </configuration>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+   </profiles>
+</project>




More information about the jboss-cvs-commits mailing list