« Return to Thread: Deploy war with cargo maven plugin
niamande wrote:I try to deploy a war with jetty 6.1.15 (Jetty-Service running).
I use the maven cargo plugin to do this deployement.
My configuration is :
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>${cargo-maven2-plugin-version}</version>
<configuration>
<container>
<containerId>jetty6x</containerId>
<type>remote</type>
<timeout>120000</timeout>
</container>
<configuration>
<type>runtime</type>
<properties>
<cargo.servlet.port>8081</cargo.servlet.port>
</properties>
</configuration>
<deployer>
<type>remote</type>
<deployables>
<deployable>
<groupId>${pom.groupId}</groupId>
<artifactId>myWebApp</artifactId>
<type>war</type>
</deployable>
</deployables>
</deployer>
</configuration>
</plugin>
When i execute : mvn cargo:deploy, i've got :
java.io.IOException: Server returned HTTP response code: 405 for URL: http:localhost:8081/cargo-jetty-deployer/deploy?path=/myWebApp
Have you an idea ?
I use another port (not 8080), because port 8080 is already in use.
Thanks !!
« Return to Thread: Deploy war with cargo maven plugin
| Free embeddable forum powered by Nabble | Forum Help |