Wendy Smoak-3 wrote:
> 
> On 9/17/06, Lakshman Srilakshmanan
> <[EMAIL PROTECTED]> wrote:
>> /opt/m2/bin/mvn archetype:create -DgroupId=customised
>> -DartifactId=checkstyle -X
>>
>> maven ignores the ~/.m2/settings.xml file and attempts to access
>> dependencies from http://repo1.maven.org/maven2.....
>>
>> Is this the expected behaviour or am I missing something.
> 
> You can use -DremoteRepositories=... if your archetype is not in the
> central Maven repository.
> 
> http://maven.apache.org/plugins/maven-archetype-plugin/create-mojo.html
> 
> -- 
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

Good day to you, Lakshman,

In addition to wendy's answer, you may also want to take a look at [1]. It's
a revised documentation of the maven-archetype-plugin that's not yet been
released. If you have any comments, you may review. We would greatly
appreciate it.

Thanks,
Franz

[1]
http://people.apache.org/~oching/maven-archetype-plugin/examples/remote-repositories.html
-- 
View this message in context: 
http://www.nabble.com/maven-ignores-settings.xml-tf2289211.html#a6367062
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to