Maven archetype for basic spring hibernate struts2 application

I am looking for a basic maven archetype that can help me create spring hibernate struts

applications. I've tried using appfuse but it sucks. It took over an hour and a half to

load n number of dependencies and also the generated project also had errors.

If you know of any other maven archetype please tell me.

thanks

Shekhar

+2


a source to share


3 answers


mvn archetype:create \
    -DarchetypeGroupId=org.appfuse.archetypes \
    -DarchetypeArtifactId=appfuse-basic-struts \
    -DremoteRepositories=http://static.appfuse.org/releases \
    -DarchetypeVersion=2.0.1 \
    -DgroupId=fr.xebia.blog.voiture \
    -DartifactId=voiture-app

      



+3


a source


If there is no archetype that suits you, just use the default archetype and add the dependencies you need.



If you have problems downloading, use another mirror for the remote repository.

0


a source


If the app doesn't work, please report wiring errors. Also create your own maven archetype for spring / hibernate / struts2 application as mentioned in this blog post.

0


a source







All Articles