[
https://issues.apache.org/jira/browse/MTOMCAT-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg updated MTOMCAT-280:
------------------------------------
Attachment: MTOMCAT-280.patch
Here is a proposed patch that adds the ability to specify the war file as a
command line parameter: {{maven.tomcat.warFile}}
Would this solve your problem?
> 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 (*$^¨%`£)
> 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: [email protected]
For additional commands, e-mail: [email protected]