Jetty 9 Undeploy not working

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Jetty 9 Undeploy not working

Lukas Eichler
Hi,

I’m currently testing the maven cargo plugin in version 14.1.13 to deploy a maven build to a remote Jetty 9 server. The deployment goals works fine but when I try to undeploy my war from jetty I the following error " The cargo jetty deployer will not currently delete a war that exists outside of the webapps directory of the server”. 
My war was deployed to JETTY_HOME/webapps but looking at the logs the file was also deployed to file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp which leads to a failure in the undeployment because the Jetty-7+ DeploymentServlet checks if the path of the deployed archive is inside of JETTY_HOME/webapps. 

Is this a intended behaviour or is there a way to prevent this?

Best regards
Lukas

mvn cargo:undeploy –X 

Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00)
Maven home: /usr/local/Cellar/maven/3.2.3/libexec
Java version: 1.8.0_11, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.1", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/local/Cellar/maven/3.2.3/libexec/conf/settings.xml
[DEBUG] Reading user settings from /Users/leichler/.m2/settings.xml
[DEBUG] Using local repository at /Users/leichler/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/leichler/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project de.maredit:hireme:war:0.1-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix cargo from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix cargo to org.codehaus.cargo:cargo-maven2-plugin from POM de.maredit:hireme:war:0.1-SNAPSHOT
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: de.maredit:hireme:war:0.1-SNAPSHOT
[DEBUG] Tasks:   [cargo:deploy]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building hireme 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix cargo from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix cargo to org.codehaus.cargo:cargo-maven2-plugin from POM de.maredit:hireme:war:0.1-SNAPSHOT
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       de.maredit:hireme:0.1-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [test]
[DEBUG] Repositories (dependencies): [maven-central (http://repo1.maven.org/maven2/, releases+snapshots), central (https://repo.maven.apache.org/maven2, releases)]
[DEBUG] Repositories (plugins)     : [central (http://repo1.maven.apache.org/maven2/, releases+snapshots)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <configuration>
    <type>runtime</type>
    <properties>
      <cargo.hostname>testserver</cargo.hostname>
      <cargo.servlet.port>8080</cargo.servlet.port>
    </properties>
  </configuration>
  <container>
    <containerId>jetty9x</containerId>
    <type>remote</type>
    <home>/opt/jetty</home>
  </container>
  <deployables>
    <deployable>
      <groupId>de.leichler</groupId>
      <artifactId>test</artifactId>
      <type>war</type>
      <properties>
        <context>/test</context>
      </properties>
    </deployable>
  </deployables>
  <deployer>
    <type>remote</type>
  </deployer>
  <localRepository>${localRepository}</localRepository>
  <pluginVersion>${plugin.version}</pluginVersion>
  <project>${project}</project>
  <repositories>${project.remoteArtifactRepositories}</repositories>
  <settings>${settings}</settings>
  <skip default-value="false">${cargo.maven.skip}</skip>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=1, ConflictMarker.nodeCount=269, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=135, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=16, ConflictResolver.conflictItemCount=222, DefaultDependencyCollector.collectTime=674, DefaultDependencyCollector.transformTime=22}
[DEBUG] de.maredit:hireme:war:0.1-SNAPSHOT
[DEBUG]    org.webjars:bootstrap:jar:3.3.2:compile
[DEBUG]    org.webjars:jquery:jar:2.1.3:compile
[DEBUG]    org.webjars:angularjs:jar:1.3.8:compile
[DEBUG]    org.webjars.bower:angular-route:jar:1.3.15:compile
[DEBUG]       org.webjars.bower:angular:jar:1.3.15:compile
[DEBUG]    org.webjars.bower:adminlte:jar:2.0.5:compile
[DEBUG]    org.ninjaframework:ninja-standalone:jar:5.1.0:compile
[DEBUG]       org.ninjaframework:ninja-servlet:jar:5.1.0:compile
[DEBUG]          com.google.inject.extensions:guice-servlet:jar:4.0-beta5:compile
[DEBUG]       org.eclipse.jetty:jetty-server:jar:9.2.10.v20150310:compile
[DEBUG]          org.eclipse.jetty:jetty-http:jar:9.2.10.v20150310:compile
[DEBUG]          org.eclipse.jetty:jetty-io:jar:9.2.10.v20150310:compile
[DEBUG]       org.eclipse.jetty:jetty-servlet:jar:9.2.10.v20150310:compile
[DEBUG]          org.eclipse.jetty:jetty-security:jar:9.2.10.v20150310:compile
[DEBUG]       org.eclipse.jetty:jetty-xml:jar:9.2.10.v20150310:compile
[DEBUG]          org.eclipse.jetty:jetty-util:jar:9.2.10.v20150310:compile
[DEBUG]       javax.servlet:javax.servlet-api:jar:3.1.0:compile
[DEBUG]    org.ninjaframework:ninja-jaxy-routes:jar:5.1.0:compile
[DEBUG]       org.ninjaframework:ninja-core:jar:5.1.0:compile
[DEBUG]          org.ocpsoft.prettytime:prettytime:jar:3.2.1.Final:compile
[DEBUG]          joda-time:joda-time:jar:2.3:compile
[DEBUG]          com.google.inject:guice:jar:4.0-beta5:compile
[DEBUG]             javax.inject:javax.inject:jar:1:compile
[DEBUG]             aopalliance:aopalliance:jar:1.0:compile
[DEBUG]          com.google.inject.extensions:guice-assistedinject:jar:4.0-beta5:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-core:jar:2.4.3:compile
[DEBUG]          com.fasterxml.jackson.module:jackson-module-afterburner:jar:2.4.3:compile
[DEBUG]             com.fasterxml.jackson.core:jackson-databind:jar:2.4.3:compile
[DEBUG]          org.freemarker:freemarker-gae:jar:2.3.22:compile
[DEBUG]          com.google.guava:guava:jar:18.0:compile
[DEBUG]          commons-codec:commons-codec:jar:1.9:compile
[DEBUG]          org.mindrot:jbcrypt:jar:0.3m:compile
[DEBUG]          ch.qos.logback:logback-classic:jar:1.1.2:compile
[DEBUG]          org.slf4j:jcl-over-slf4j:jar:1.7.7:compile
[DEBUG]          org.slf4j:log4j-over-slf4j:jar:1.7.7:compile
[DEBUG]          commons-io:commons-io:jar:2.4:compile
[DEBUG]          org.apache.commons:commons-lang3:jar:3.3.2:compile
[DEBUG]          org.apache.commons:commons-email:jar:1.3.3:compile
[DEBUG]             javax.mail:mail:jar:1.4.5:compile
[DEBUG]          commons-configuration:commons-configuration:jar:1.10:compile
[DEBUG]          commons-fileupload:commons-fileupload:jar:1.3.1:compile
[DEBUG]          org.hibernate:hibernate-validator:jar:4.3.1.Final:compile
[DEBUG]             javax.validation:validation-api:jar:1.0.0.GA:compile
[DEBUG]          com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.4.3:compile
[DEBUG]             com.fasterxml.jackson.core:jackson-annotations:jar:2.4.0:compile
[DEBUG]             com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.4.3:compile
[DEBUG]             org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[DEBUG]          net.sf.ehcache.internal:ehcache-core:jar:2.8.5:compile
[DEBUG]             org.terracotta.internal:statistics:jar:1.0.1:compile
[DEBUG]          net.spy:spymemcached:jar:2.11.4:compile
[DEBUG]          com.googlecode.flyway:flyway-core:jar:2.3.1:compile
[DEBUG]          com.google.inject.extensions:guice-persist:jar:4.0-beta5:compile
[DEBUG]          org.hibernate:hibernate-entitymanager:jar:4.3.5.Final:compile
[DEBUG]             org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
[DEBUG]             org.hibernate:hibernate-core:jar:4.3.5.Final:compile
[DEBUG]                antlr:antlr:jar:2.7.7:compile
[DEBUG]                org.jboss:jandex:jar:1.1.0.Final:compile
[DEBUG]             dom4j:dom4j:jar:1.6.1:compile
[DEBUG]             org.hibernate.common:hibernate-commons-annotations:jar:4.0.4.Final:compile
[DEBUG]             org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[DEBUG]             org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[DEBUG]          org.hibernate:hibernate-c3p0:jar:4.3.5.Final:compile
[DEBUG]             org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
[DEBUG]             com.mchange:c3p0:jar:0.9.2.1:compile
[DEBUG]                com.mchange:mchange-commons-java:jar:0.2.3.4:compile
[DEBUG]       org.reflections:reflections:jar:0.9.9:compile
[DEBUG]          org.javassist:javassist:jar:3.18.2-GA:compile
[DEBUG]          com.google.code.findbugs:annotations:jar:2.0.1:compile
[DEBUG]    de.svenkubiak:ninja-mongodb-module:jar:1.5.2:compile
[DEBUG]       org.mongodb.morphia:morphia:jar:0.109:compile
[DEBUG]          com.thoughtworks.proxytoys:proxytoys:jar:1.0:compile
[DEBUG]          org.mongodb.morphia:morphia-util:jar:0.109:compile
[DEBUG]       org.mongodb:mongo-java-driver:jar:2.12.4:compile
[DEBUG]       de.svenkubiak:embedded-mongodb:jar:1.3.0:compile
[DEBUG]          de.flapdoodle.embed:de.flapdoodle.embed.mongo:jar:1.46.4:compile
[DEBUG]             de.flapdoodle.embed:de.flapdoodle.embed.process:jar:1.40.1:compile
[DEBUG]                net.java.dev.jna:jna:jar:4.0.0:compile
[DEBUG]                net.java.dev.jna:jna-platform:jar:4.0.0:compile
[DEBUG]                org.apache.commons:commons-compress:jar:1.3:compile
[DEBUG]          ch.qos.logback:logback-core:jar:1.1.2:compile
[DEBUG]          org.slf4j:slf4j-api:jar:1.7.9:compile
[DEBUG]    org.ninjaframework:ninja-test-utilities:jar:5.1.0:test
[DEBUG]       junit:junit:jar:4.11:test
[DEBUG]          org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]       org.mockito:mockito-core:jar:1.9.5:test
[DEBUG]          org.objenesis:objenesis:jar:1.0:test
[DEBUG]       org.fluentlenium:fluentlenium-core:jar:0.10.2:test
[DEBUG]          org.seleniumhq.selenium:selenium-java:jar:2.41.0:test
[DEBUG]             org.seleniumhq.selenium:selenium-chrome-driver:jar:2.41.0:test
[DEBUG]                org.seleniumhq.selenium:selenium-remote-driver:jar:2.41.0:test
[DEBUG]                   cglib:cglib-nodep:jar:2.1_3:test
[DEBUG]                   org.json:json:jar:20080701:test
[DEBUG]             org.seleniumhq.selenium:selenium-htmlunit-driver:jar:2.41.0:test
[DEBUG]                net.sourceforge.htmlunit:htmlunit:jar:2.13:test
[DEBUG]                   xalan:xalan:jar:2.7.1:test
[DEBUG]                      xalan:serializer:jar:2.7.1:test
[DEBUG]                   commons-collections:commons-collections:jar:3.2.1:test
[DEBUG]                   net.sourceforge.htmlunit:htmlunit-core-js:jar:2.13:test
[DEBUG]                   xerces:xercesImpl:jar:2.11.0:test
[DEBUG]                      xml-apis:xml-apis:jar:1.4.01:test
[DEBUG]                   net.sourceforge.nekohtml:nekohtml:jar:1.9.19:test
[DEBUG]                   net.sourceforge.cssparser:cssparser:jar:0.9.11:test
[DEBUG]                      org.w3c.css:sac:jar:1.3:test
[DEBUG]                   org.eclipse.jetty:jetty-websocket:jar:8.1.12.v20130726:test
[DEBUG]             org.seleniumhq.selenium:selenium-firefox-driver:jar:2.41.0:test
[DEBUG]                org.apache.commons:commons-exec:jar:1.1:test
[DEBUG]             org.seleniumhq.selenium:selenium-ie-driver:jar:2.41.0:test
[DEBUG]                net.java.dev.jna:platform:jar:3.4.0:test
[DEBUG]             org.seleniumhq.selenium:selenium-safari-driver:jar:2.41.0:test
[DEBUG]             org.seleniumhq.selenium:selenium-support:jar:2.41.0:test
[DEBUG]                org.seleniumhq.selenium:selenium-api:jar:2.41.0:test
[DEBUG]             org.webbitserver:webbit:jar:0.4.14:test
[DEBUG]                io.netty:netty:jar:3.5.2.Final:test
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.3.4:test
[DEBUG]          org.apache.httpcomponents:httpcore:jar:4.3.2:test
[DEBUG]       org.apache.httpcomponents:httpmime:jar:4.3.4:test
[DEBUG]       org.doctester:doctester-core:jar:1.1.6:test
[DEBUG]       com.devbliss.doctest:doctest:jar:0.7.0:test
[DEBUG]          com.google.code.gson:gson:jar:2.2.2:test
[DEBUG]          de.devbliss.apitester:apitester:jar:0.7.0:test
[DEBUG]             com.fasterxml:jackson-xml-databind:jar:0.6.2:test
[DEBUG]                org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:test
[DEBUG]                   org.codehaus.jackson:jackson-core-asl:jar:1.9.2:test
[DEBUG]                org.codehaus.jackson:jackson-xc:jar:1.9.2:test
[DEBUG]          org.json:org.json:jar:chargebee-1.0:test
[DEBUG]          commons-lang:commons-lang:jar:2.6:compile
[DEBUG]          javax.activation:activation:jar:1.1.1:compile
[DEBUG]    com.github.fakemongo:fongo:jar:1.5.7:compile
[DEBUG]       com.github.davidmoten:geo:jar:0.6.6:compile
[DEBUG]       rhino:js:jar:1.7R2:compile
[DEBUG]       com.vividsolutions:jts:jar:1.13:compile
[DEBUG]    org.assertj:assertj-core:jar:1.7.1:test
[INFO] 
[INFO] --- cargo-maven2-plugin:1.4.13:deploy (default-cli) @ hireme ---
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=63, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=36, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1, ConflictResolver.conflictItemCount=58, DefaultDependencyCollector.collectTime=100, DefaultDependencyCollector.transformTime=1}
[DEBUG] org.codehaus.cargo:cargo-maven2-plugin:jar:1.4.13:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.apache.maven:maven-settings:jar:2.0:compile
[DEBUG]    org.apache.maven:maven-archiver:jar:2.4.1:compile
[DEBUG]       org.codehaus.plexus:plexus-archiver:jar:1.0:compile
[DEBUG]          org.codehaus.plexus:plexus-io:jar:1.0:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.13:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.4.7:compile
[DEBUG]    org.codehaus.cargo:cargo-core-api-generic:jar:1.4.13:compile
[DEBUG]       commons-discovery:commons-discovery:jar:0.4:compile
[DEBUG]          commons-logging:commons-logging:jar:1.0.4:compile
[DEBUG]       org.codehaus.cargo:cargo-core-api-container:jar:1.4.13:compile
[DEBUG]          org.codehaus.cargo:cargo-core-api-module:jar:1.4.13:compile
[DEBUG]             jdom:jdom:jar:1.0:compile
[DEBUG]          org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile
[DEBUG]    org.codehaus.cargo:cargo-documentation:jar:1.4.13:compile
[DEBUG]    org.codehaus.cargo:cargo-daemon-client:jar:1.4.13:compile
[DEBUG]       org.codehaus.cargo:cargo-core-api-util:jar:1.4.13:compile
[DEBUG]          dom4j:dom4j:jar:1.4:compile
[DEBUG]             xml-apis:xml-apis:jar:1.0.b2:compile
[DEBUG]             jaxen:jaxen:jar:1.0-FCS:compile
[DEBUG]             saxpath:saxpath:jar:1.0-FCS:compile
[DEBUG]             msv:msv:jar:20020414:compile
[DEBUG]             relaxngDatatype:relaxngDatatype:jar:20020414:compile
[DEBUG]             isorelax:isorelax:jar:20020414:compile
[DEBUG]          org.apache.ant:ant:jar:1.7.1:compile
[DEBUG]             org.apache.ant:ant-launcher:jar:1.7.1:compile
[DEBUG] Created new class realm plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.13
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.13
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.13
[DEBUG]   Included: org.codehaus.cargo:cargo-maven2-plugin:jar:1.4.13
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.apache.maven:maven-archiver:jar:2.4.1
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.13
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.4.7
[DEBUG]   Included: org.codehaus.cargo:cargo-core-api-generic:jar:1.4.13
[DEBUG]   Included: commons-discovery:commons-discovery:jar:0.4
[DEBUG]   Included: commons-logging:commons-logging:jar:1.0.4
[DEBUG]   Included: org.codehaus.cargo:cargo-core-api-container:jar:1.4.13
[DEBUG]   Included: org.codehaus.cargo:cargo-core-api-module:jar:1.4.13
[DEBUG]   Included: jdom:jdom:jar:1.0
[DEBUG]   Included: org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1
[DEBUG]   Included: org.codehaus.cargo:cargo-documentation:jar:1.4.13
[DEBUG]   Included: org.codehaus.cargo:cargo-daemon-client:jar:1.4.13
[DEBUG]   Included: org.codehaus.cargo:cargo-core-api-util:jar:1.4.13
[DEBUG]   Included: dom4j:dom4j:jar:1.4
[DEBUG]   Included: xml-apis:xml-apis:jar:1.0.b2
[DEBUG]   Included: jaxen:jaxen:jar:1.0-FCS
[DEBUG]   Included: saxpath:saxpath:jar:1.0-FCS
[DEBUG]   Included: msv:msv:jar:20020414
[DEBUG]   Included: relaxngDatatype:relaxngDatatype:jar:20020414
[DEBUG]   Included: isorelax:isorelax:jar:20020414
[DEBUG]   Included: org.apache.ant:ant:jar:1.7.1
[DEBUG]   Included: org.apache.ant:ant-launcher:jar:1.7.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0
[DEBUG] Configuring mojo org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy from plugin realm ClassRealm[plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.13, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
[DEBUG] Configuring mojo 'org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy' with basic configurator -->
[DEBUG]   (f) type = runtime
[DEBUG]   (s) properties = {cargo.hostname=testserver, cargo.servlet.port=8080}
[DEBUG]   (f) configuration = org.codehaus.cargo.maven2.configuration.Configuration@1e53135d
[DEBUG]   (s) containerId = jetty9x
[DEBUG]   (f) type = remote
[DEBUG]   (s) home = /opt/jetty
[DEBUG]   (f) container = org.codehaus.cargo.maven2.configuration.Container@15deb1dc
[DEBUG]   (s) groupId = de.maredit
[DEBUG]   (s) artifactId = hireme
[DEBUG]   (s) type = war
[DEBUG]   (s) properties = {context=/test}
[DEBUG]   (f) deployables = [AbstractDependency{ groupId=de.leichler, artifactId=test, type=war, classifier=null }]
[DEBUG]   (s) type = remote
[DEBUG]   (f) deployer = org.codehaus.cargo.maven2.configuration.Deployer@33d05366
[DEBUG]   (f) localRepository =       id: local
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => always]

[DEBUG]   (f) pluginVersion = 1.4.13
[DEBUG]   (f) project = MavenProject: de.maredit:hireme:0.1-SNAPSHOT @ /Users/leichler/IdeaProjects/test/pom.xml
[DEBUG]   (f) repositories = [
      id: maven-central
   layout: default
snapshots: [enabled => true, update => daily]
 releases: [enabled => true, update => daily]
,       id: central
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
]
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@6a1ebcff
[DEBUG]   (f) skip = false
[DEBUG] -- end configuration --
[DEBUG] dummy:dummy:pom:0.1 (selected for null)
[DEBUG]   org.codehaus.cargo:cargo-core-container-jetty:jar:1.4.13 (selected for null)
[DEBUG]     org.codehaus.cargo:cargo-core-api-generic:jar:1.4.13:compile (selected for compile)
[DEBUG]       commons-discovery:commons-discovery:jar:0.4:compile (selected for compile)
[DEBUG]         commons-logging:commons-logging:jar:1.0.4:compile (selected for compile)
[DEBUG]       org.codehaus.cargo:cargo-core-api-container:jar:1.4.13:compile (selected for compile)
[DEBUG]         org.codehaus.cargo:cargo-core-api-module:jar:1.4.13:compile (selected for compile)
[DEBUG]           jdom:jdom:jar:1.0:compile (selected for compile)
[DEBUG]           org.codehaus.cargo:cargo-core-api-util:jar:1.4.13:compile (selected for compile)
[DEBUG]             dom4j:dom4j:jar:1.4:compile (selected for compile)
[DEBUG]               xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG]               jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
[DEBUG]               saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
[DEBUG]               msv:msv:jar:20020414:compile (selected for compile)
[DEBUG]               relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
[DEBUG]               isorelax:isorelax:jar:20020414:compile (selected for compile)
[DEBUG]             org.apache.ant:ant:jar:1.7.1:compile (selected for compile)
[DEBUG]               org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile)
[DEBUG]         org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile (selected for compile)
[DEBUG]     xmlunit:xmlunit:jar:1.2:test (selected for test)
[DEBUG]     org.codehaus.cargo:cargo-core-api-container:jar:1.4.13:compile (selected for compile)
[DEBUG]       org.codehaus.cargo:cargo-core-api-module:jar:1.4.13:compile (selected for compile)
[DEBUG]         jdom:jdom:jar:1.0:compile (selected for compile)
[DEBUG]         org.codehaus.cargo:cargo-core-api-util:jar:1.4.13:compile (selected for compile)
[DEBUG]           dom4j:dom4j:jar:1.4:compile (selected for compile)
[DEBUG]             xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG]             jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
[DEBUG]             saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
[DEBUG]             msv:msv:jar:20020414:compile (selected for compile)
[DEBUG]             relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
[DEBUG]             isorelax:isorelax:jar:20020414:compile (selected for compile)
[DEBUG]           org.apache.ant:ant:jar:1.7.1:compile (selected for compile)
[DEBUG]             org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile)
[DEBUG]       org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile (selected for compile)
[DEBUG]     org.codehaus.cargo:cargo-core-api-container:test-jar:tests:1.4.13:test (selected for test)
[DEBUG]     org.codehaus.cargo:cargo-core-api-util:test-jar:tests:1.4.13:test (selected for test)
[DEBUG]       dom4j:dom4j:jar:1.4:test (setting artifactScope to: compile)
[DEBUG]       org.apache.ant:ant:jar:1.7.1:test (setting artifactScope to: compile)
[DEBUG]     junit:junit:jar:3.8.1:test (selected for test)
[DEBUG]     jmock:jmock:jar:1.2.0:test (selected for test)
[DEBUG]     jmock:jmock-cglib:jar:1.2.0:test (selected for test)
[DEBUG]       cglib:cglib-nodep:jar:2.1_3:test (selected for test)
[DEBUG]     commons-vfs:commons-vfs:jar:1.0:test (selected for test)
[DEBUG]       commons-logging:commons-logging:jar:1.0.4:test (setting artifactScope to: compile)
[DEBUG] [edDeployerDeployMojo] Resolved artifact and dependencies: [file:/Users/leichler/.m2/repository/org/codehaus/cargo/cargo-core-container-jetty/1.4.13/cargo-core-container-jetty-1.4.13.jar]
[INFO] [edDeployerDeployMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-jetty:jar:1.4.13 for container jetty9x
[DEBUG] Performing deployment action into [Jetty 9.x Remote]...
[DEBUG] Initial deployable values: groupId = [de.maredit], artifactId = [hireme], type = [war], location = [null]
[DEBUG] Searching for an artifact that matches [de.maredit:hireme:war:null]...
[DEBUG] Checking artifact [de.maredit:hireme:war:null]...
[DEBUG] Computed deployable values: groupId = [de.maredit], artifactId = [hireme], classifier = [null], type = [war], location = [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]
[DEBUG] Setting deployable property [context]:[/test] for [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]
[DEBUG] Invoking setter method public synchronized void org.codehaus.cargo.container.deployable.WAR.setContext(java.lang.String) for deployable org.codehaus.cargo.container.deployable.WAR[test-0.1-SNAPSHOT.war] with argument /test
[DEBUG] Deploying [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war] ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.054 s
[INFO] Finished at: 2015-04-23T16:54:08+02:00
[INFO] Final Memory: 12M/310M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy (default-cli) on project test: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy failed: Failed to deploy [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]: Response when calling http://testserver:8080/cargo-jetty-deployer/deploy?path=/test was: Error - The webapp context path is already in use -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy (default-cli) on project hireme: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy failed: Failed to deploy [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy failed: Failed to deploy [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 19 more
Caused by: org.codehaus.cargo.container.ContainerException: Failed to deploy [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]
        at org.codehaus.cargo.container.jetty.JettyRemoteDeployer.deploy(JettyRemoteDeployer.java:126)
        at org.codehaus.cargo.maven2.DeployerDeployMojo.performDeployerActionOnSingleDeployable(DeployerDeployMojo.java:56)
        at org.codehaus.cargo.maven2.AbstractDeployerMojo.performDeployerActionOnAllDeployables(AbstractDeployerMojo.java:166)
        at org.codehaus.cargo.maven2.AbstractDeployerMojo.doExecute(AbstractDeployerMojo.java:97)
        at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:435)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
        ... 20 more
