Re: Is mirrorOf mandatory in settings? was: Re: [jira] Reopened: (ARCHETYPE-177) NullPointerException generating archetype when mirrors are in settings.xml

2008-06-04 Thread Raphaël Piéroni
Thanks Brett, So I'll re-close the issue telling that if the Exception issue not saying the settings is badly formed belongs to core maven instead to the archetype plugin. Regards, Raphaël 2008/6/4 Brett Porter <[EMAIL PROTECTED]>: > Hi Raphaël, > > Having mirrors is not mandatory (this is the

Re: Is mirrorOf mandatory in settings? was: Re: [jira] Reopened: (ARCHETYPE-177) NullPointerException generating archetype when mirrors are in settings.xml

2008-06-03 Thread Brett Porter
Hi Raphaël, Having mirrors is not mandatory (this is the default for a maven installation), but if you have a mirror element, mirrorOf for that element is mandatory (I'm not sure if settings.xml reflects that, but it makes no sense with out it). ie, this is invalid: new-central http

Is mirrorOf mandatory in settings? was: Re: [jira] Reopened: (ARCHETYPE-177) NullPointerException generating archetype when mirrors are in settings.xml

2008-06-03 Thread Raphaël Piéroni
Hi folks, I answered that the mirrorOf element in settings is mandatory, as it behave such. But reading the http://maven.apache.org/xsd/settings-1.0.0.xsd It seems that any element in settings/mirrors/mirror ain't mandatory. Which resulted in the described problem in the issue. Here the problem o