Hi,
I'm trying to download jboss archetype by running the command,

 mvn archetype:create -DarchetypeGroupId=org.richfaces.cdk
-DarchetypeArtifactId=maven-archetype-jsf-component -DarchetypeVersion=
3.1.2.GA -DartifactId=mylib

It's trying to download maven-archetype-jsf-component-3.1.2.GA.jar from
http://repo1.maven.org/ instead of the location from jboss i.e.
http://repository.jboss.com. I've specified this repository in my
settings.xml file. Not sure how do I specify this location with the above
command, so that it won't look at the default maven repository. I did try
giving -DlocalRepository with the above command but no use. I appreciate
your reply directly to me, because I'm not subscribed to this alias yet.

thx
Senthil

Reply via email to