[ http://jira.codehaus.org/browse/MNG-1928?page=comments#action_82750 ] Ryan Marsh commented on MNG-1928: ---------------------------------
nope, try this: ~/Desktop/maven-2.0.5-SNAPSHOT/bin/mvn org.andromda.maven.plugins:andromdapp-maven-plugin:generate you get this: [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/andromda/maven/plugins/andromda-maven-plugins/3.2/andromda-maven-plugins-3.2.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GroupId: org.andromda.maven.plugins ArtifactId: andromda-maven-plugins Version: 3.2 Reason: Unable to download the artifact from any repository org.andromda.maven.plugins:andromda-maven-plugins:pom:3.2 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Fri Dec 15 17:26:37 CST 2006 [INFO] Final Memory: 1M/3M [INFO] ------------------------------------------------------------------------ with settings.xml like this: <?xml version="1.0"?> <settings> <pluginGroups> <pluginGroup>org.andromda.maven.plugins</pluginGroup> </pluginGroups> <profiles> <profile> <id>default</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>snapshot-andromda</id> <name>AndroMDA Repository</name> <url>http://team.andromda.org/maven2/</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>enabled</enabled> </releases> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>andromda</id> <name>AndroMDA Repository</name> <url>http://team.andromda.org/maven2/</url> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </snapshots> <releases> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </releases> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <activeProfile>default</activeProfile> </activeProfiles> </settings> > ignores pluginRepository in settings.xml, honors in POM > ------------------------------------------------------- > > Key: MNG-1928 > URL: http://jira.codehaus.org/browse/MNG-1928 > Project: Maven 2 > Issue Type: Bug > Components: Plugins and Lifecycle > Affects Versions: 2.0.1 > Environment: mvn 2.0.1, jvm 1.5.0_05, OSX 10.4.3 > Reporter: Ryan Marsh > Fix For: 2.0.5 > > > if specified in the POM as a plugin repo, maven can use the > team.andromda.org/maven2 repo for finding, downloading, and installing > plugins. > however, settings.xml ignores plugin repos and only checks central if the > plugin has never been downloaded before. > for instance. if settings.xml has a pluginRepository entry for > team.andromda.org/maven2 then: > mvn andromdapp:generate > should download the andromdapp plugin from our repo. but it doesn't. only > central is checked and it fails to find the plugin. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
