You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dhoffer <DH...@xrite.com> on 2007/10/19 04:25:21 UTC

How to deploy custom archetype to all users?

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to deploy custom archetype to all users?

Posted by dhoffer <DH...@xrite.com>.
Yes, that works great.  It automatically downloads the latest version.

Thanks much!
Dave



Wayne Fay wrote:
> 
> 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 <DH...@xrite.com> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-deploy-custom-archetype-to-all-users--tf4650775s177.html#a13295606
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: How to deploy custom archetype to all users?

Posted by Wayne Fay <wa...@gmail.com>.
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 <DH...@xrite.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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