On 9/27/06, Cheng-Yang.Tang <[EMAIL PROTECTED]> wrote:
I create my own artifacts and archetypes, and deploy them into my own repository. The repository is specified in settings.xml. Maven can get artifacts from the repository, but not the archetype:
...
However, when I specified -DremorteRepositories="http://deanmoor.ncl.ac.uk/fluxions/repo-snapshot" It works properly. I think it's because maven does not use the repositories specified in settings.xml when fetching archetypes.
Correct. The 'remoteRepositories' attribute was added in response to this issue: http://jira.codehaus.org/browse/ARCHETYPE-1 If you search the list archives for posts from Jason van Zyl, I'm pretty sure he explained why Archetype does not use settings.xml. I don't remember if this is something that will be changed in the future or if it's like that for a reason. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
