I have the exact same problem. This is pretty frustrating. Is there a way to revert to the old plugin version until this is resolved?
kroe wrote: > > The -DremoteRepositories solution looks good, but I can't get it to work. > The archetype plugin doesn't seem to be respecting the remoteRepositories > parameter. Below is the command I am executing with the sensitive > information taken out and line breaks added for readability. I have > verified using the -X flag that version 2.0 alpha 1 of the > maven-archetype-plugin is being used. Am I doing something wrong or does > the remoteRepositories parameter not work? > > mvn archetype:create > -DgroupId=com.whereiwork.apps > -DartifactId=newApp7 > -DarchetypeGroupId=com.whereiwork.apps > -DarchetypeArtifactId=appArchetype > -DarchetypeVersion=1.0 > -DremoteRepositories="http://username:[EMAIL > PROTECTED]/archiva/repository/releases/" > > > Wendy Smoak-3 wrote: >> >> On Feb 13, 2008 9:00 AM, kroe <[EMAIL PROTECTED]> wrote: >>> >>> MNG-2261 is making creating projects using an archetype difficult. I >>> have an >>> archetype I created. I want the archetype:create command to download my >>> archetype from an internal repository. The internal repository is >>> specified >>> in my settings.xml file. >>> >>> Due to MNG-2261, the settings.xml repositories are not respected unless >>> there is a pom in the current directory. >> >> The archetype plugin just had a new release, but I suspect you're >> using the older one. >> >> With that one, you can use -DremoteRepositories=... on the command line. >> >> -- >> Wendy >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/Working-around-MNG-2261-%28How-can-I-manually-download-and-install-artifact%29-tp15459817s177p15548078.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
