You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Matteo TURRA (JIRA)" <ji...@apache.org> on 2015/01/05 12:14:35 UTC

[jira] [Commented] (MTOMCAT-280) Allow running deploy-only and redeploy-only goals without pom file

    [ https://issues.apache.org/jira/browse/MTOMCAT-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264490#comment-14264490 ] 

Matteo TURRA commented on MTOMCAT-280:
--------------------------------------

I tried this version https://repository.apache.org/content/groups/snapshots/org/apache/tomcat/maven/tomcat7-maven-plugin/2.3-SNAPSHOT/tomcat7-maven-plugin-2.3-20141117.031147-18.jar and I got the " Goal requires a project to execute but there is no POM in this directory" error message.

> 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org