You are viewing a plain text version of this content. The canonical link for it is here.
Posted to photark-commits@incubator.apache.org by lr...@apache.org on 2009/12/29 02:56:32 UTC
svn commit: r894299 - /incubator/photark/trunk/photark-webapp/pom.xml
Author: lresende
Date: Tue Dec 29 02:56:32 2009
New Revision: 894299
URL: http://svn.apache.org/viewvc?rev=894299&view=rev
Log:
Adding configuration to allow using mvn tomcat:deploy.... use a server configuration in your ~/.m2/settings.xml to set admin credentials if needed
Modified:
incubator/photark/trunk/photark-webapp/pom.xml
Modified: incubator/photark/trunk/photark-webapp/pom.xml
URL: http://svn.apache.org/viewvc/incubator/photark/trunk/photark-webapp/pom.xml?rev=894299&r1=894298&r2=894299&view=diff
==============================================================================
--- incubator/photark/trunk/photark-webapp/pom.xml (original)
+++ incubator/photark/trunk/photark-webapp/pom.xml Tue Dec 29 02:56:32 2009
@@ -164,6 +164,18 @@
<build>
<finalName>photark</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <configuration>
+ <!-- Key used for configuring access to server in settings.xml-->
+ <server>tomcat</server>
+ <!-- context for the webapp, as finalName is not being honored -->
+ <path>/photark</path>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>