Hi gang,
Reaching out for the incredible help here at JR, once again.
So, now that I have gotten over most of the humps and learning curve of
Maven, I am spreading my (still wet) wings a bit, and trying to create an Archetype for our development team.
We use Spring,
Struts, and Velocity, plus a couple of other systems such as
JUnit, Cobertura, and PMD. I could not find a provided archetype that set things up like this (closest was one of the AppFuse archetypes), so I figured I'd roll it myself.
I have it all together, but when I go to compile/install it I am getting errors that I cannot resolve.
First question, is there a way to do this from within eclipse?
Next, I first tried to use:
which I ran from the command line within my project root.
I get the following error:
Unable to find resource 'org.apache.maven.plugins:maven-archetype-plugin:plugin:12-SNAPSHOT' in repository central (http://central)
I am using Nexus Repo Manager, and have my settings.xml pointed to our repo as the mirror for *
When I tried to research that I found an article saying that archetype was deprecated and to use archetypeng instead. So I tried:
and I get:
The plugin 'org.apache.maven.plugins:maven-archetypeng-plugin' does not exist or no valid version could be found.
I noticed that org.apache.maven.plugins was not the proper groupId, so I changed to:
and I get:
The plugin 'org.apache.maven.plugins:maven-org.codehaus.mevenide.archetypeng-plugin' does not exist or no valid version could be found.
What am I doing wrong??!?!
Thanks,
Chris