Mike Jennings from the University of North Carolina at Chapel Hill has created a Spring MVC Maven Archetype for Sakai. This generates a fully functioning application for Sakai, complete with service layers, from a single Maven command.
This is just like the Apache Wicket version I created. Nice one Mike!
I’ve just released it into the Sakai Maven repository so it is now available for everyone to use. The command to generate a Sakai app from the archetype is:
mvn archetype:generate -DarchetypeGroupId=org.sakaiproject.maven-archetype -DarchetypeArtifactId=sakai-spring-maven-archetype -DarchetypeVersion=1.2 -DarchetypeRepository=https://source.sakaiproject.org/maven2/
Then simply mvn clean install sakai:deploy
and you are on your way.
Any issues should be reported in JIRA: https://jira.sakaiproject.org/browse/MARCH
Hey there. I was contemplating adding a link
back to your website since both of our sites are based mostly around the
same subject. Would you prefer I link to you using your site
address: https://steveswinsburg.wordpress.com/2012/05/09/sakai-spring-mvc-maven-archetype-1-2-release/ or blog title:
Sakai Spring MVC Maven Archetype 1.2 release | steveswinsburg.
Be sure to let me know at your earliest convenience.
Thankyou
I used Sakai Spring MVC Maven Archetype 1.2 tool and its building fine but giving me bean not defined error. 😦 I just want to use this to display “helloworld”
Hi, make sure you fully deploy the generated application with:
mvn clean install sakai:deploy