Issue Details (XML | Word | Printable)

Key: MNG-1670
Type: New Feature New Feature
Status: Closed Closed
Resolution: Duplicate
Priority: Minor Minor
Assignee: Brett Porter
Reporter: Jorg Heymans
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 2 & 3

using archetypes not deployed on central or one of it's mirrors

Created: 23/Nov/05 03:10 PM   Updated: 01/Feb/06 02:43 PM   Resolved: 24/Nov/05 04:33 PM
Return to search
Component/s: None
Affects Version/s: 2.0
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Duplicate
 

Complexity: Intermediate


 Description  « Hide

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.



Jorg Heymans added a comment - 23/Nov/05 03:27 PM

http://jira.codehaus.org/browse/ARCHETYPE-1 seems like this was filed before.


Jorg Heymans added a comment - 24/Nov/05 09:15 AM

thinking about it, this effectively makes it impossible to have say company-wide archetypes. I would like to up the priority of this but it seems that i haven't got the rights to do so.