Created attachment 34921 [details] war.assembly 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.
Created attachment 34922 [details] pom.xml
[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
Hi, Please consider upgrading your Tomcat instances as Apache Tomcat 6 has reached End of Life. http://tomcat.apache.org/tomcat-60-eol.html Regards, Violeta
Hi That's the same issue for tomcat7-maven-plugin [INFO] <<< tomcat7-maven-plugin:2.2:deploy (default-cli) < package @ smartBasic <<< [INFO] [INFO] --- tomcat7-maven-plugin:2.2:deploy (default-cli) @ smartBasic --- [INFO] Ne traite pas un projet de packaging non war
This is an issue with the Maven plug-in (or your usage of it), not Tomcat. The Maven plug-in uses Jira to track issues. You need to open an issue at https://issues.apache.org/jira/browse/MTOMCAT