[jboss-maven2-commits] Repository SVN: r34770 - maven2/org/gatein/pc/pc-portlet/2.1.0-CR05.

jboss-maven2-commits at lists.jboss.org jboss-maven2-commits at lists.jboss.org
Fri Feb 26 17:42:17 EST 2010


Author: chris.laprun at jboss.com
Date: 2010-02-26 17:42:17 -0500 (Fri, 26 Feb 2010)
New Revision: 34770

Added:
   maven2/org/gatein/pc/pc-portlet/2.1.0-CR05/pc-portlet-2.1.0-CR05.pom
Log:
Wagon: Adding pc-portlet-2.1.0-CR05.pom to repository

Added: maven2/org/gatein/pc/pc-portlet/2.1.0-CR05/pc-portlet-2.1.0-CR05.pom
===================================================================
--- maven2/org/gatein/pc/pc-portlet/2.1.0-CR05/pc-portlet-2.1.0-CR05.pom	                        (rev 0)
+++ maven2/org/gatein/pc/pc-portlet/2.1.0-CR05/pc-portlet-2.1.0-CR05.pom	2010-02-26 22:42:17 UTC (rev 34770)
@@ -0,0 +1,207 @@
+<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>
+      <groupId>org.gatein.pc</groupId>
+      <artifactId>pc-parent</artifactId>
+      <version>2.1.0-CR05</version>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <artifactId>pc-portlet</artifactId>
+   <packaging>jar</packaging>
+   <name>GateIn - Portlet Container (pc)</name>
+
+   <dependencies>
+      <dependency>
+         <groupId>org.gatein.pc</groupId>
+         <artifactId>pc-api</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>javax.portlet</groupId>
+         <artifactId>portlet-api</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.gatein.wci</groupId>
+         <artifactId>wci-wci</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>javax.servlet.jsp</groupId>
+         <artifactId>jsp-api</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>sun-jaxb</groupId>
+         <artifactId>jaxb-api</artifactId>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>javax.ccpp</groupId>
+         <artifactId>ccpp</artifactId>
+      </dependency>
+
+      <!--TEST SCOPE-->
+      <dependency>
+         <groupId>org.jboss.unit</groupId>
+         <artifactId>jboss-unit-remote</artifactId>
+         <scope>test</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>org.slf4j</groupId>
+         <artifactId>slf4j-simple</artifactId>
+         <scope>test</scope>
+      </dependency>
+
+   </dependencies>
+
+
+   <profiles>
+      <!--By default Annotation Processing Tool related classes need to be disabled-->
+      <profile>
+         <id>default</id>
+         <activation>
+            <activeByDefault>true</activeByDefault>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-compiler-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <goals>
+                           <goal>testCompile</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+                  <configuration>
+                     <testExcludes>
+                        <exclude>org/gatein/pc/test/unit/reports/*</exclude>
+                     </testExcludes>
+                  </configuration>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+
+      <profile>
+         <id>apt</id>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.myfaces.tobago</groupId>
+                  <artifactId>maven-apt-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <phase>package</phase>
+                        <configuration>
+                           <factory>org.gatein.pc.test.unit.reports.TestCaseAPF</factory>
+                           <force>true</force>
+                           <target>1.5</target>
+                           <nocompile>true</nocompile>
+                           <showWarnings>true</showWarnings>
+                        </configuration>
+                        <goals>
+                           <goal>testExecute</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+         <dependencies>
+            <dependency>
+               <groupId>sun.jdk</groupId>
+               <artifactId>tools</artifactId>
+               <version>1.5.0</version>
+               <scope>system</scope>
+               <systemPath>${java.home}/../lib/tools.jar</systemPath>
+            </dependency>
+         </dependencies>
+      </profile>
+
+      <!--On MacOSX the tools.jar should be already in the classpath-->
+      <profile>
+         <id>apt-mac</id>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.myfaces.tobago</groupId>
+                  <artifactId>maven-apt-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <phase>package</phase>
+                        <configuration>
+                           <factory>org.gatein.pc.test.unit.reports.TestCaseAPF</factory>
+                           <force>true</force>
+                           <target>1.5</target>
+                           <nocompile>true</nocompile>
+                           <showWarnings>true</showWarnings>
+                        </configuration>
+                        <goals>
+                           <goal>testExecute</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+
+   </profiles>
+
+
+   <build>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jar-plugin</artifactId>
+            <!--In 2.1 there is http://jira.codehaus.org/browse/MJAR-30-->
+            <!--2.2 should be used but SNAPSHOT is unstable for now-->
+            <version>2.1</version>
+            <executions>
+               <execution>
+                  <goals>
+                     <goal>test-jar</goal>
+                  </goals>
+                  <phase>package</phase>
+                  <configuration>
+                     <includes>
+                        <include>org/**</include>
+                     </includes>
+                  </configuration>
+               </execution>
+            </executions>
+         </plugin>
+         <plugin>
+            <groupId>org.jboss.unit</groupId>
+            <artifactId>jboss-unit-tooling-maven2</artifactId>
+            <executions>
+               <execution>
+                  <phase>test</phase>
+                  <goals>
+                     <goal>execute</goal>
+                  </goals>
+               </execution>
+            </executions>
+            <configuration>
+
+               <!--Uncomment if needed-->
+               <!--<jpda>false</jpda>-->
+               <!--<jpdaPort>9000</jpdaPort>-->
+               <!--<jpdaSuspend>true</jpdaSuspend>-->
+               <!--<failOnError>false</failOnError>-->
+               <!--<assertions>true</assertions>-->
+               <testsuites>
+                  <testsuite>
+                     <config>local-jboss-unit.xml</config>
+                  </testsuite>
+               </testsuites>
+               <reports>
+                  <xml>target/tests/reports/xml</xml>
+                  <html>target/tests/reports/html</html>
+               </reports>
+            </configuration>
+         </plugin>
+
+      </plugins>
+   </build>
+
+</project>



More information about the jboss-maven2-commits mailing list