RE: quickstart POM has wrong artifactId for jetty maven plugin
FWIW, this is happening because version/ is omitted in generated pom.xml plugin/ tag. To fix: change plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId /plugin to plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId version${jetty.version}/version /plugin TahitianGabriel wrote: Had the same behavior when lauching maven in command line (OK within eclipse). Just add the jetty plugin with the version you want in your pom.xml : plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId version6.1.4/version /plugin - Nikita Tovstoles vside.com -- View this message in context: http://old.nabble.com/quickstart-POM-has-wrong-artifactId-for-jetty-maven-plugin-tp27555192p28047057.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: quickstart POM has wrong artifactId for jetty maven plugin
Had the same behavior when lauching maven in command line (OK within eclipse). Just add the jetty plugin with the version you want in your pom.xml : plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId version6.1.4/version /plugin -- View this message in context: http://old.nabble.com/quickstart-POM-has-wrong-artifactId-for-jetty-maven-plugin-tp27555192p27597866.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: quickstart POM has wrong artifactId for jetty maven plugin
It works perfect for 6.x releases. You changed the version to 7 your self, so it is your responsibility to change the other stuff too. When we upgrade the version we'll be sure to modify the plugin accordingly. Martijn On Thu, Feb 11, 2010 at 10:39 PM, Russell Morrisey russell.morri...@missionse.com wrote: I'm using the quickstart maven command generated by http://wicket.apache.org/quickstart.html, and then running 'mvn eclipse:eclipse -DdownloadSources=true'. I have the wicket version set to 1.4.5. The build fails: Unable to find resource 'org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5'. Consulting my local .m2 repository, I figured out that the artifactId is 'jetty-maven-plugin'; the quickstart pom says 'maven-jetty-plugin', and I had to change it manually in the POM to make it build successfully. RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | p: 856.252.5084 | f: 856.778.7342 | russell.morri...@missionse.com | www.missionse.comhttp://www.missionse.com/ 304 West Route 38, Moorestown, NJ 08057 This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind MSE to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: quickstart POM has wrong artifactId for jetty maven plugin
Martijn, I encountered this error without making ANY changes to the POM generated by the quickstart archtype command, when running mvn eclipse:eclipse -DdownloadSources=true. The artifact it is having trouble with is the maven jetty plugin, not jetty itself. The POM has jetty.version 6.1.4 defined at the bottom. If I have some other environment setting that is specifying the plugin version, I'm not aware of it. Maybe you could give me some direction on where to look? I'm not a very experienced maven user. RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | russell.morri...@missionse.com | www.missionse.com 304 West Route 38, Moorestown, NJ 08057 -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Friday, February 12, 2010 3:33 AM To: users@wicket.apache.org Subject: Re: quickstart POM has wrong artifactId for jetty maven plugin It works perfect for 6.x releases. You changed the version to 7 your self, so it is your responsibility to change the other stuff too. When we upgrade the version we'll be sure to modify the plugin accordingly. Martijn On Thu, Feb 11, 2010 at 10:39 PM, Russell Morrisey russell.morri...@missionse.com wrote: I'm using the quickstart maven command generated by http://wicket.apache.org/quickstart.html, and then running 'mvn eclipse:eclipse -DdownloadSources=true'. I have the wicket version set to 1.4.5. The build fails: Unable to find resource 'org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5'. Consulting my local .m2 repository, I figured out that the artifactId is 'jetty-maven-plugin'; the quickstart pom says 'maven-jetty-plugin', and I had to change it manually in the POM to make it build successfully. RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | p: 856.252.5084 | f: 856.778.7342 | russell.morri...@missionse.com | www.missionse.comhttp://www.missionse.com/ 304 West Route 38, Moorestown, NJ 08057 This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind MSE to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind MSE to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
quickstart POM has wrong artifactId for jetty maven plugin
I'm using the quickstart maven command generated by http://wicket.apache.org/quickstart.html, and then running 'mvn eclipse:eclipse -DdownloadSources=true'. I have the wicket version set to 1.4.5. The build fails: Unable to find resource 'org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5'. Consulting my local .m2 repository, I figured out that the artifactId is 'jetty-maven-plugin'; the quickstart pom says 'maven-jetty-plugin', and I had to change it manually in the POM to make it build successfully. RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | p: 856.252.5084 | f: 856.778.7342 | russell.morri...@missionse.com | www.missionse.comhttp://www.missionse.com/ 304 West Route 38, Moorestown, NJ 08057 This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind MSE to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.