Caused by: org.codehaus.cargo.container.ContainerException: Response when calling http://testserver:8080/cargo-jetty-deployer/deploy?path=/test was: Error - The webapp context path is already in use

        at org.codehaus.cargo.container.jetty.JettyRemoteDeployer.deploy(JettyRemoteDeployer.java:119)
        ... 25 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Jetty log

2015-04-23 16:35:43.173:INFO:oejsh.ContextHandler:Scanner-0: Started o.e.j.w.WebAppContext@48f60602{/test,[file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/angular-route-1.3.15.jar!/META-INF/resources, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/angular-1.3.15.jar!/META-INF/resources, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/bootstrap-3.3.2.jar!/META-INF/resources, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/adminlte-2.0.5.jar!/META-INF/resources, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/jquery-2.1.3.jar!/META-INF/resources, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/angularjs-1.3.8.jar!/META-INF/resources],AVAILABLE}{/test.war}

Reply | Threaded
Open this post in threaded view
|

Re: Jetty 9 Undeploy not working

S. Ali Tokmen
Hi Lukas

You found a bug indeed! I've put it as https://codehaus-cargo.atlassian.net/browse/CARGO-1315 and will be fixed in our next release.

If you are in a hurry, feel free to build it yourself via https://codehaus-cargo.github.io/cargo/Building.html

