archetypes are like any other artifacts: the process to build then deploy to a 
repository should be the same as anything else. The facts that archetype use 
maven-archetype packaging doesn't change anything here.

As such, using the release plugin can help you release your archetypes like 
any other artifact: see plugins' documentation [1] to understand how it can 
help you.
If you don't use release plugin actually, don't try to use it just because of 
archetypes: it will only make you mix concerns (archetypes and m-release-p 
learning).
If you find m-release-p interesting, learn to use it on projects you already 
deployed manually. Then, when you're confident with its setup, you can use it 
for archetypes too.

Regards,

Hervé

Le dimanche 7 août 2011, goutham a écrit :
> Hi
> 
> I recently developed a maven plugin , which calls a set of archetype's on
> my local machine  .m2 repository to create a module structure.
> 
> 1) Now i want to upload the archetype's to nexus repository so that i can
> use -DarchetypeCatalog=http://nexusrepo/.../archetype-catalog.xml , so that
> i can use them on any machine  . What are the steps to upload a archetype
> to nexus repo?
> 
> 
> 2)I was suggested to do maven release:prepare, perform on project . How
> does it help me?
> 
> Any help will be thank full
> -Goutham
> 
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Need-help-in-uploading-maven-archetypes-t
> o-nexus-repo-and-in-maven-release-tp4674573p4674573.html Sent from the
> Maven - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to