Author: Alex.Kolonitsky
Date: 2010-06-01 08:25:17 -0400 (Tue, 01 Jun 2010)
New Revision: 17447
Modified:
root/examples/core-demo/trunk/pom.xml
Log:
profiles for tomcat6 and jee6
Modified: root/examples/core-demo/trunk/pom.xml
===================================================================
--- root/examples/core-demo/trunk/pom.xml 2010-06-01 12:21:39 UTC (rev 17446)
+++ root/examples/core-demo/trunk/pom.xml 2010-06-01 12:25:17 UTC (rev 17447)
@@ -57,10 +57,31 @@
<profiles>
<profile>
<id>release</id>
-
<build>
<plugins>
<plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>jee6</id>
+ <phase>package</phase>
+ <goals>
+ <goal>war</goal>
+ </goals>
+ <configuration>
+
<webappDirectory>${project.build.directory}/${project.build.finalName}-jee6</webappDirectory>
+ <classifier>jee6</classifier>
+
<packagingExcludes>WEB-INF/lib/jsf-api*,WEB-INF/lib/jsf-impl*,WEB-INF/lib/jta-*</packagingExcludes>
+
<warSourceExcludes>WEB-INF/lib/jsf-api*,WEB-INF/lib/jsf-impl*,WEB-INF/lib/jta-*</warSourceExcludes>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <classifier>tomcat6</classifier>
+ </configuration>
+ </plugin>
+
+ <plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
@@ -90,9 +111,24 @@
</configuration>
</execution>
</executions>
- </plugin>
+ </plugin>
</plugins>
+
+
</build>
</profile>
+ <profile>
+ <id>jee6</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+
<webappDirectory>${project.build.directory}/${project.build.finalName}-jee6</webappDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
\ No newline at end of file
Show replies by date