Hi all, I am having difficulty using archetype:generate plugin where I want it to use an archetype stored in our internal repository. I was able to do so using archetype:create plugin. I've a settings.xml in .m2 directory and that's where archetype:create reads the internal repository information but archetype:generate doesn't seem to do that.
I tried using -DarchetypeRepository but I probably am not entering the internal repository url properly. This is what I am typing and I am getting Build Error because it can't find my archetype mvn archetype:generate -DarchetypeArtifactId=default-archetype -DarchetypeGroupId=default-archetype -DarchetypeVersion=1.0 -DarchetypeRepository=http://serveraddress/Intranet/maven-repo http://serveraddress/Intranet/maven-repo is where archetype-default archetype is residing Any ideas? thanks Shahzad Qureshi Systems Analyst/Programmer Applications Directorate, CIOB Environment Canada shahzad.qure...@ec.gc.ca