WW-1645 add pluto config so you can deploy to pluto -- tested on pluto 1.1.0 -- to build for pluto, run: mvn package -Ppluto

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@518396 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Mitchell
2007-03-15 00:42:26 +00:00
parent 280644f5a4
commit 07eb42c40d
+32 -1
View File
@@ -17,7 +17,38 @@
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/apps/portlet/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/apps/portlet/</url>
</scm>
<profiles>
<profile>
<id>pluto</id>
<build>
<plugins>
<!-- configure maven-war-plugin to use updated web.xml -->
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webXml>${project.build.directory}/pluto-resources/web.xml</webXml>
</configuration>
</plugin>
<!-- bind 'pluto:assemble' goal to 'process-resources' lifecycle -->
<plugin>
<groupId>org.apache.pluto</groupId>
<artifactId>maven-pluto-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>assemble</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>portlet-api</groupId>