Confusion about maven-war-plugin and jetty-maven-plugin?

According to the documentation of the jetty:run-exploded mojo, the default value for the tmpDirectory is target/jetty-tmp.

Now, running mvn jetty:run-exploded, it seems the default deploy folder is target/tmp/webapp/mywebapp-version. War/. This folder exists, but contains no files except for a webapp-cache.xml.

This seems wrong to me. According to the documentation of the jetty:run-exploded mojo, the default value for the tmpDirectory is target/jetty-tmp. I also tried to actively set the webApp configuration element to ${project.build.

Directory}/mywebapp-version/, but run-exploded seems to ignore it (despite the documentation stating otherwise). The webApp defaults to ${project.build. Directory}/${project.build.

FinalName} so I'm not sure your "active" configuration changed anything. What am I doing wrong? It looks as if I am missing something simple since no one else appears to be running into the same problem.

Well, what is the problem actually? :) What are you expecting exactly (I'm suspecting a misunderstanding of what is supposed to happen). By the way, I find the Maven Jetty Plugin Configuration Guide and the documentation of Jetty's mojos pretty decent.

Thanks for your reply. Part of the confusion is that I'm using the new version of the plugin (wiki.eclipse. Org/Jetty/Feature/Jetty_Maven_Plugin) that seems to have slightly changed behavior from previous versions.

I am expecting that run-exploded should build the war and then the exploded war should be deployed on Jetty. When I get back to the code I will try to use an older version of the plugin instead and see if that works. – waxwing Jun 7 '10 at 20:16 @waxwing: Actually, I'm not sure the behavior of jetty:run-exploded has changed (I didn't spot any obvious difference between the "old" configuration guide and the "new" one).

But don't hesitate to post some feedback later. – Pascal Thivent Jun 7 '10 at 20:35.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions