Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0.4
-
Fix Version/s: 2.0.5
-
Component/s: Artifacts and Repositories
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
If you follow the instructions at http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20make%20my%20first%20Maven%20project? to use the archetype plugin to create a new project skeleton, the suggested command line fails as below.
It seems there is a typo of some kind in the suggested command line, I am not familiar enough with maven 2 to know for sure.
Graham-Leggetts-Computer:~/src/standard/alchemy/maven minfrin$ mvn archetype:create -DgroupId=za.co.standardbank.alchemy -DartifactId=alchemy-trader
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue Jun 27 09:43:14 SAST 2006
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------
Issue Links
- is related to
-
MNG-2963
Do not update metadata unless the artifact actually made it down
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Resolution | Won't Fix [ 2 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Brett Porter [ brettporter ] |
| Resolution | Won't Fix [ 2 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
| Assignee | Brett Porter [ brettporter ] | |
| Component/s | Artifacts [ 12035 ] | |
| Summary | Following "How do I make my first Maven project?" doesn't work | Improve handling of "no plugin version found" error after intermittent errors |
| Fix Version/s | 2.0.5 [ 12294 ] | |
| Component/s | Artifacts and Repositories [ 11338 ] |
| Priority | Major [ 3 ] | Blocker [ 1 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Reopened [ 4 ] | Closed [ 6 ] |
| Assignee | John Casey [ jdcasey ] |
| Component/s | Documentation: Guides [ 11870 ] | |
| Component/s | Artifacts [ 12035 ] |
http://docs.codehaus.org/display/MAVENUSER/FAQs-1#FAQs-1-novalidversion
It's a configuration error on your end.