Hello, I am trying to build maven following these instructions:
http://maven.apache.org/guides/development/guide-building-m2.html The svn checkout completes without error. Calling maven install results in this: [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Apache Maven [INFO] Maven Lifecycle Model [INFO] Maven Reporting API [INFO] Maven Model [INFO] Maven Compat [INFO] Maven Plugin API [INFO] Maven Project Builder [INFO] Maven Repository [INFO] Maven Project [INFO] Maven Mercury [INFO] Maven Core [INFO] Maven Toolchains [INFO] Maven Embedder [INFO] Maven Distribution [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Maven [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [remote-resources:process {execution: default}] [INFO] [site:attach-descriptor] [INFO] Unable to load parent project from a relative path: Could not find the model file 'D:\pom\maven\pom.xml'. for project unknown [INFO] Parent project loaded from repository. [INFO] [install:install] [INFO] Installing D:\mvnb\pom.xml to D:\lib\maven_repo\org\apache\maven\maven\3.0-SNAPSHOT\maven-3.0-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Lifecycle Model [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] snapshot org.apache.maven.plugins:maven-resources-plugin:2.4-SNAPSHOT: checking for updates from apache.snapshots Downloading: http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-resour ces-plugin/2.4-SNAPSHOT/maven-resources-plugin-2.4-20090302.2 33806-1.pom 4K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/13/mave n-plugins-13.pom 11K downloaded [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repo sitory Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=2.4-SNAPSHOT -Dpackaging=maven-plugin -D file=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=2.4-SNAPSHOT -Dpackaging=maven-plugin -Dfi le=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) My maven settings contain my proxy. Since it downloaded some artifacts before reaching this error, I believe it is setup correctly. Could you tell me how I can get access to this plugin? Thanks in advance Albrecht Militzer --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
