Hi Wendy,

>> I then deploy the artifact to our company repository (snapshot). When I now 
>> try to create a new project on a different PC, >>using the newly created 
>> archetype, Maven is not able to find the archetype. I have included the 
>> <pluginRepositories>-tag >> in my settings.xml file, and I am using the same 
>> Maven2 repository for plugins as for other artifacts. What might the
>> problem be ?
>
>Use -DremoteRepositories on the command line, as described here:
>
>http://maven.apache.org/plugins/maven-archetype-plugin/examples/remote-repositories.html
>

I've tried this too, but still it will not work. When I chekout the archetype 
project (that is used to create the archetype), and do a "mvn install", then 
creating a new project using the new archetype works fine on this PC too.....
 
Arne

Reply via email to