Thank you

S. Ali Tokmen
http://ali.tokmen.com/
http://contact.ali.tokmen.com/
On 23/04/15 17:01, Lukas Eichler wrote:
Hi,

I’m currently testing the maven cargo plugin in version 14.1.13 to deploy a maven build to a remote Jetty 9 server. The deployment goals works fine but when I try to undeploy my war from jetty I the following error " The cargo jetty deployer will not currently delete a war that exists outside of the webapps directory of the server”. 
My war was deployed to JETTY_HOME/webapps but looking at the logs the file was also deployed to file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp which leads to a failure in the undeployment because the Jetty-7+ DeploymentServlet checks if the path of the deployed archive is inside of JETTY_HOME/webapps. 

Is this a intended behaviour or is there a way to prevent this?

Best regards
Lukas

mvn cargo:undeploy –X 

Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00)
Maven home: /usr/local/Cellar/maven/3.2.3/libexec
Java version: 1.8.0_11, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.1", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/local/Cellar/maven/3.2.3/libexec/conf/settings.xml
[DEBUG] Reading user settings from /Users/leichler/.m2/settings.xml
[DEBUG] Using local repository at /Users/leichler/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/leichler/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project de.maredit:hireme:war:0.1-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix cargo from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix cargo to org.codehaus.cargo:cargo-maven2-plugin from POM de.maredit:hireme:war:0.1-SNAPSHOT
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: de.maredit:hireme:war:0.1-SNAPSHOT
[DEBUG] Tasks:   [cargo:deploy]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building hireme 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix cargo from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix cargo to org.codehaus.cargo:cargo-maven2-plugin from POM de.maredit:hireme:war:0.1-SNAPSHOT
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       de.maredit:hireme:0.1-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [test]
[DEBUG] Repositories (dependencies): [maven-central (http://repo1.maven.org/maven2/, releases+snapshots), central (https://repo.maven.apache.org/maven2, releases)]
[DEBUG] Repositories (plugins)     : [central (http://repo1.maven.apache.org/maven2/, releases+snapshots)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <configuration>
    <type>runtime</type>
    <properties>
      <cargo.hostname>testserver</cargo.hostname>
      <cargo.servlet.port>8080</cargo.servlet.port>
    </properties>
  </configuration>
  <container>
    <containerId>jetty9x</containerId>
    <type>remote</type>
    <home>/opt/jetty</home>
  </container>
  <deployables>
    <deployable>
      <groupId>de.leichler</groupId>
      <artifactId>test</artifactId>
      <type>war</type>
      <properties>
        <context>/test</context>
      </properties>
    </deployable>
  </deployables>
  <deployer>
    <type>remote</type>
  </deployer>
  <localRepository>${localRepository}</localRepository>
  <pluginVersion>${plugin.version}</pluginVersion>
  <project>${project}</project>
  <repositories>${project.remoteArtifactRepositories}</repositories>
  <settings>${settings}</settings>
  <skip default-value="false">${cargo.maven.skip}</skip>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=1, ConflictMarker.nodeCount=269, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=135, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=16, ConflictResolver.conflictItemCount=222, DefaultDependencyCollector.collectTime=674, DefaultDependencyCollector.transformTime=22}
[DEBUG] de.maredit:hireme:war:0.1-SNAPSHOT
[DEBUG]    org.webjars:bootstrap:jar:3.3.2:compile
[DEBUG]    org.webjars:jquery:jar:2.1.3:compile
[DEBUG]    org.webjars:angularjs:jar:1.3.8:compile
[DEBUG]    org.webjars.bower:angular-route:jar:1.3.15:compile
[DEBUG]       org.webjars.bower:angular:jar:1.3.15:compile
[DEBUG]    org.webjars.bower:adminlte:jar:2.0.5:compile
[DEBUG]    org.ninjaframework:ninja-standalone:jar:5.1.0:compile
[DEBUG]       org.ninjaframework:ninja-servlet:jar:5.1.0:compile
[DEBUG]          com.google.inject.extensions:guice-servlet:jar:4.0-beta5:compile
[DEBUG]       org.eclipse.jetty:jetty-server:jar:9.2.10.v20150310:compile
[DEBUG]          org.eclipse.jetty:jetty-http:jar:9.2.10.v20150310:compile
[DEBUG]          org.eclipse.jetty:jetty-io:jar:9.2.10.v20150310:compile
[DEBUG]       org.eclipse.jetty:jetty-servlet:jar:9.2.10.v20150310:compile
[DEBUG]          org.eclipse.jetty:jetty-security:jar:9.2.10.v20150310:compile
[DEBUG]       org.eclipse.jetty:jetty-xml:jar:9.2.10.v20150310:compile
[DEBUG]          org.eclipse.jetty:jetty-util:jar:9.2.10.v20150310:compile
[DEBUG]       javax.servlet:javax.servlet-api:jar:3.1.0:compile
[DEBUG]    org.ninjaframework:ninja-jaxy-routes:jar:5.1.0:compile
[DEBUG]       org.ninjaframework:ninja-core:jar:5.1.0:compile
[DEBUG]          org.ocpsoft.prettytime:prettytime:jar:3.2.1.Final:compile
[DEBUG]          joda-time:joda-time:jar:2.3:compile
[DEBUG]          com.google.inject:guice:jar:4.0-beta5:compile
[DEBUG]             javax.inject:javax.inject:jar:1:compile
[DEBUG]             aopalliance:aopalliance:jar:1.0:compile
[DEBUG]          com.google.inject.extensions:guice-assistedinject:jar:4.0-beta5:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-core:jar:2.4.3:compile
[DEBUG]          com.fasterxml.jackson.module:jackson-module-afterburner:jar:2.4.3:compile
[DEBUG]             com.fasterxml.jackson.core:jackson-databind:jar:2.4.3:compile
[DEBUG]          org.freemarker:freemarker-gae:jar:2.3.22:compile
[DEBUG]          com.google.guava:guava:jar:18.0:compile
[DEBUG]          commons-codec:commons-codec:jar:1.9:compile
[DEBUG]          org.mindrot:jbcrypt:jar:0.3m:compile
[DEBUG]          ch.qos.logback:logback-classic:jar:1.1.2:compile
[DEBUG]          org.slf4j:jcl-over-slf4j:jar:1.7.7:compile
[DEBUG]          org.slf4j:log4j-over-slf4j:jar:1.7.7:compile
[DEBUG]          commons-io:commons-io:jar:2.4:compile
[DEBUG]          org.apache.commons:commons-lang3:jar:3.3.2:compile
[DEBUG]          org.apache.commons:commons-email:jar:1.3.3:compile
[DEBUG]             javax.mail:mail:jar:1.4.5:compile
[DEBUG]          commons-configuration:commons-configuration:jar:1.10:compile
[DEBUG]          commons-fileupload:commons-fileupload:jar:1.3.1:compile
[DEBUG]          org.hibernate:hibernate-validator:jar:4.3.1.Final:compile
[DEBUG]             javax.validation:validation-api:jar:1.0.0.GA:compile
[DEBUG]          com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.4.3:compile
[DEBUG]             com.fasterxml.jackson.core:jackson-annotations:jar:2.4.0:compile
[DEBUG]             com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.4.3:compile
[DEBUG]             org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[DEBUG]          net.sf.ehcache.internal:ehcache-core:jar:2.8.5:compile
[DEBUG]             org.terracotta.internal:statistics:jar:1.0.1:compile
[DEBUG]          net.spy:spymemcached:jar:2.11.4:compile
[DEBUG]          com.googlecode.flyway:flyway-core:jar:2.3.1:compile
[DEBUG]          com.google.inject.extensions:guice-persist:jar:4.0-beta5:compile
[DEBUG]          org.hibernate:hibernate-entitymanager:jar:4.3.5.Final:compile
[DEBUG]             org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
[DEBUG]             org.hibernate:hibernate-core:jar:4.3.5.Final:compile
[DEBUG]                antlr:antlr:jar:2.7.7:compile
[DEBUG]                org.jboss:jandex:jar:1.1.0.Final:compile
[DEBUG]             dom4j:dom4j:jar:1.6.1:compile
[DEBUG]             org.hibernate.common:hibernate-commons-annotations:jar:4.0.4.Final:compile
[DEBUG]             org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[DEBUG]             org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[DEBUG]          org.hibernate:hibernate-c3p0:jar:4.3.5.Final:compile
[DEBUG]             org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
[DEBUG]             com.mchange:c3p0:jar:0.9.2.1:compile
[DEBUG]                com.mchange:mchange-commons-java:jar:0.2.3.4:compile
[DEBUG]       org.reflections:reflections:jar:0.9.9:compile
[DEBUG]          org.javassist:javassist:jar:3.18.2-GA:compile
[DEBUG]          com.google.code.findbugs:annotations:jar:2.0.1:compile
[DEBUG]    de.svenkubiak:ninja-mongodb-module:jar:1.5.2:compile
[DEBUG]       org.mongodb.morphia:morphia:jar:0.109:compile
[DEBUG]          com.thoughtworks.proxytoys:proxytoys:jar:1.0:compile
[DEBUG]          org.mongodb.morphia:morphia-util:jar:0.109:compile
[DEBUG]       org.mongodb:mongo-java-driver:jar:2.12.4:compile
[DEBUG]       de.svenkubiak:embedded-mongodb:jar:1.3.0:compile
[DEBUG]          de.flapdoodle.embed:de.flapdoodle.embed.mongo:jar:1.46.4:compile
[DEBUG]             de.flapdoodle.embed:de.flapdoodle.embed.process:jar:1.40.1:compile
[DEBUG]                net.java.dev.jna:jna:jar:4.0.0:compile
[DEBUG]                net.java.dev.jna:jna-platform:jar:4.0.0:compile
[DEBUG]                org.apache.commons:commons-compress:jar:1.3:compile
[DEBUG]          ch.qos.logback:logback-core:jar:1.1.2:compile
[DEBUG]          org.slf4j:slf4j-api:jar:1.7.9:compile
[DEBUG]    org.ninjaframework:ninja-test-utilities:jar:5.1.0:test
[DEBUG]       junit:junit:jar:4.11:test
[DEBUG]          org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]       org.mockito:mockito-core:jar:1.9.5:test
[DEBUG]          org.objenesis:objenesis:jar:1.0:test
[DEBUG]       org.fluentlenium:fluentlenium-core:jar:0.10.2:test
[DEBUG]          org.seleniumhq.selenium:selenium-java:jar:2.41.0:test
[DEBUG]             org.seleniumhq.selenium:selenium-chrome-driver:jar:2.41.0:test
[DEBUG]                org.seleniumhq.selenium:selenium-remote-driver:jar:2.41.0:test
[DEBUG]                   cglib:cglib-nodep:jar:2.1_3:test
[DEBUG]                   org.json:json:jar:20080701:test
[DEBUG]             org.seleniumhq.selenium:selenium-htmlunit-driver:jar:2.41.0:test
[DEBUG]                net.sourceforge.htmlunit:htmlunit:jar:2.13:test
[DEBUG]                   xalan:xalan:jar:2.7.1:test
[DEBUG]                      xalan:serializer:jar:2.7.1:test
[DEBUG]                   commons-collections:commons-collections:jar:3.2.1:test
[DEBUG]                   net.sourceforge.htmlunit:htmlunit-core-js:jar:2.13:test
[DEBUG]                   xerces:xercesImpl:jar:2.11.0:test
[DEBUG]                      xml-apis:xml-apis:jar:1.4.01:test
[DEBUG]                   net.sourceforge.nekohtml:nekohtml:jar:1.9.19:test
[DEBUG]                   net.sourceforge.cssparser:cssparser:jar:0.9.11:test
[DEBUG]                      org.w3c.css:sac:jar:1.3:test
[DEBUG]                   org.eclipse.jetty:jetty-websocket:jar:8.1.12.v20130726:test
[DEBUG]             org.seleniumhq.selenium:selenium-firefox-driver:jar:2.41.0:test
[DEBUG]                org.apache.commons:commons-exec:jar:1.1:test
[DEBUG]             org.seleniumhq.selenium:selenium-ie-driver:jar:2.41.0:test
[DEBUG]                net.java.dev.jna:platform:jar:3.4.0:test
[DEBUG]             org.seleniumhq.selenium:selenium-safari-driver:jar:2.41.0:test
[DEBUG]             org.seleniumhq.selenium:selenium-support:jar:2.41.0:test
[DEBUG]                org.seleniumhq.selenium:selenium-api:jar:2.41.0:test
[DEBUG]             org.webbitserver:webbit:jar:0.4.14:test
[DEBUG]                io.netty:netty:jar:3.5.2.Final:test
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.3.4:test
[DEBUG]          org.apache.httpcomponents:httpcore:jar:4.3.2:test
[DEBUG]       org.apache.httpcomponents:httpmime:jar:4.3.4:test
[DEBUG]       org.doctester:doctester-core:jar:1.1.6:test
[DEBUG]       com.devbliss.doctest:doctest:jar:0.7.0:test
[DEBUG]          com.google.code.gson:gson:jar:2.2.2:test
[DEBUG]          de.devbliss.apitester:apitester:jar:0.7.0:test
[DEBUG]             com.fasterxml:jackson-xml-databind:jar:0.6.2:test
[DEBUG]                org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:test
[DEBUG]                   org.codehaus.jackson:jackson-core-asl:jar:1.9.2:test
[DEBUG]                org.codehaus.jackson:jackson-xc:jar:1.9.2:test
[DEBUG]          org.json:org.json:jar:chargebee-1.0:test
[DEBUG]          commons-lang:commons-lang:jar:2.6:compile
[DEBUG]          javax.activation:activation:jar:1.1.1:compile
[DEBUG]    com.github.fakemongo:fongo:jar:1.5.7:compile
[DEBUG]       com.github.davidmoten:geo:jar:0.6.6:compile
[DEBUG]       rhino:js:jar:1.7R2:compile
[DEBUG]       com.vividsolutions:jts:jar:1.13:compile
[DEBUG]    org.assertj:assertj-core:jar:1.7.1:test
[INFO] 
[INFO] --- cargo-maven2-plugin:1.4.13:deploy (default-cli) @ hireme ---
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=63, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=36, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1, ConflictResolver.conflictItemCount=58, DefaultDependencyCollector.collectTime=100, DefaultDependencyCollector.transformTime=1}
[DEBUG] org.codehaus.cargo:cargo-maven2-plugin:jar:1.4.13:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.apache.maven:maven-settings:jar:2.0:compile
[DEBUG]    org.apache.maven:maven-archiver:jar:2.4.1:compile
[DEBUG]       org.codehaus.plexus:plexus-archiver:jar:1.0:compile
[DEBUG]          org.codehaus.plexus:plexus-io:jar:1.0:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.13:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.4.7:compile
[DEBUG]    org.codehaus.cargo:cargo-core-api-generic:jar:1.4.13:compile
[DEBUG]       commons-discovery:commons-discovery:jar:0.4:compile
[DEBUG]          commons-logging:commons-logging:jar:1.0.4:compile
[DEBUG]       org.codehaus.cargo:cargo-core-api-container:jar:1.4.13:compile
[DEBUG]          org.codehaus.cargo:cargo-core-api-module:jar:1.4.13:compile
[DEBUG]             jdom:jdom:jar:1.0:compile
[DEBUG]          org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile
[DEBUG]    org.codehaus.cargo:cargo-documentation:jar:1.4.13:compile
[DEBUG]    org.codehaus.cargo:cargo-daemon-client:jar:1.4.13:compile
[DEBUG]       org.codehaus.cargo:cargo-core-api-util:jar:1.4.13:compile
[DEBUG]          dom4j:dom4j:jar:1.4:compile
[DEBUG]             xml-apis:xml-apis:jar:1.0.b2:compile
[DEBUG]             jaxen:jaxen:jar:1.0-FCS:compile
[DEBUG]             saxpath:saxpath:jar:1.0-FCS:compile
[DEBUG]             msv:msv:jar:20020414:compile
[DEBUG]             relaxngDatatype:relaxngDatatype:jar:20020414:compile
[DEBUG]             isorelax:isorelax:jar:20020414:compile
[DEBUG]          org.apache.ant:ant:jar:1.7.1:compile
[DEBUG]             org.apache.ant:ant-launcher:jar:1.7.1:compile
[DEBUG] Created new class realm plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.13
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.13
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.13
[DEBUG]   Included: org.codehaus.cargo:cargo-maven2-plugin:jar:1.4.13
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.apache.maven:maven-archiver:jar:2.4.1
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.13
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.4.7
[DEBUG]   Included: org.codehaus.cargo:cargo-core-api-generic:jar:1.4.13
[DEBUG]   Included: commons-discovery:commons-discovery:jar:0.4
[DEBUG]   Included: commons-logging:commons-logging:jar:1.0.4
[DEBUG]   Included: org.codehaus.cargo:cargo-core-api-container:jar:1.4.13
[DEBUG]   Included: org.codehaus.cargo:cargo-core-api-module:jar:1.4.13
[DEBUG]   Included: jdom:jdom:jar:1.0
[DEBUG]   Included: org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1
[DEBUG]   Included: org.codehaus.cargo:cargo-documentation:jar:1.4.13
[DEBUG]   Included: org.codehaus.cargo:cargo-daemon-client:jar:1.4.13
[DEBUG]   Included: org.codehaus.cargo:cargo-core-api-util:jar:1.4.13
[DEBUG]   Included: dom4j:dom4j:jar:1.4
[DEBUG]   Included: xml-apis:xml-apis:jar:1.0.b2
[DEBUG]   Included: jaxen:jaxen:jar:1.0-FCS
[DEBUG]   Included: saxpath:saxpath:jar:1.0-FCS
[DEBUG]   Included: msv:msv:jar:20020414
[DEBUG]   Included: relaxngDatatype:relaxngDatatype:jar:20020414
[DEBUG]   Included: isorelax:isorelax:jar:20020414
[DEBUG]   Included: org.apache.ant:ant:jar:1.7.1
[DEBUG]   Included: org.apache.ant:ant-launcher:jar:1.7.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0
[DEBUG] Configuring mojo org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy from plugin realm ClassRealm[plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.13, parent: sun.misc.Launcher$AppClassLoader@45ee12a7]
[DEBUG] Configuring mojo 'org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy' with basic configurator -->
[DEBUG]   (f) type = runtime
[DEBUG]   (s) properties = {cargo.hostname=testserver, cargo.servlet.port=8080}
[DEBUG]   (f) configuration = org.codehaus.cargo.maven2.configuration.Configuration@1e53135d
[DEBUG]   (s) containerId = jetty9x
[DEBUG]   (f) type = remote
[DEBUG]   (s) home = /opt/jetty
[DEBUG]   (f) container = org.codehaus.cargo.maven2.configuration.Container@15deb1dc
[DEBUG]   (s) groupId = de.maredit
[DEBUG]   (s) artifactId = hireme
[DEBUG]   (s) type = war
[DEBUG]   (s) properties = {context=/test}
[DEBUG]   (f) deployables = [AbstractDependency{ groupId=de.leichler, artifactId=test, type=war, classifier=null }]
[DEBUG]   (s) type = remote
[DEBUG]   (f) deployer = org.codehaus.cargo.maven2.configuration.Deployer@33d05366
[DEBUG]   (f) localRepository =       id: local
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => always]

