Hi guys,
I was looked the maven-jetty-plugin and i discovered that it was possible
running in daemon mode. That it solves my problem already that i want to
start the jetty before of execute the integration tests.
[...]
execution
idstart-jetty/id
phasepre-integration-test/phase
goals
goalrun/goal
/goals
configuration
daemontrue/daemon
/configuration
/execution
[...]
On Tue, May 25, 2010 at 1:06 PM, Everton Cardoso ercard...@gmail.comwrote:
Hi guys,
I have a problem! I'm trying start a jetty6x embedded with the maven
using the cargo-maven2-plugin, but, when i execute the command: mvn
cargo:start , it throw a exception:
[INFO] Trace
org.codehaus.cargo.container.ContainerException: Failed to start the
Jetty 6.x Embedded container.
at
org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:168)
...
Caused by: org.codehaus.cargo.container.ContainerException: Failed to
create Jetty Server instance
at
org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalContainer.createServerObject(AbstractJettyEmbeddedLocalContainer.java:78)
Caused by: java.lang.ClassNotFoundException: org.mortbay.jetty.Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
My configuration in the pom.xml contains:
plugin
groupIdorg.codehaus.cargo/groupId
artifactIdcargo-maven2-plugin/artifactId
version1.0/version
configuration
container
containerIdjetty6x/containerId
typeembedded/type
/container
/configuration
/plugin
Anyone know what's the problem?
att,
--
Everton Cardoso
http://vertocardoso.wordpress.com
att,
--
Everton Cardoso
http://vertocardoso.wordpress.com