You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Brett Porter <br...@apache.org> on 2010/11/29 00:28:55 UTC

Re: [jira] Closed: (ARCHETYPE-344) Cannot use local snapshot archetypes w/o -DarchetypeRepository=local

On 29 November 2010 09:56, Herve Boutemy (JIRA) <ji...@codehaus.org> wrote:

>
>     [
> http://jira.codehaus.org/browse/ARCHETYPE-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Herve Boutemy closed ARCHETYPE-344.
> -----------------------------------
>
>       Resolution: Fixed
>    Fix Version/s: 2.x
>         Assignee: Herve Boutemy
>
> fixed in r1039970
>

I renamed this version from 2.x to 2.1 in JIRA, since it seems closer to how
it's being used...

- Brett


>
> > Cannot use local snapshot archetypes w/o -DarchetypeRepository=local
> > --------------------------------------------------------------------
> >
> >                 Key: ARCHETYPE-344
> >                 URL: http://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.x
> >
> >
> > Build
> https://svn.codehaus.org/mojo/trunk/mojo/mojo-archetypes/netbeans-platform-app-archetypeand 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.
> -
> 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
>
>
>


-- 
Brett Porter
http://brettporter.wordpress.com/

Re: [jira] Closed: (ARCHETYPE-344) Cannot use local snapshot archetypes w/o -DarchetypeRepository=local

Posted by Hervé BOUTEMY <he...@free.fr>.
Le lundi 29 novembre 2010, Brett Porter a écrit :
> On 29 November 2010 09:56, Herve Boutemy (JIRA) <ji...@codehaus.org> wrote:
> >     [
> > 
> > http://jira.codehaus.org/browse/ARCHETYPE-344?page=com.atlassian.jira.plu
> > gin.system.issuetabpanels:all-tabpanel]
> > 
> > Herve Boutemy closed ARCHETYPE-344.
> > -----------------------------------
> > 
> >       Resolution: Fixed
> >    
> >    Fix Version/s: 2.x
> >    
> >         Assignee: Herve Boutemy
> > 
> > fixed in r1039970
> 
> I renamed this version from 2.x to 2.1 in JIRA, since it seems closer to
> how it's being used...
yes, thank you

Hervé

> 
> - Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org