You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jorg Heymans (JIRA)" <ji...@codehaus.org> on 2005/11/23 22:30:06 UTC
[jira] Commented: (MNG-1670) using archetypes not deployed on central or one of it's mirrors
[ http://jira.codehaus.org/browse/MNG-1670?page=comments#action_51834 ]
Jorg Heymans commented on MNG-1670:
-----------------------------------
http://jira.codehaus.org/browse/ARCHETYPE-1 seems like this was filed before.
> using archetypes not deployed on central or one of it's mirrors
> ---------------------------------------------------------------
>
> Key: MNG-1670
> URL: http://jira.codehaus.org/browse/MNG-1670
> Project: Maven 2
> Type: New Feature
> Versions: 2.0
> Reporter: Jorg Heymans
> Assignee: John Casey
> Priority: Minor
>
>
> I have an archetype deployed on cvs.apache.org/maven-snapshot-repository. There is no way for users to use this archetype without creating a dummy pom first so that the configuration in settings.xml (where i defined this repository) kicks in.
> IRC log :
> jorg does the archetype plugin take settings.xml in account ? I've defined it as http://rafb.net/paste/results/8ajh7v15.html , but when looking for the archetype it doesn't even go to that server
> jorg or maybe it's a pluginRepository instead ... trying
> jdcasey jorg: I think the active profiles in the settings.xml are only applied to the current project, so if you're executing without a current project I dunno that it will use them
> jorg oh drats
> jorg so i'll give the users a dummy pom + settings.xml to execute against.. mmmm
> jdcasey jorg: it might be nice to have in the future though...
> jdcasey it could modify the instance of the super-project that's loaded in memory
> jorg might be nice yes .. i don't see any other way
> jorg (unless your archetype is published to the primary download site or one of it's mirrors ofcourse)
> jdcasey file it, if you like
> jorg :)
> jdcasey :)
> so unless you've got your stuff on ibiblio nobody can easily use your archetype.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org