Skip to content

Commit

Permalink
better build for example
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@492 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Dec 9, 2008
1 parent 7a1fcda commit 35087a6
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions examples/pom.xml
Expand Up @@ -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>
Expand All @@ -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
Expand All @@ -46,6 +58,8 @@
</build>
</profile>
</profiles>



</project>

0 comments on commit 35087a6

Please sign in to comment.