Wendy Smoak wrote:
I've created an archetype, and it works fine if I build and install it
locally, but I can't figure out how to tell people to get it from the
snapshot repository.
I need to release the archetype plugin. I added a parameter to specify
the repository where the archetype comes from. I'm just swamped at the
moment but I'll try to get to it tomorrow. The archetype plugin doesn't
look at settings.xml. It only looks in your POM but if you don't have a
POM yet it's sort of hard :-)
I am trying to make this as simple as possible and having the user
provide a value of where to look for the archetype is the first step.
I would like it to be seemless regardless of where the archetype is located.
I'm not sure what TZ you are in but we can work through it tomorrow if
you have time. I'll just release the archetype plugin.
Here it is:
http://cvs.apache.org/maven-snapshot-repository/struts/struts-archetype-shale-blank/
Thinking that it might help, I added the repository and
pluginRepository to settings.xml as described here:
http://mojo.codehaus.org/using-sandbox-plugins.html
(I also added <pluginGroup> 'struts'.)
But 'mvn archetype:create' still says "Unable to download the artifact
from any repository". It's only checking 'central'.
What do I type to get my archetype into a local repository, so that
'mvn archetype:create ...' will work?
Thanks,
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
jvz.
Jason van Zyl
jason at maven.org
http://maven.apache.org
A party which is not afraid of letting culture,
business, and welfare go to ruin completely can
be omnipotent for a while.
-- Jakob Burckhardt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]