[ https://issues.apache.org/jira/browse/MTOMCAT-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14191032#comment-14191032 ]
Hudson commented on MTOMCAT-280: -------------------------------- SUCCESS: Integrated in TomcatMavenPlugin-mvn3.x #287 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/287/]) [MTOMCAT-280] Allow running deploy-only and redeploy-only goals without pom file Submitted by Dennis Lundberg (olamy: http://svn.apache.org/viewvc/?view=rev&rev=1635637) * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractDeployWarMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployWarMojo.java > Allow running deploy-only and redeploy-only goals without pom file > ------------------------------------------------------------------ > > Key: MTOMCAT-280 > URL: https://issues.apache.org/jira/browse/MTOMCAT-280 > Project: Apache Tomcat Maven Plugin > Issue Type: Improvement > Components: tomcat7 > Reporter: Lauri Lehtinen > Assignee: Olivier Lamy (*$^¨%`£) > Labels: patch > Fix For: 2.3 > > Attachments: MTOMCAT-280.patch > > > Use case is as follows: > 0. A 2-step CI build exists for the sole purpose of deploying any artifact to > a remote tomcat server > 1. Run mvn dependency:get -D... -D... to download a war file from Nexus. > 2. Run mvn tomcat7:deploy -D... -D... to deploy the war file. > I would prefer to not involve a pom file in this. However, if the plugin > doesn't find one, it fail.s > Also, it appears that all the properties I need, except warFile, can be > overriden with -D's. The only way I'm able to make this work is create a > dummy pom file with tomcat7 plugin defined in the build section, and a > <warFile>${warFile}</warFile> in its configuration section. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org