plugin dependencies not resolved form repositories --------------------------------------------------
Key: MNG-4839 URL: http://jira.codehaus.org/browse/MNG-4839 Project: Maven 2 & 3 Issue Type: Bug Affects Versions: 3.0-beta-3, 3.0-beta-1 Environment: Apache Maven 3.0-RC3 (r1001464; 2010-09-26 18:14:28+0200) Java version: 1.6.0_21 OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows" Reporter: Michael Brackx Attachments: pom.xml plugin dependencies are not resolved from repositories in <repositories> regression from 2.2.1 the [wiki|https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-PluginRepositories] mentions "For clarity, this rule only applies to the resolution of the root artifact. In other words, while a plugin is only resolved from a <pluginRepository>, the dependencies of the plugin are resolved from the original <pluginRepository> and any <repositories> specified in the plugin's POM." example pom is attached error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (process-classes) on project bug: Execution process-classes of goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run failed: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Could not find artifact org.hibernate:hibernate-tools:jar:3.2.4.GA in central (http://repo1.maven.org/maven2) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException -- 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