Francis ANDRE created MTOMCAT-310:
-------------------------------------

             Summary: mvn tomcat6:deploy on a pom with a war assemply ==> no 
war to deploy
                 Key: MTOMCAT-310
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-310
             Project: Apache Tomcat Maven Plugin
          Issue Type: Bug
          Components: tomcat6, tomcat7
    Affects Versions: 2.2
         Environment: C:\MXW\DEMOS\MI-4.1.1\Demos 
Webapps\smartBasic>C:\ASF\apache-maven-3.2.5\bin\mvn --version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 
2014-12-14T18:29:23+01:00)
Maven home: C:\ASF\apache-maven-3.2.5
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_51\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
            Reporter: Francis ANDRE
            Assignee: Olivier Lamy (*$^¨%`£)
         Attachments: pom.xml, warassembly.xml

Hi

Using a pom.xml that build a war using the maven-assembly-plugin to produce the 
war, the tomcat6-maven-plugin rejects to deploy the war for the reason that the 
pom is not packaged as a war.

[DEBUG] Configuring mojo 
org.apache.tomcat.maven:tomcat6-maven-plugin:2.2:deploy from plugin realm 
ClassRealm[plugin>org
.apache.tomcat.maven:tomcat6-maven-plugin:2.2, parent: 
sun.misc.Launcher$AppClassLoader@631d75b9]
[DEBUG] Configuring mojo 
'org.apache.tomcat.maven:tomcat6-maven-plugin:2.2:deploy' with basic 
configurator -->
[DEBUG]   (f) charset = ISO-8859-1
[DEBUG]   (f) contextFile = C:\MXW\DEMOS\MI-4.1.1\Demos 
Webapps\smartBasic\target\smartBasic-4.1.1\META-INF\context.xml
[DEBUG]   (f) ignorePackaging = false
[DEBUG]   (f) mode = war
[DEBUG]   (f) packaging = pom
[DEBUG]   (f) path = /smartBasic
[DEBUG]   (f) server = Tomcat6
[DEBUG]   (f) update = false
[DEBUG]   (f) url = http://localhost:8080/manager
[DEBUG]   (f) version = 2.2
[DEBUG]   (f) warFile = C:\MXW\DEMOS\MI-4.1.1\Demos 
Webapps\smartBasic\target\smartBasic-4.1.1.war
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@7ec5ab2
[DEBUG] -- end configuration --
[INFO] Ne traite pas un projet de packaging non war



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to