Author: pete.muir(a)jboss.org
Date: 2008-12-09 04:37:07 -0500 (Tue, 09 Dec 2008)
New Revision: 492
Modified:
ri/trunk/examples/pom.xml
Log:
better build for example
Modified: ri/trunk/examples/pom.xml
===================================================================
--- ri/trunk/examples/pom.xml 2008-12-09 09:36:11 UTC (rev 491)
+++ ri/trunk/examples/pom.xml 2008-12-09 09:37:07 UTC (rev 492)
@@ -20,7 +20,21 @@
<modules>
<module>numberguess</module>
</modules>
-
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+
<warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
<profiles>
<profile>
<activation>
@@ -29,12 +43,10 @@
</property>
</activation>
<build>
- <finalName>webbeans-numberguess</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
- <version>2.0</version>
<configuration>
<webappDirectory>
${jboss.home}/server/default/deploy/${project.build.finalName}.war
@@ -46,6 +58,8 @@
</build>
</profile>
</profiles>
+
+
</project>
Show replies by date