Your users will need to specify -DremoteRepositories=... on the
command line when they run archetype:create. They may need to specify
the -DarchetypeVersion though I'm honestly not sure, you'll need to
test that (without specifying a version and with an older version on
your machine and a newer one in the remoteRepo, does Maven go fetch it
and use it, or use the one you already have?).

Here are some examples from AppFuse:
http://www.appfuse.org/display/APF/AppFuse+QuickStart

Wayne

On 10/18/07, dhoffer <[EMAIL PROTECTED]> wrote:
>
> I want to create a custom archetype all our developers will use to bootstrap
> the artifact creation process.  Installing this on my system is no problem
> and I can release to our corporate repo.
>
> The question is how can I get this installed on all our corporate
> developer's systems so it is available on the command line?  Also since the
> version of this will change as we make modifications I want them all to have
> the latest version.
>
> Ideally when each developer executes this archetype on their system I want
> the latest version to be automatically installed for them.  (I want my
> archetype to behave like the standard built-in ones.)  How can I accomplish
> something like this?
> --
> View this message in context: 
> http://www.nabble.com/How-to-deploy-custom-archetype-to-all-users--tf4650775s177.html#a13287306
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to