You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vitaly Berdinskikh (JIRA)" <ji...@codehaus.org> on 2006/06/08 10:43:43 UTC

[jira] Created: (ARCHETYPE-41) Parameter 'version' not correctly recognized

Parameter 'version' not correctly recognized
--------------------------------------------

         Key: ARCHETYPE-41
         URL: http://jira.codehaus.org/browse/ARCHETYPE-41
     Project: Maven Archetype
        Type: Bug

  Components: Plugin  
    Versions: 1.0-alpha-4    
    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


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

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Closed: (ARCHETYPE-309) Parameter 'version' not correctly recognized

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/ARCHETYPE-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed ARCHETYPE-309.
------------------------------------

    Resolution: Won't Fix

The {{archetype:create}} goal has been deprecated, so closing this issue as {{Won't fix}}

> Parameter 'version' not correctly recognized
> --------------------------------------------
>
>                 Key: ARCHETYPE-309
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-309
>             Project: Maven Archetype
>          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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Moved: (ARCHETYPE-309) Parameter 'version' not correctly recognized

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

        Key: ARCHETYPE-309  (was: MARCHETYPES-6)
    Project: Maven Archetype  (was: Maven Archetype Bundles)

> Parameter 'version' not correctly recognized
> --------------------------------------------
>
>                 Key: ARCHETYPE-309
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-309
>             Project: Maven Archetype
>          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