[ 
https://jira.codehaus.org/browse/ARCHETYPE-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245582#comment-245582
 ] 

Herve Boutemy edited comment on ARCHETYPE-344 at 8/16/11 3:10 PM:
------------------------------------------------------------------

fixed in [r1039970|http://svn.apache.org/viewvc?rev=1039970&view=rev]

      was (Author: hboutemy):
    fixed in r1039970
  
> Cannot use local snapshot archetypes w/o -DarchetypeRepository=local
> --------------------------------------------------------------------
>
>                 Key: ARCHETYPE-344
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-344
>             Project: Maven Archetype
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Jesse Glick
>            Assignee: Herve Boutemy
>             Fix For: 2.1
>
>
> Build 
> https://svn.codehaus.org/mojo/trunk/mojo/mojo-archetypes/netbeans-platform-app-archetype
>  and then:
> mvn -B -DarchetypeGroupId=org.codehaus.mojo.archetypes 
> -DarchetypeArtifactId=netbeans-platform-app-archetype 
> -DarchetypeVersion=1.7-SNAPSHOT -DgroupId=test -DartifactId=whatever 
> -Dversion=1.0-SNAPSHOT 
> org.apache.maven.plugins:maven-archetype-plugin:2.0:generate
> This will print a warning:
> [INFO] Archetype repository missing. Using the one from 
> [org.codehaus.mojo.archetypes:netbeans-platform-app-archetype:1.6] found in 
> catalog remote
> and then proceed to use the 1.6 archetype, even though 1.7-SNAPSHOT was 
> explicitly requested, and is available in the local repository.
> When using 2.0-alpha-5 the same command works as expected, so this is a 
> regression. Breaks usage of local archetype catalog from NB IDE.
> Workaround is to pass -DarchetypeRepository=local.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to