Jetty News and Case Studies

Thursday Jan 10, 2008

Maven Archetypes Updated

The maven webapp archetypes - all with configuration for the handy Jetty maven plugin built in -  made available by Webtide  have recently been updated to the following versions:

  • Active MQ - 5.0.0
  • Dojo - 1.0.2
  • DWR - 2.0.2
  • JSF - 1.2_07
  • Spring - 2.5
  • Struts - 2.0.11
  • Tapestry - 4.1.3
  • WebWork - 2.2.6
We've also added a new archetype:
  • cometd - Bayeux/jetty 6.1.7
The cometd archetype will generate a complete webapp with working end-to-end bayeux  ajax messaging.

All are freely available for download from the Webtide site at www.webtide.com/resources.jsp.

Comments:

Looks like its not quite ready:
mvn archetype:create  -DarchetypeGroupId=com.webtide -DarchetypeArtifactId=maven-archetype-Spring -DarchetypeVersion=2.5 -DgroupId=com.willcode4beer.spring -DartifactId=beerSpring

returns:
Embedded error: Archetype does not exist

Posted by Anonymous on January 10, 2008 at 10:28 AM EST #

Did you unzip the project and then do an mvn install of it first?  That will build the archetype and install it to your local repository so it is available.

cheers
Jan

Posted by Jan Bartel on January 11, 2008 at 04:40 AM EST #

I have downloaded the archetype maven-archetype-Spring and installed it using mvn install but I still get an error.

I am using the command
mvn archetype:create -DarchetypeGroupId=com.webtide -DarchetypeArtifactId=maven-archetype-Spring -DarchetypeVersion=2.5 -DgroupId=com.ubs.jhbrsa -DartifactId=mymavenspring

I get the error
Unable to locate resource in repository

mvn is trying and failing to get the http://repo1.maven.org/maven2/com/webtide/maven-archetype-Spring/2.5/maven-archetype-Spring-2.5.jar

Please reply to me on my email brighton.kukasira@gmail.com

Posted by Brighton Kukasira on March 07, 2008 at 12:33 AM EST #

Post a Comment:
  • HTML Syntax: Allowed

Webtide

Calendar

Tags

Search

Links

Navigation