You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2010/05/10 19:47:13 UTC

[jira] Moved: (MARCHETYPES-6) Parameter 'version' not correctly recognized

     [ http://jira.codehaus.org/browse/MARCHETYPES-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy moved ARCHETYPE-41 to MARCHETYPES-6:
--------------------------------------------------

          Component/s:     (was: Plugin)
    Affects Version/s:     (was: 1.0-alpha-4)
                  Key: MARCHETYPES-6  (was: ARCHETYPE-41)
              Project: Maven Archetype Bundles  (was: Maven Archetype)

> Parameter 'version' not correctly recognized
> --------------------------------------------
>
>                 Key: MARCHETYPES-6
>                 URL: http://jira.codehaus.org/browse/MARCHETYPES-6
>             Project: Maven Archetype Bundles
>          Issue Type: Bug
>            Reporter: Vitaly Berdinskikh
>
> Parameter 'version' used instead of 'archetypeVersion' or 
> Call:
> mvn archetype:create -DgroupId=****** -DartifactId=***** -Dversion=0.1.0-alpha-1 -DpackageName=****
> Error log:
> ===========================================================
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:create] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-core/0.1.0-alpha-1/maven-archetype-core-0.1.0-alpha-1.pom
> [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-creator/0.1.0-alpha-1/maven-archetype-creator-0.1.0-alpha-1.pom
> [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-creator/0.1.0-alpha-1/maven-archetype-creator-0.1.0-alpha-1.jar
> [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-core/0.1.0-alpha-1/maven-archetype-core-0.1.0-alpha-1.jar
> [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) org.apache.maven.archetype:maven-archetype-creator:jar:0.1.0-alpha-1
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.apache.maven.archetype -DartifactId=maven-archetype-creator \
>           -Dversion=0.1.0-alpha-1 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-4
>   	2) org.apache.maven.archetype:maven-archetype-creator:jar:0.1.0-alpha-1
> 2) org.apache.maven.archetype:maven-archetype-core:jar:0.1.0-alpha-1
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.apache.maven.archetype -DartifactId=maven-archetype-core \
>           -Dversion=0.1.0-alpha-1 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-4
>   	2) org.apache.maven.archetype:maven-archetype-core:jar:0.1.0-alpha-1
> ----------
> 2 required artifacts are missing.
> for artifact: 
>   org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-4
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://svn.apache.org/maven-snapshot-repository)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Thu Jun 08 11:42:24 EEST 2006
> [INFO] Final Memory: 2M/4M
> [INFO] ------------------------------------------------------------------------
> ===========================================================
> See plugin parameters description for goal 'create'
> http://maven.apache.org/plugins/maven-archetype-plugin/create-mojo.html
> ...
> version   	 String   	 ${version}   	 1.0-SNAPSHOT
> ...
> Also if call with out parameter 'version'? project succesfully created with version number '1.0-SNAPSHOT'.

-- 
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