[DEBUG]   (f) pluginVersion = 1.4.13
[DEBUG]   (f) project = MavenProject: de.maredit:hireme:0.1-SNAPSHOT @ /Users/leichler/IdeaProjects/test/pom.xml
[DEBUG]   (f) repositories = [
      id: maven-central
   layout: default
snapshots: [enabled => true, update => daily]
 releases: [enabled => true, update => daily]
,       id: central
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
]
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@6a1ebcff
[DEBUG]   (f) skip = false
[DEBUG] -- end configuration --
[DEBUG] dummy:dummy:pom:0.1 (selected for null)
[DEBUG]   org.codehaus.cargo:cargo-core-container-jetty:jar:1.4.13 (selected for null)
[DEBUG]     org.codehaus.cargo:cargo-core-api-generic:jar:1.4.13:compile (selected for compile)
[DEBUG]       commons-discovery:commons-discovery:jar:0.4:compile (selected for compile)
[DEBUG]         commons-logging:commons-logging:jar:1.0.4:compile (selected for compile)
[DEBUG]       org.codehaus.cargo:cargo-core-api-container:jar:1.4.13:compile (selected for compile)
[DEBUG]         org.codehaus.cargo:cargo-core-api-module:jar:1.4.13:compile (selected for compile)
[DEBUG]           jdom:jdom:jar:1.0:compile (selected for compile)
[DEBUG]           org.codehaus.cargo:cargo-core-api-util:jar:1.4.13:compile (selected for compile)
[DEBUG]             dom4j:dom4j:jar:1.4:compile (selected for compile)
[DEBUG]               xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG]               jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
[DEBUG]               saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
[DEBUG]               msv:msv:jar:20020414:compile (selected for compile)
[DEBUG]               relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
[DEBUG]               isorelax:isorelax:jar:20020414:compile (selected for compile)
[DEBUG]             org.apache.ant:ant:jar:1.7.1:compile (selected for compile)
[DEBUG]               org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile)
[DEBUG]         org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile (selected for compile)
[DEBUG]     xmlunit:xmlunit:jar:1.2:test (selected for test)
[DEBUG]     org.codehaus.cargo:cargo-core-api-container:jar:1.4.13:compile (selected for compile)
[DEBUG]       org.codehaus.cargo:cargo-core-api-module:jar:1.4.13:compile (selected for compile)
[DEBUG]         jdom:jdom:jar:1.0:compile (selected for compile)
[DEBUG]         org.codehaus.cargo:cargo-core-api-util:jar:1.4.13:compile (selected for compile)
[DEBUG]           dom4j:dom4j:jar:1.4:compile (selected for compile)
[DEBUG]             xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG]             jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
[DEBUG]             saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
[DEBUG]             msv:msv:jar:20020414:compile (selected for compile)
[DEBUG]             relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
[DEBUG]             isorelax:isorelax:jar:20020414:compile (selected for compile)
[DEBUG]           org.apache.ant:ant:jar:1.7.1:compile (selected for compile)
[DEBUG]             org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile)
[DEBUG]       org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile (selected for compile)
[DEBUG]     org.codehaus.cargo:cargo-core-api-container:test-jar:tests:1.4.13:test (selected for test)
[DEBUG]     org.codehaus.cargo:cargo-core-api-util:test-jar:tests:1.4.13:test (selected for test)
[DEBUG]       dom4j:dom4j:jar:1.4:test (setting artifactScope to: compile)
[DEBUG]       org.apache.ant:ant:jar:1.7.1:test (setting artifactScope to: compile)
[DEBUG]     junit:junit:jar:3.8.1:test (selected for test)
[DEBUG]     jmock:jmock:jar:1.2.0:test (selected for test)
[DEBUG]     jmock:jmock-cglib:jar:1.2.0:test (selected for test)
[DEBUG]       cglib:cglib-nodep:jar:2.1_3:test (selected for test)
[DEBUG]     commons-vfs:commons-vfs:jar:1.0:test (selected for test)
[DEBUG]       commons-logging:commons-logging:jar:1.0.4:test (setting artifactScope to: compile)
[INFO] [edDeployerDeployMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-jetty:jar:1.4.13 for container jetty9x
[DEBUG] Performing deployment action into [Jetty 9.x Remote]...
[DEBUG] Initial deployable values: groupId = [de.maredit], artifactId = [hireme], type = [war], location = [null]
[DEBUG] Searching for an artifact that matches [de.maredit:hireme:war:null]...
[DEBUG] Checking artifact [de.maredit:hireme:war:null]...
[DEBUG] Computed deployable values: groupId = [de.maredit], artifactId = [hireme], classifier = [null], type = [war], location = [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]
[DEBUG] Setting deployable property [context]:[/test] for [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]
[DEBUG] Invoking setter method public synchronized void org.codehaus.cargo.container.deployable.WAR.setContext(java.lang.String) for deployable org.codehaus.cargo.container.deployable.WAR[test-0.1-SNAPSHOT.war] with argument /test
[DEBUG] Deploying [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war] ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.054 s
[INFO] Finished at: 2015-04-23T16:54:08+02:00
[INFO] Final Memory: 12M/310M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy (default-cli) on project test: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy failed: Failed to deploy [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]: Response when calling http://testserver:8080/cargo-jetty-deployer/deploy?path=/test was: Error - The webapp context path is already in use -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy (default-cli) on project hireme: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy failed: Failed to deploy [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:deploy failed: Failed to deploy [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 19 more
Caused by: org.codehaus.cargo.container.ContainerException: Failed to deploy [/Users/leichler/IdeaProjects/test/target/test-0.1-SNAPSHOT.war]
        at org.codehaus.cargo.container.jetty.JettyRemoteDeployer.deploy(JettyRemoteDeployer.java:126)
        at org.codehaus.cargo.maven2.DeployerDeployMojo.performDeployerActionOnSingleDeployable(DeployerDeployMojo.java:56)
        at org.codehaus.cargo.maven2.AbstractDeployerMojo.performDeployerActionOnAllDeployables(AbstractDeployerMojo.java:166)
        at org.codehaus.cargo.maven2.AbstractDeployerMojo.doExecute(AbstractDeployerMojo.java:97)
        at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:435)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
        ... 20 more
Caused by: org.codehaus.cargo.container.ContainerException: Response when calling http://testserver:8080/cargo-jetty-deployer/deploy?path=/test was: Error - The webapp context path is already in use

        at org.codehaus.cargo.container.jetty.JettyRemoteDeployer.deploy(JettyRemoteDeployer.java:119)
        ... 25 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Jetty log

2015-04-23 16:35:43.173:INFO:oejsh.ContextHandler:Scanner-0: Started o.e.j.w.WebAppContext@48f60602{/test,[file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/angular-route-1.3.15.jar!/META-INF/resources, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/angular-1.3.15.jar!/META-INF/resources, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/bootstrap-3.3.2.jar!/META-INF/resources, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/adminlte-2.0.5.jar!/META-INF/resources, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/jquery-2.1.3.jar!/META-INF/resources, jar:file:/tmp/jetty-0.0.0.0-8080-test.war-_test-any-2277024709254927728.dir/webapp/WEB-INF/lib/angularjs-1.3.8.jar!/META-INF/resources],AVAILABLE}{/test.war}