Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-310

mvn tomcat6:deploy on a pom with a war assemply ==> no war to deploy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: tomcat6, tomcat7
    • Labels:
      None
    • Environment:

      Description

      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

        Attachments

        1. warassembly.xml
          2 kB
          Francis ANDRE
        2. pom.xml
          8 kB
          Francis ANDRE

          Activity

            People

            • Assignee:
              olamy Olivier Lamy
              Reporter:
              francisandre Francis ANDRE
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: