Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Completely different behaviour when using maven jetty plugin with and without debug flag

Hi all,

I have a jetty server which runs fine normally.  When I try to add a new POM dependency, the war file fails to get assembled.  When I run the plugin but with the debug switch enabled, the war file get's assembled and run's fine.
That is:

Bad:
mvn clean install jetty:run
mvn clean install jetty:run -Dorg.eclipse.jetty.annotations.maxWait=420
webAppSourceDirectory/Users/smazahir/Workspace/zodiac/touchless_maven_fix/simpleServer/jaxrs/target/swagger-jaxrs-server-1.0.0 does not exist. 

Good:
mvn clean install jetty:run -Dorg.eclipse.jetty.annotations.maxWait=420 -X


What could cause this discrepancy?  How can I debug whether adding a new pom dependency actually causes my project to fail?

Thanks.


Back to the top