[
http://jira.codehaus.org/browse/MNG-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter closed MNG-3557.
-----------------------------
Assignee: Brett Porter
Resolution: Cannot Reproduce
the file certainly exists - either this is old, or it's an environmental issue
> Using latest version of Maven 2.0.9 - Cannot download archetype plugin jar
> maven-archetype-plugin-2.0-alpha-3.jar
> -----------------------------------------------------------------------------------------------------------------
>
> Key: MNG-3557
> URL: http://jira.codehaus.org/browse/MNG-3557
> Project: Maven 2
> Issue Type: Bug
> Components: Bootstrap & Build
> Environment: Mac OSX Intel, JAVA 5
> Reporter: Karim Qazi
> Assignee: Brett Porter
>
> I tried to find this version of the JAR file but only
> 'maven-archetype-plugin-2.0-alpha-2.jar' exists not
> 'maven-archetype-plugin-2.0-alpha-3.jar'.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-3/maven-archetype-plugin-2.0-alpha-3.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-3/maven-archetype-plugin-2.0-alpha-3.jar
> [INFO] Cannot find mojo descriptor for: 'archetype:create' - Treating as
> non-aggregator.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO] task-segment: [archetype:create]
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-3/maven-archetype-plugin-2.0-alpha-3.jar
> [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
> repository
> 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-archetype-plugin -Dversion=2.0-alpha-3
> -Dpackaging=maven-plugin -Dfile=/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-archetype-plugin -Dversion=2.0-alpha-3
> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:2.0-alpha-3
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
> org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:2.0-alpha-3
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
--
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