You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Raphaël Piéroni <ra...@gmail.com> on 2008/04/11 00:22:16 UTC

[VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Hi,

We solved 20 issues:
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088

Staging repo:
http://people.apache.org/~rafale/archetype-stage-repository/

Staging site:
http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3

Guide to testing staged releases:
http://maven.apache.org/guides/development/guide-testing-releases.html

Vote open for 72 hours.

[ ] +1
[ ] +0
[ ] -1


Regards,

Raphaël

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
2008/4/17 Brett Porter <br...@apache.org>:
>
>  On 15/04/2008, at 7:30 PM, Raphaël Piéroni wrote:
>
>
> >
> > > I did find a bad license header here:
> > >
> archetype-common/src/test/java/org/apache/maven/archetype/test/InternalCatalogFromWiki.java,
> > > but it's not a blocker.
> > >
> > Do you have a tool for checking the license? or did you check by hand
> > each files?
> >
>
>  I found this because I do an SVN diff of the two tags and review the
> commits if I haven't done it incrementally.
>
>  However, you can also run "mvn rat:check".
>
>
>
> >
> >
> >
> > >
> > > I also noticed that some of the code from Better Builds with Maven is
> > > reproduced here with the company name changed - I don't see this as a
> > > problem (it's just sample POMs), but I think it's worth being reminded
> that
> > > care should be taken if something is being copied from an external
> source.
> > >
> > Which code exactly, i don't remember having grabed code from the book.
> >
>
>  All the "proficio" bits. Like I said, I'm not concerned in this instance -
> perhaps it even was in the Maven sandbox at one point - just thought it was
> worth noting for other instances where copying might be needed.

Thanks for reminding me.
I will then create a replacement test project.

Regards,

Raphaël

>
>  Cheers,
>  Brett
>
>
>
>  --
>  Brett Porter
>  brett@apache.org
>  http://blogs.exist.com/bporter/
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Brett Porter <br...@apache.org>.
On 15/04/2008, at 7:30 PM, Raphaël Piéroni wrote:

>> I did find a bad license header here:
>> archetype-common/src/test/java/org/apache/maven/archetype/test/ 
>> InternalCatalogFromWiki.java,
>> but it's not a blocker.
> Do you have a tool for checking the license? or did you check by hand
> each files?

I found this because I do an SVN diff of the two tags and review the  
commits if I haven't done it incrementally.

However, you can also run "mvn rat:check".

>
>
>>
>> I also noticed that some of the code from Better Builds with Maven is
>> reproduced here with the company name changed - I don't see this as a
>> problem (it's just sample POMs), but I think it's worth being  
>> reminded that
>> care should be taken if something is being copied from an external  
>> source.
> Which code exactly, i don't remember having grabed code from the book.

All the "proficio" bits. Like I said, I'm not concerned in this  
instance - perhaps it even was in the Maven sandbox at one point -  
just thought it was worth noting for other instances where copying  
might be needed.

Cheers,
Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


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


Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
I no longer understand this thread.

Brett, can you please provide the output that cause you the problem,
for me to be sure not to answer something stupid.

The only problem, i can see is when the plugin provides a default
value which is not desirable for the user.

And as the default value mechanism has been enhanced, the plugin can
now provides defaults for each properties.

Raphaël

2008/4/15, Brian E. Fox <br...@reply.infinity.nu>:
>
>
>  >>  2) it no longer prompts for the groupId/etc - it goes straight to using
>  >> some default settings
>  >This is partially intended.
>  >the plugin now provides default for all values and
>  >should ask for confirmation if everithing is correctly set.
>
>
> I think this is more confusing. What was the problem with prompting the user if they didn't provide input on the command line?
>

RE: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.

>>  2) it no longer prompts for the groupId/etc - it goes straight to using
>> some default settings
>This is partially intended.
>the plugin now provides default for all values and
>should ask for confirmation if everithing is correctly set.

I think this is more confusing. What was the problem with prompting the user if they didn't provide input on the command line?

RE: prompt behaviour changes was: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Don't hard code anything, then if there is already a value, use that otherwise prompt.

-----Original Message-----
From: Raphaël Piéroni [mailto:raphaelpieroni@gmail.com] 
Sent: Thursday, April 17, 2008 2:38 PM
To: Maven Developers List
Subject: Re: prompt behaviour changes was: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

So to sum up on the behaviour,
What is desired is :
- ask for each property (proposing a default value when guessed)
- then ask for confirmation.

Currently the configuration behaviour do not know from where
comes the default values. They can come from :
- some hard coded (groupId=com.company, artifactId=quickstart,
version=1.0-SNAPSHOT, package=$groupId)
- the archetype-metadata.xml file,
- the command line options
If we go on the way defined above,
then every property will be asked.



Raphaël


2008/4/17, Arnaud HERITIER <ah...@gmail.com>:
> Same thing for me. I didn't notice it. I prefer the older behaviour.
>
>  cheers
>
>  arnaud
>
>
>  On Thu, Apr 17, 2008 at 3:41 PM, Brian E. Fox <br...@reply.infinity.nu> wrote:
>  > I also think the new defaults aren't really helpful. IMO it should support two modes: prompting the way it does in alpha-1/2 and by passing the info in the form of properties.
>  >
>  >
>  >
>  >  -----Original Message-----
>  >  From: Brett Porter [mailto:brett@apache.org]
>  >  Sent: Thursday, April 17, 2008 5:27 AM
>  >  To: Maven Developers List
>  >  Subject: Re: prompt behaviour changes was: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3
>  >
>  >
>  >  On 16/04/2008, at 1:19 AM, Raphaël Piéroni wrote:
>  >
>  >  >>> I found a regression in :generate -
>  >  >>> 1) the default (15) is no longer present
>  >  >>
>  >  >> This is not intended.
>  >  >
>  >  > This is a side effect of the new version of the internal catalog.
>  >  >
>  >  > Brett, may you please create a issue for it, i think we can live
>  >  > with that known bug and schedule it for alpha-4.
>  >  >
>  >  > If any one see it as a show stopper, i will fix it.
>  >
>  >  Done.
>  >
>  >  >>> 2) it no longer prompts for the groupId/etc - it goes straight to
>  >  >>> using
>  >  >>> some default settings
>  >  >>
>  >  >> This is partially intended.
>  >  >> the plugin now provides default for all values and
>  >  >> should ask for confirmation if everithing is correctly set.
>  >  >
>  >  > What the archetype plugin do is this:
>  >  > a. it ask for the archetype to use (il the list)
>  >  > b. It then guess sensible default values for common properties and
>  >  > additional properties.
>  >  > c. It then ask for any unguessed value.
>  >  > d. It then ask for confirmation about what was guessed/asked
>  >  > Yes this means that it only ask for confirmation when it guess all
>  >  > (common properties are always guessed)
>  >  > e. If it is not confirmed, it ask for each property a new values
>  >  > (proposing to keep the guessed value)
>  >  >
>  >  > I think this could is a better behaviour than before and permit to
>  >  > an user creating an archetype to provide some default values even for
>  >  > the common properties (like a default groupId in a corporate
>  >  > environment)
>  >
>  >  I think I prefer the previous behaviour, since most of the default
>  >  values are not intended to be kept (eg, com.example as a groupId). I
>  >  like just seeing the default, pressing enter, and continuing that way
>  >  than having to answer "N" every time and then do the same anyway. Just
>  >  IMHO :)
>  >
>  >  - Brett
>  >
>  >  --
>  >  Brett Porter
>  >  brett@apache.org
>  >  http://blogs.exist.com/bporter/
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >
>  >
>
>
>
>
> --
>  ..........................................................
>
> Arnaud HERITIER
>  ..........................................................
>  OCTO Technology - aheritier AT octo DOT com
>  www.octo.com | blog.octo.com
>  ..........................................................
>  ASF - aheritier AT apache DOT org
>  www.apache.org | maven.apache.org
>
> ...........................................................
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: prompt behaviour changes was: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
So to sum up on the behaviour,
What is desired is :
- ask for each property (proposing a default value when guessed)
- then ask for confirmation.

Currently the configuration behaviour do not know from where
comes the default values. They can come from :
- some hard coded (groupId=com.company, artifactId=quickstart,
version=1.0-SNAPSHOT, package=$groupId)
- the archetype-metadata.xml file,
- the command line options
If we go on the way defined above,
then every property will be asked.



Raphaël


2008/4/17, Arnaud HERITIER <ah...@gmail.com>:
> Same thing for me. I didn't notice it. I prefer the older behaviour.
>
>  cheers
>
>  arnaud
>
>
>  On Thu, Apr 17, 2008 at 3:41 PM, Brian E. Fox <br...@reply.infinity.nu> wrote:
>  > I also think the new defaults aren't really helpful. IMO it should support two modes: prompting the way it does in alpha-1/2 and by passing the info in the form of properties.
>  >
>  >
>  >
>  >  -----Original Message-----
>  >  From: Brett Porter [mailto:brett@apache.org]
>  >  Sent: Thursday, April 17, 2008 5:27 AM
>  >  To: Maven Developers List
>  >  Subject: Re: prompt behaviour changes was: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3
>  >
>  >
>  >  On 16/04/2008, at 1:19 AM, Raphaël Piéroni wrote:
>  >
>  >  >>> I found a regression in :generate -
>  >  >>> 1) the default (15) is no longer present
>  >  >>
>  >  >> This is not intended.
>  >  >
>  >  > This is a side effect of the new version of the internal catalog.
>  >  >
>  >  > Brett, may you please create a issue for it, i think we can live
>  >  > with that known bug and schedule it for alpha-4.
>  >  >
>  >  > If any one see it as a show stopper, i will fix it.
>  >
>  >  Done.
>  >
>  >  >>> 2) it no longer prompts for the groupId/etc - it goes straight to
>  >  >>> using
>  >  >>> some default settings
>  >  >>
>  >  >> This is partially intended.
>  >  >> the plugin now provides default for all values and
>  >  >> should ask for confirmation if everithing is correctly set.
>  >  >
>  >  > What the archetype plugin do is this:
>  >  > a. it ask for the archetype to use (il the list)
>  >  > b. It then guess sensible default values for common properties and
>  >  > additional properties.
>  >  > c. It then ask for any unguessed value.
>  >  > d. It then ask for confirmation about what was guessed/asked
>  >  > Yes this means that it only ask for confirmation when it guess all
>  >  > (common properties are always guessed)
>  >  > e. If it is not confirmed, it ask for each property a new values
>  >  > (proposing to keep the guessed value)
>  >  >
>  >  > I think this could is a better behaviour than before and permit to
>  >  > an user creating an archetype to provide some default values even for
>  >  > the common properties (like a default groupId in a corporate
>  >  > environment)
>  >
>  >  I think I prefer the previous behaviour, since most of the default
>  >  values are not intended to be kept (eg, com.example as a groupId). I
>  >  like just seeing the default, pressing enter, and continuing that way
>  >  than having to answer "N" every time and then do the same anyway. Just
>  >  IMHO :)
>  >
>  >  - Brett
>  >
>  >  --
>  >  Brett Porter
>  >  brett@apache.org
>  >  http://blogs.exist.com/bporter/
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >
>  >
>
>
>
>
> --
>  ..........................................................
>
> Arnaud HERITIER
>  ..........................................................
>  OCTO Technology - aheritier AT octo DOT com
>  www.octo.com | blog.octo.com
>  ..........................................................
>  ASF - aheritier AT apache DOT org
>  www.apache.org | maven.apache.org
>
> ...........................................................
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: prompt behaviour changes was: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Arnaud HERITIER <ah...@gmail.com>.
Same thing for me. I didn't notice it. I prefer the older behavior.

cheers

arnaud

On Thu, Apr 17, 2008 at 3:41 PM, Brian E. Fox <br...@reply.infinity.nu> wrote:
> I also think the new defaults aren't really helpful. IMO it should support two modes: prompting the way it does in alpha-1/2 and by passing the info in the form of properties.
>
>
>
>  -----Original Message-----
>  From: Brett Porter [mailto:brett@apache.org]
>  Sent: Thursday, April 17, 2008 5:27 AM
>  To: Maven Developers List
>  Subject: Re: prompt behaviour changes was: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3
>
>
>  On 16/04/2008, at 1:19 AM, Raphaël Piéroni wrote:
>
>  >>> I found a regression in :generate -
>  >>> 1) the default (15) is no longer present
>  >>
>  >> This is not intended.
>  >
>  > This is a side effect of the new version of the internal catalog.
>  >
>  > Brett, may you please create a issue for it, i think we can live
>  > with that known bug and schedule it for alpha-4.
>  >
>  > If any one see it as a show stopper, i will fix it.
>
>  Done.
>
>  >>> 2) it no longer prompts for the groupId/etc - it goes straight to
>  >>> using
>  >>> some default settings
>  >>
>  >> This is partially intended.
>  >> the plugin now provides default for all values and
>  >> should ask for confirmation if everithing is correctly set.
>  >
>  > What the archetype plugin do is this:
>  > a. it ask for the archetype to use (il the list)
>  > b. It then guess sensible default values for common properties and
>  > additional properties.
>  > c. It then ask for any unguessed value.
>  > d. It then ask for confirmation about what was guessed/asked
>  > Yes this means that it only ask for confirmation when it guess all
>  > (common properties are always guessed)
>  > e. If it is not confirmed, it ask for each property a new values
>  > (proposing to keep the guessed value)
>  >
>  > I think this could is a better behaviour than before and permit to
>  > an user creating an archetype to provide some default values even for
>  > the common properties (like a default groupId in a corporate
>  > environment)
>
>  I think I prefer the previous behaviour, since most of the default
>  values are not intended to be kept (eg, com.example as a groupId). I
>  like just seeing the default, pressing enter, and continuing that way
>  than having to answer "N" every time and then do the same anyway. Just
>  IMHO :)
>
>  - Brett
>
>  --
>  Brett Porter
>  brett@apache.org
>  http://blogs.exist.com/bporter/
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

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


RE: prompt behaviour changes was: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
I also think the new defaults aren't really helpful. IMO it should support two modes: prompting the way it does in alpha-1/2 and by passing the info in the form of properties.

-----Original Message-----
From: Brett Porter [mailto:brett@apache.org] 
Sent: Thursday, April 17, 2008 5:27 AM
To: Maven Developers List
Subject: Re: prompt behaviour changes was: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3


On 16/04/2008, at 1:19 AM, Raphaël Piéroni wrote:

>>> I found a regression in :generate -
>>> 1) the default (15) is no longer present
>>
>> This is not intended.
>
> This is a side effect of the new version of the internal catalog.
>
> Brett, may you please create a issue for it, i think we can live
> with that known bug and schedule it for alpha-4.
>
> If any one see it as a show stopper, i will fix it.

Done.

>>> 2) it no longer prompts for the groupId/etc - it goes straight to  
>>> using
>>> some default settings
>>
>> This is partially intended.
>> the plugin now provides default for all values and
>> should ask for confirmation if everithing is correctly set.
>
> What the archetype plugin do is this:
> a. it ask for the archetype to use (il the list)
> b. It then guess sensible default values for common properties and
> additional properties.
> c. It then ask for any unguessed value.
> d. It then ask for confirmation about what was guessed/asked
> Yes this means that it only ask for confirmation when it guess all
> (common properties are always guessed)
> e. If it is not confirmed, it ask for each property a new values
> (proposing to keep the guessed value)
>
> I think this could is a better behaviour than before and permit to
> an user creating an archetype to provide some default values even for
> the common properties (like a default groupId in a corporate  
> environment)

I think I prefer the previous behaviour, since most of the default  
values are not intended to be kept (eg, com.example as a groupId). I  
like just seeing the default, pressing enter, and continuing that way  
than having to answer "N" every time and then do the same anyway. Just  
IMHO :)

- Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


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


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


Re: prompt behaviour changes was: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Brett Porter <br...@apache.org>.
On 16/04/2008, at 1:19 AM, Raphaël Piéroni wrote:

>>> I found a regression in :generate -
>>> 1) the default (15) is no longer present
>>
>> This is not intended.
>
> This is a side effect of the new version of the internal catalog.
>
> Brett, may you please create a issue for it, i think we can live
> with that known bug and schedule it for alpha-4.
>
> If any one see it as a show stopper, i will fix it.

Done.

>>> 2) it no longer prompts for the groupId/etc - it goes straight to  
>>> using
>>> some default settings
>>
>> This is partially intended.
>> the plugin now provides default for all values and
>> should ask for confirmation if everithing is correctly set.
>
> What the archetype plugin do is this:
> a. it ask for the archetype to use (il the list)
> b. It then guess sensible default values for common properties and
> additional properties.
> c. It then ask for any unguessed value.
> d. It then ask for confirmation about what was guessed/asked
> Yes this means that it only ask for confirmation when it guess all
> (common properties are always guessed)
> e. If it is not confirmed, it ask for each property a new values
> (proposing to keep the guessed value)
>
> I think this could is a better behaviour than before and permit to
> an user creating an archetype to provide some default values even for
> the common properties (like a default groupId in a corporate  
> environment)

I think I prefer the previous behaviour, since most of the default  
values are not intended to be kept (eg, com.example as a groupId). I  
like just seeing the default, pressing enter, and continuing that way  
than having to answer "N" every time and then do the same anyway. Just  
IMHO :)

- Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


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


Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
Ok i now see what problems are.

2008/4/15, Raphaël Piéroni <ra...@gmail.com>:
> 2008/4/15, Brett Porter <br...@apache.org>:
>
> > I found a regression in :generate -
>  >  1) the default (15) is no longer present
>
> This is not intended.

This is a side effect of the new version of the internal catalog.

Brett, may you please create a issue for it, i think we can live
with that known bug and schedule it for alpha-4.

If any one see it as a show stopper, i will fix it.

>
>
>  >  2) it no longer prompts for the groupId/etc - it goes straight to using
>  > some default settings
>
> This is partially intended.
>  the plugin now provides default for all values and
>  should ask for confirmation if everithing is correctly set.

What the archetype plugin do is this:
a. it ask for the archetype to use (il the list)
b. It then guess sensible default values for common properties and
additional properties.
c. It then ask for any unguessed value.
d. It then ask for confirmation about what was guessed/asked
Yes this means that it only ask for confirmation when it guess all
(common properties are always guessed)
e. If it is not confirmed, it ask for each property a new values
(proposing to keep the guessed value)

I think this could is a better behaviour than before and permit to
an user creating an archetype to provide some default values even for
the common properties (like a default groupId in a corporate environment)

If no one object on 1, i plan the current vote to stay open 72 hour more.
In case of a blocker, i will fix and reschedule a vote thereafter.

Thanks,

Raphaël


>
>
>  >
>  >  Is that intended?
>  >
>  >  I did find a bad license header here:
>  > archetype-common/src/test/java/org/apache/maven/archetype/test/InternalCatalogFromWiki.java,
>  > but it's not a blocker.
>
> Do you have a tool for checking the license? or did you check by hand
>  each files?
>
>
>  >
>  >  I also noticed that some of the code from Better Builds with Maven is
>  > reproduced here with the company name changed - I don't see this as a
>  > problem (it's just sample POMs), but I think it's worth being reminded that
>  > care should be taken if something is being copied from an external source.
>
> Which code exactly, i don't remember having grabed code from the book.
>
>
>  >
>  >  I'll leave it up to you whether any are blockers. You have my +1 if you
>  > choose to go ahead.
>
> I will check tonite for issues 1 and 2.
>
>  But we currently have only 2 non binding and 1 binding vote which
>  is not enough IIRC.
>
>  Thanks
>
>
>  Raphaël
>
>
>  >
>  >  Cheers,
>  >  Brett
>  >
>  >
>  >  On 11/04/2008, at 6:22 AM, Raphaël Piéroni wrote:
>  >
>  >
>  > > Hi,
>  > >
>  > > We solved 20 issues:
>  > >
>  > http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>  > >
>  > > Staging repo:
>  > >
>  > http://people.apache.org/~rafale/archetype-stage-repository/
>  > >
>  > > Staging site:
>  > >
>  > http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>  > >
>  > > Guide to testing staged releases:
>  > >
>  > http://maven.apache.org/guides/development/guide-testing-releases.html
>  > >
>  > > Vote open for 72 hours.
>  > >
>  > > [ ] +1
>  > > [ ] +0
>  > > [ ] -1
>  > >
>  > >
>  > > Regards,
>  > >
>  > > Raphaël
>  > >
>  >
>  >  --
>  >  Brett Porter
>  >  brett@apache.org
>  >  http://blogs.exist.com/bporter/
>  >
>  >
>  >
>  > ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >
>  >
>

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
2008/4/15, Brett Porter <br...@apache.org>:
> I found a regression in :generate -
>  1) the default (15) is no longer present
This is not intended.

>  2) it no longer prompts for the groupId/etc - it goes straight to using
> some default settings
This is partially intended.
the plugin now provides default for all values and
should ask for confirmation if everithing is correctly set.

>
>  Is that intended?
>
>  I did find a bad license header here:
> archetype-common/src/test/java/org/apache/maven/archetype/test/InternalCatalogFromWiki.java,
> but it's not a blocker.
Do you have a tool for checking the license? or did you check by hand
each files?

>
>  I also noticed that some of the code from Better Builds with Maven is
> reproduced here with the company name changed - I don't see this as a
> problem (it's just sample POMs), but I think it's worth being reminded that
> care should be taken if something is being copied from an external source.
Which code exactly, i don't remember having grabed code from the book.

>
>  I'll leave it up to you whether any are blockers. You have my +1 if you
> choose to go ahead.
I will check tonite for issues 1 and 2.

But we currently have only 2 non binding and 1 binding vote which
is not enough IIRC.

Thanks

Raphaël

>
>  Cheers,
>  Brett
>
>
>  On 11/04/2008, at 6:22 AM, Raphaël Piéroni wrote:
>
>
> > Hi,
> >
> > We solved 20 issues:
> >
> http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
> >
> > Staging repo:
> >
> http://people.apache.org/~rafale/archetype-stage-repository/
> >
> > Staging site:
> >
> http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
> >
> > Guide to testing staged releases:
> >
> http://maven.apache.org/guides/development/guide-testing-releases.html
> >
> > Vote open for 72 hours.
> >
> > [ ] +1
> > [ ] +0
> > [ ] -1
> >
> >
> > Regards,
> >
> > Raphaël
> >
>
>  --
>  Brett Porter
>  brett@apache.org
>  http://blogs.exist.com/bporter/
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Brett Porter <br...@apache.org>.
I found a regression in :generate -
1) the default (15) is no longer present
2) it no longer prompts for the groupId/etc - it goes straight to  
using some default settings

Is that intended?

I did find a bad license header here: archetype-common/src/test/java/ 
org/apache/maven/archetype/test/InternalCatalogFromWiki.java, but it's  
not a blocker.

I also noticed that some of the code from Better Builds with Maven is  
reproduced here with the company name changed - I don't see this as a  
problem (it's just sample POMs), but I think it's worth being reminded  
that care should be taken if something is being copied from an  
external source.

I'll leave it up to you whether any are blockers. You have my +1 if  
you choose to go ahead.

Cheers,
Brett

On 11/04/2008, at 6:22 AM, Raphaël Piéroni wrote:

> Hi,
>
> We solved 20 issues:
> http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>
> Staging repo:
> http://people.apache.org/~rafale/archetype-stage-repository/
>
> Staging site:
> http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
>
> Vote open for 72 hours.
>
> [ ] +1
> [ ] +0
> [ ] -1
>
>
> Regards,
>
> Raphaël

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


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


RE: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Taking back the -1 since I found this to be a local configuration issue.

I found that the default behavior no longer prompts you for the version you are creating, just the group,artifact,version,package. You have to say N to the prompt and re-enter all the values to change the version. This is a little confusing, especially if you're used to the old way.

-----Original Message-----
From: Brian E. Fox [mailto:brianf@reply.infinity.nu] 
Sent: Wednesday, April 23, 2008 11:42 AM
To: Maven Developers List
Subject: RE: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

-1 for now since I'm getting an error:

Choose a number:  (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/3
4/35/36/37/38/39/40/41/42/43/44) 15: : 15
[INFO] artifact org.apache.maven.archetypes:maven-archetype-quickstart: checking for updates from maven-archet
ype-quickstart-repo
[INFO] artifact org.apache.maven.archetypes:maven-archetype-quickstart: checking for updates from central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] : org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype does not exist (org.apac
he.maven.archetypes:maven-archetype-quickstart:RELEASE)
The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE)

The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Wed Apr 23 11:39:45 EDT 2008
[INFO] Final Memory: 8M/14M
[INFO] ------------------------------------------------------------------------

This is with 2.0.9 and a mirrorOf external:* pointed to my public Nexus group.

-----Original Message-----
From: Raphaël Piéroni [mailto:raphaelpieroni@gmail.com] 
Sent: Thursday, April 10, 2008 6:22 PM
To: Maven Developers List
Subject: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Hi,

We solved 20 issues:
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088

Staging repo:
http://people.apache.org/~rafale/archetype-stage-repository/

Staging site:
http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3

Guide to testing staged releases:
http://maven.apache.org/guides/development/guide-testing-releases.html

Vote open for 72 hours.

[ ] +1
[ ] +0
[ ] -1


Regards,

Raphaël

RE: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
FWIW, I was able to use 2.0-alpha-2 without any issues on my current setup. This makes me believe something is broken in the alpha-3.

-----Original Message-----
From: Brian E. Fox [mailto:brianf@reply.infinity.nu] 
Sent: Wednesday, April 23, 2008 11:42 AM
To: Maven Developers List
Subject: RE: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

-1 for now since I'm getting an error:

Choose a number:  (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/3
4/35/36/37/38/39/40/41/42/43/44) 15: : 15
[INFO] artifact org.apache.maven.archetypes:maven-archetype-quickstart: checking for updates from maven-archet
ype-quickstart-repo
[INFO] artifact org.apache.maven.archetypes:maven-archetype-quickstart: checking for updates from central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] : org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype does not exist (org.apac
he.maven.archetypes:maven-archetype-quickstart:RELEASE)
The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE)

The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Wed Apr 23 11:39:45 EDT 2008
[INFO] Final Memory: 8M/14M
[INFO] ------------------------------------------------------------------------

This is with 2.0.9 and a mirrorOf external:* pointed to my public Nexus group.

-----Original Message-----
From: Raphaël Piéroni [mailto:raphaelpieroni@gmail.com] 
Sent: Thursday, April 10, 2008 6:22 PM
To: Maven Developers List
Subject: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Hi,

We solved 20 issues:
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088

Staging repo:
http://people.apache.org/~rafale/archetype-stage-repository/

Staging site:
http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3

Guide to testing staged releases:
http://maven.apache.org/guides/development/guide-testing-releases.html

Vote open for 72 hours.

[ ] +1
[ ] +0
[ ] -1


Regards,

Raphaël

RE: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
-1 for now since I'm getting an error:

Choose a number:  (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/3
4/35/36/37/38/39/40/41/42/43/44) 15: : 15
[INFO] artifact org.apache.maven.archetypes:maven-archetype-quickstart: checking for updates from maven-archet
ype-quickstart-repo
[INFO] artifact org.apache.maven.archetypes:maven-archetype-quickstart: checking for updates from central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] : org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype does not exist (org.apac
he.maven.archetypes:maven-archetype-quickstart:RELEASE)
The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE)

The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Wed Apr 23 11:39:45 EDT 2008
[INFO] Final Memory: 8M/14M
[INFO] ------------------------------------------------------------------------

This is with 2.0.9 and a mirrorOf external:* pointed to my public Nexus group.

-----Original Message-----
From: Raphaël Piéroni [mailto:raphaelpieroni@gmail.com] 
Sent: Thursday, April 10, 2008 6:22 PM
To: Maven Developers List
Subject: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Hi,

We solved 20 issues:
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088

Staging repo:
http://people.apache.org/~rafale/archetype-stage-repository/

Staging site:
http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3

Guide to testing staged releases:
http://maven.apache.org/guides/development/guide-testing-releases.html

Vote open for 72 hours.

[ ] +1
[ ] +0
[ ] -1


Regards,

Raphaël

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Milos Kleint <mk...@gmail.com>.
ok. it seems to work then when I change to "generate" goal. However I
would still believe that the "create" goal should also be able to
create the project, but that's just my 2 cents.

I've found other problem with the generate goal though.
When I execute it with network plugged in, everything seems to work,
however when I unplug the cable generating a project from the exact
same template as before fails with an error that the archetype
template cannot be downloaded.

again the alpha-1's create goal doesn't exhibit such behaviour.

Milos

On Mon, Apr 14, 2008 at 2:10 PM, Raphaël Piéroni
<ra...@gmail.com> wrote:
> You can always use archetype:generate in netbeans integration.
>
>  - archetype:create is the same code as in the 1.0-alpha-7 plugin.
>  - archetype:generate is the new goal but it knows to recognize between
>  the two formats
>   and use the associated generator.
>
>
>
>  Raphaël
>
>  2008/4/14, Milos Kleint <mk...@gmail.com>:
>  > I see.
>  >  However it's hard for me to guess which goal shall be run. It means I
>  >  need to download the archetype, examine it's content and then execute
>  >  the right goal from within the IDE codebase. I guess I could do that
>  >  but I think the alpha-1 did somehow manage to figure the difference?
>  >
>  >  Milos
>  >
>  >  On Mon, Apr 14, 2008 at 1:42 PM, Raphaël Piéroni
>  >
>  > <ra...@gmail.com> wrote:
>  >  > Hi Milos,
>  >  >
>  >  >  Thanks for the feedback.
>  >  >
>  >  >  If the archetype you tried use the archetype-metadata.xml (new
>  >  >  descriptor) instead of the old archetype.xml (1.0-alpha-7 descriptor),
>  >  >  then the goal to call
>  >  >  is mvn archetype:generate. the goal archetype:create is the same as in
>  >  >  the 1.0-alpha-7 version.
>  >  >
>  >  >  I will look further on the stack trace at home.
>  >  >
>  >  >  Raphaël
>  >  >
>  >  >  2008/4/14, Milos Kleint <mk...@gmail.com>:
>  >  >
>  >  >
>  >  > > I've tried with netbeans integration (where alpha-1 works) and it somehow fails.
>  >  >  >  the debug output is below.
>  >  >  >
>  >  >  >  the strange part is this line
>  >  >  >  Using following parameters for creating OldArchetype: nbm-archetype:1.0.1
>  >  >  >  the nbm-archetype in question is actually an new archetype, not the old one.
>  >  >  >  http://repo1.maven.org/maven2/org/codehaus/mojo/archetypes/nbm-archetype/1.0.1/
>  >  >  >
>  >  >  >  Regards
>  >  >  >
>  >  >  >  Milos
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  [DEBUG]Looked up -
>  >  >  >  org.apache.maven.archetype.mojos.MavenArchetypeMojo@1b59bdf -
>  >  >  >  ClassRealm[/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  >  >  >  project_2, parent: ClassRealm[plexus.core, parent: null]]
>  >  >  >  [DEBUG]Configuring mojo
>  >  >  >  'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:create'
>  >  >  >  with basic configurator -->
>  >  >  >  [DEBUG]  (f) archetypeArtifactId = nbm-archetype
>  >  >  >  [DEBUG]  (f) archetypeGroupId = org.codehaus.mojo.archetypes
>  >  >  >  [DEBUG]  (f) archetypeVersion = 1.0.1
>  >  >  >  [DEBUG]  (f) artifactId = mavenproject4
>  >  >  >  [DEBUG]  (f) basedir = /home/mkleint/NetBeansProjects
>  >  >  >  [DEBUG]  (f) groupId = com.mycompany
>  >  >  >  [DEBUG]  (f) localRepository = [local] -> file:///home/mkleint/.m2/repository
>  >  >  >  [DEBUG]  (f) pomRemoteRepositories = [[staging] ->
>  >  >  >  http://people.apache.org/~rafale/archetype-stage-repository/,
>  >  >  >  [central] -> http://repo1.maven.org/maven2]
>  >  >  >  [DEBUG]  (f) project = MavenProject: org.apache.maven:super-pom:2.1 @
>  >  >  >  [DEBUG]  (f) version = 1.0-SNAPSHOT
>  >  >  >  [DEBUG]-- end configuration --
>  >  >  >  [archetype:create]
>  >  >  >  [DEBUG]Setting context classloader for plugin to:
>  >  >  >  /plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  >  >  >  project_2 (instance is:
>  >  >  >  ClassRealm[/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  >  >  >  project_2, parent: ClassRealm[plexus.core, parent: null]])
>  >  >  >  [WARN]This goal is deprecated. Please use mvn archetype:generate instead
>  >  >  >  Defaulting package to group ID: com.mycompany
>  >  >  >  [DEBUG]Trying repository staging
>  >  >  >  [DEBUG]Unable to get resource
>  >  >  >  'org.codehaus.mojo.archetypes:nbm-archetype:jar:1.0.1' from repository
>  >  >  >  staging (http://people.apache.org/~rafale/archetype-stage-repository/)
>  >  >  >  org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate
>  >  >  >  resource in repository
>  >  >  >         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:100)
>  >  >  >         at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:94)
>  >  >  >         at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:525)
>  >  >  >         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:431)
>  >  >  >         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:348)
>  >  >  >         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:192)
>  >  >  >         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:94)
>  >  >  >         at org.apache.maven.archetype.downloader.DefaultDownloader.downloadOld(DefaultDownloader.java:91)
>  >  >  >         at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:122)
>  >  >  >         at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  >  >  >         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  >  >  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  >  >  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  >  >  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  >  >  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  >  >  >         at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  >  >  >         at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  >  >  >         at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  >  >  >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  >  >  >         at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  >  >  >         at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  >  >  >         at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  >  >  >         at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  >  >  >         at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  >  >  >  Caused by: java.io.FileNotFoundException:
>  >  >  >  http://people.apache.org/~rafale/archetype-stage-repository/org/codehaus/mojo/archetypes/nbm-archetype/1.0.1/nbm-archetype-1.0.1.jar
>  >  >  >         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1151)
>  >  >  >         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
>  >  >  >         ... 23 more
>  >  >  >  [DEBUG]Trying repository central
>  >  >  >  [DEBUG]  Artifact resolved
>  >  >  >  ----------------------------------------------------------------------------
>  >  >  >  Using following parameters for creating OldArchetype: nbm-archetype:1.0.1
>  >  >  >  ----------------------------------------------------------------------------
>  >  >  >  Parameter: groupId, Value: com.mycompany
>  >  >  >  Parameter: packageName, Value: com.mycompany
>  >  >  >  Parameter: basedir, Value: /home/mkleint/NetBeansProjects
>  >  >  >  Parameter: package, Value: com.mycompany
>  >  >  >  Parameter: version, Value: 1.0-SNAPSHOT
>  >  >  >  Parameter: artifactId, Value: mavenproject4
>  >  >  >  [ERROR]
>  >  >  >  [ERROR]
>  >  >  >  [ERROR]The following mojo encountered an error while executing:
>  >  >  >  [ERROR]Group-Id: org.apache.maven.plugins
>  >  >  >  [ERROR]Artifact-Id: maven-archetype-plugin
>  >  >  >  [ERROR]Version: 2.0-alpha-3
>  >  >  >  [ERROR]Mojo: create
>  >  >  >  [ERROR]brought in via: Direct invocation
>  >  >  >  [ERROR]
>  >  >  >  [ERROR]While building project:
>  >  >  >  [ERROR]Group-Id: org.apache.maven
>  >  >  >  [ERROR]Artifact-Id: super-pom
>  >  >  >  [ERROR]Version: 2.1
>  >  >  >  [ERROR]From file: null
>  >  >  >  [ERROR]Reason: Error creating from archetype
>  >  >  >  [ERROR]
>  >  >  >  [ERROR]org.apache.maven.archetype.old.ArchetypeDescriptorException:
>  >  >  >  The META-INF/maven/archetype.xml descriptor cannot be found.
>  >  >  >  [ERROR] at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:193)
>  >  >  >  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  >  >  >  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  >  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  >  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  >  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  >  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  >  >  >  [ERROR] at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  >  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  >  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  >  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  >  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  >  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  >  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  >  >  >  [ERROR] at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  >  >  >  [ERROR] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  >  >  >  [ERROR]
>  >  >  >  [ERROR]
>  >  >  >  [ERROR]
>  >  >  >  [ERROR]Error stacktrace:
>  >  >  >  [ERROR]org.apache.maven.lifecycle.LifecycleExecutionException:
>  >  >  >  Internal error in the plugin manager executing goal
>  >  >  >  'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:create':
>  >  >  >  Mojo execution failed.
>  >  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508)
>  >  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  >  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  >  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  >  >  >  [ERROR] at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  >  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  >  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  >  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  >  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  >  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  >  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  >  >  >  [ERROR] at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  >  >  >  [ERROR] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  >  >  >  [ERROR]Caused by: org.apache.maven.plugin.PluginExecutionException:
>  >  >  >  Mojo execution failed.
>  >  >  >  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:595)
>  >  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  >  >  >  [ERROR] ... 12 more
>  >  >  >  [ERROR]Caused by: org.apache.maven.plugin.MojoExecutionException:
>  >  >  >  Error creating from archetype
>  >  >  >  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:244)
>  >  >  >  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  >  >  >  [ERROR] ... 13 more
>  >  >  >  [ERROR]Caused by:
>  >  >  >  org.apache.maven.archetype.old.ArchetypeDescriptorException: The
>  >  >  >  META-INF/maven/archetype.xml descriptor cannot be found.
>  >  >  >  [ERROR] at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:193)
>  >  >  >  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  >  >  >  [ERROR] ... 14 more
>  >  >  >  ------------------------------------------------------------------------
>  >  >  >  BUILD FAILED
>  >  >  >  ------------------------------------------------------------------------
>  >  >  >  Total time: 3 seconds
>  >  >  >  Finished at: Mon Apr 14 13:13:26 CEST 2008
>  >  >  >  Final Memory: 36M/85M
>  >  >  >  ------------------------------------------------------------------------
>  >  >  >
>  >  >  >
>  >  >  >  On Mon, Apr 14, 2008 at 12:05 PM, Raphaël Piéroni
>  >  >  >  <ra...@gmail.com> wrote:
>  >  >  >  > Any one else has tested the plugin?
>  >  >  >  >  I have not enough votes for the release.
>  >  >  >  >
>  >  >  >  >  Regards,
>  >  >  >  >
>  >  >  >  >  Raphaël
>  >  >  >  >
>  >  >  >  >  2008/4/14, Jason Dillon <ja...@planet57.com>:
>  >  >  >  >
>  >  >  >  >
>  >  >  >  > > +1
>  >  >  >  >  >
>  >  >  >  >  >  ---jason
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  >  On Apr 11, 2008, at 5:22 AM, Raphaël Piéroni wrote:
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  > > Hi,
>  >  >  >  >  > >
>  >  >  >  >  > > We solved 20 issues:
>  >  >  >  >  > >
>  >  >  >  >  > http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>  >  >  >  >  > >
>  >  >  >  >  > > Staging repo:
>  >  >  >  >  > >
>  >  >  >  >  > http://people.apache.org/~rafale/archetype-stage-repository/
>  >  >  >  >  > >
>  >  >  >  >  > > Staging site:
>  >  >  >  >  > >
>  >  >  >  >  > http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>  >  >  >  >  > >
>  >  >  >  >  > > Guide to testing staged releases:
>  >  >  >  >  > >
>  >  >  >  >  > http://maven.apache.org/guides/development/guide-testing-releases.html
>  >  >  >  >  > >
>  >  >  >  >  > > Vote open for 72 hours.
>  >  >  >  >  > >
>  >  >  >  >  > > [ ] +1
>  >  >  >  >  > > [ ] +0
>  >  >  >  >  > > [ ] -1
>  >  >  >  >  > >
>  >  >  >  >  > >
>  >  >  >  >  > > Regards,
>  >  >  >  >  > >
>  >  >  >  >  > > Raphaël
>  >  >  >  >  > >
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >  > ---------------------------------------------------------------------
>  >  >  >  >  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  >  >  >  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >  >  >  >  >
>  >  >  >  >  >
>  >  >  >  >
>  >  >  >
>  >  >  >  ---------------------------------------------------------------------
>  >  >  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  >  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >  >  >
>  >  >  >
>  >  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >
>  >
>

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


Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
You can always use archetype:generate in netbeans integration.

- archetype:create is the same code as in the 1.0-alpha-7 plugin.
- archetype:generate is the new goal but it knows to recognize between
the two formats
  and use the associated generator.

Raphaël

2008/4/14, Milos Kleint <mk...@gmail.com>:
> I see.
>  However it's hard for me to guess which goal shall be run. It means I
>  need to download the archetype, examine it's content and then execute
>  the right goal from within the IDE codebase. I guess I could do that
>  but I think the alpha-1 did somehow manage to figure the difference?
>
>  Milos
>
>  On Mon, Apr 14, 2008 at 1:42 PM, Raphaël Piéroni
>
> <ra...@gmail.com> wrote:
>  > Hi Milos,
>  >
>  >  Thanks for the feedback.
>  >
>  >  If the archetype you tried use the archetype-metadata.xml (new
>  >  descriptor) instead of the old archetype.xml (1.0-alpha-7 descriptor),
>  >  then the goal to call
>  >  is mvn archetype:generate. the goal archetype:create is the same as in
>  >  the 1.0-alpha-7 version.
>  >
>  >  I will look further on the stack trace at home.
>  >
>  >  Raphaël
>  >
>  >  2008/4/14, Milos Kleint <mk...@gmail.com>:
>  >
>  >
>  > > I've tried with netbeans integration (where alpha-1 works) and it somehow fails.
>  >  >  the debug output is below.
>  >  >
>  >  >  the strange part is this line
>  >  >  Using following parameters for creating OldArchetype: nbm-archetype:1.0.1
>  >  >  the nbm-archetype in question is actually an new archetype, not the old one.
>  >  >  http://repo1.maven.org/maven2/org/codehaus/mojo/archetypes/nbm-archetype/1.0.1/
>  >  >
>  >  >  Regards
>  >  >
>  >  >  Milos
>  >  >
>  >  >
>  >  >
>  >  >  [DEBUG]Looked up -
>  >  >  org.apache.maven.archetype.mojos.MavenArchetypeMojo@1b59bdf -
>  >  >  ClassRealm[/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  >  >  project_2, parent: ClassRealm[plexus.core, parent: null]]
>  >  >  [DEBUG]Configuring mojo
>  >  >  'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:create'
>  >  >  with basic configurator -->
>  >  >  [DEBUG]  (f) archetypeArtifactId = nbm-archetype
>  >  >  [DEBUG]  (f) archetypeGroupId = org.codehaus.mojo.archetypes
>  >  >  [DEBUG]  (f) archetypeVersion = 1.0.1
>  >  >  [DEBUG]  (f) artifactId = mavenproject4
>  >  >  [DEBUG]  (f) basedir = /home/mkleint/NetBeansProjects
>  >  >  [DEBUG]  (f) groupId = com.mycompany
>  >  >  [DEBUG]  (f) localRepository = [local] -> file:///home/mkleint/.m2/repository
>  >  >  [DEBUG]  (f) pomRemoteRepositories = [[staging] ->
>  >  >  http://people.apache.org/~rafale/archetype-stage-repository/,
>  >  >  [central] -> http://repo1.maven.org/maven2]
>  >  >  [DEBUG]  (f) project = MavenProject: org.apache.maven:super-pom:2.1 @
>  >  >  [DEBUG]  (f) version = 1.0-SNAPSHOT
>  >  >  [DEBUG]-- end configuration --
>  >  >  [archetype:create]
>  >  >  [DEBUG]Setting context classloader for plugin to:
>  >  >  /plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  >  >  project_2 (instance is:
>  >  >  ClassRealm[/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  >  >  project_2, parent: ClassRealm[plexus.core, parent: null]])
>  >  >  [WARN]This goal is deprecated. Please use mvn archetype:generate instead
>  >  >  Defaulting package to group ID: com.mycompany
>  >  >  [DEBUG]Trying repository staging
>  >  >  [DEBUG]Unable to get resource
>  >  >  'org.codehaus.mojo.archetypes:nbm-archetype:jar:1.0.1' from repository
>  >  >  staging (http://people.apache.org/~rafale/archetype-stage-repository/)
>  >  >  org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate
>  >  >  resource in repository
>  >  >         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:100)
>  >  >         at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:94)
>  >  >         at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:525)
>  >  >         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:431)
>  >  >         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:348)
>  >  >         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:192)
>  >  >         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:94)
>  >  >         at org.apache.maven.archetype.downloader.DefaultDownloader.downloadOld(DefaultDownloader.java:91)
>  >  >         at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:122)
>  >  >         at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  >  >         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  >  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  >  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  >  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  >  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  >  >         at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  >  >         at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  >  >         at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  >  >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  >  >         at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  >  >         at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  >  >         at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  >  >         at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  >  >         at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  >  >  Caused by: java.io.FileNotFoundException:
>  >  >  http://people.apache.org/~rafale/archetype-stage-repository/org/codehaus/mojo/archetypes/nbm-archetype/1.0.1/nbm-archetype-1.0.1.jar
>  >  >         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1151)
>  >  >         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
>  >  >         ... 23 more
>  >  >  [DEBUG]Trying repository central
>  >  >  [DEBUG]  Artifact resolved
>  >  >  ----------------------------------------------------------------------------
>  >  >  Using following parameters for creating OldArchetype: nbm-archetype:1.0.1
>  >  >  ----------------------------------------------------------------------------
>  >  >  Parameter: groupId, Value: com.mycompany
>  >  >  Parameter: packageName, Value: com.mycompany
>  >  >  Parameter: basedir, Value: /home/mkleint/NetBeansProjects
>  >  >  Parameter: package, Value: com.mycompany
>  >  >  Parameter: version, Value: 1.0-SNAPSHOT
>  >  >  Parameter: artifactId, Value: mavenproject4
>  >  >  [ERROR]
>  >  >  [ERROR]
>  >  >  [ERROR]The following mojo encountered an error while executing:
>  >  >  [ERROR]Group-Id: org.apache.maven.plugins
>  >  >  [ERROR]Artifact-Id: maven-archetype-plugin
>  >  >  [ERROR]Version: 2.0-alpha-3
>  >  >  [ERROR]Mojo: create
>  >  >  [ERROR]brought in via: Direct invocation
>  >  >  [ERROR]
>  >  >  [ERROR]While building project:
>  >  >  [ERROR]Group-Id: org.apache.maven
>  >  >  [ERROR]Artifact-Id: super-pom
>  >  >  [ERROR]Version: 2.1
>  >  >  [ERROR]From file: null
>  >  >  [ERROR]Reason: Error creating from archetype
>  >  >  [ERROR]
>  >  >  [ERROR]org.apache.maven.archetype.old.ArchetypeDescriptorException:
>  >  >  The META-INF/maven/archetype.xml descriptor cannot be found.
>  >  >  [ERROR] at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:193)
>  >  >  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  >  >  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  >  >  [ERROR] at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  >  >  [ERROR] at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  >  >  [ERROR] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  >  >  [ERROR]
>  >  >  [ERROR]
>  >  >  [ERROR]
>  >  >  [ERROR]Error stacktrace:
>  >  >  [ERROR]org.apache.maven.lifecycle.LifecycleExecutionException:
>  >  >  Internal error in the plugin manager executing goal
>  >  >  'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:create':
>  >  >  Mojo execution failed.
>  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508)
>  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  >  >  [ERROR] at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  >  >  [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  >  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  >  >  [ERROR] at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  >  >  [ERROR] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  >  >  [ERROR]Caused by: org.apache.maven.plugin.PluginExecutionException:
>  >  >  Mojo execution failed.
>  >  >  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:595)
>  >  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  >  >  [ERROR] ... 12 more
>  >  >  [ERROR]Caused by: org.apache.maven.plugin.MojoExecutionException:
>  >  >  Error creating from archetype
>  >  >  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:244)
>  >  >  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  >  >  [ERROR] ... 13 more
>  >  >  [ERROR]Caused by:
>  >  >  org.apache.maven.archetype.old.ArchetypeDescriptorException: The
>  >  >  META-INF/maven/archetype.xml descriptor cannot be found.
>  >  >  [ERROR] at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:193)
>  >  >  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  >  >  [ERROR] ... 14 more
>  >  >  ------------------------------------------------------------------------
>  >  >  BUILD FAILED
>  >  >  ------------------------------------------------------------------------
>  >  >  Total time: 3 seconds
>  >  >  Finished at: Mon Apr 14 13:13:26 CEST 2008
>  >  >  Final Memory: 36M/85M
>  >  >  ------------------------------------------------------------------------
>  >  >
>  >  >
>  >  >  On Mon, Apr 14, 2008 at 12:05 PM, Raphaël Piéroni
>  >  >  <ra...@gmail.com> wrote:
>  >  >  > Any one else has tested the plugin?
>  >  >  >  I have not enough votes for the release.
>  >  >  >
>  >  >  >  Regards,
>  >  >  >
>  >  >  >  Raphaël
>  >  >  >
>  >  >  >  2008/4/14, Jason Dillon <ja...@planet57.com>:
>  >  >  >
>  >  >  >
>  >  >  > > +1
>  >  >  >  >
>  >  >  >  >  ---jason
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >
>  >  >  >  >  On Apr 11, 2008, at 5:22 AM, Raphaël Piéroni wrote:
>  >  >  >  >
>  >  >  >  >
>  >  >  >  > > Hi,
>  >  >  >  > >
>  >  >  >  > > We solved 20 issues:
>  >  >  >  > >
>  >  >  >  > http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>  >  >  >  > >
>  >  >  >  > > Staging repo:
>  >  >  >  > >
>  >  >  >  > http://people.apache.org/~rafale/archetype-stage-repository/
>  >  >  >  > >
>  >  >  >  > > Staging site:
>  >  >  >  > >
>  >  >  >  > http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>  >  >  >  > >
>  >  >  >  > > Guide to testing staged releases:
>  >  >  >  > >
>  >  >  >  > http://maven.apache.org/guides/development/guide-testing-releases.html
>  >  >  >  > >
>  >  >  >  > > Vote open for 72 hours.
>  >  >  >  > >
>  >  >  >  > > [ ] +1
>  >  >  >  > > [ ] +0
>  >  >  >  > > [ ] -1
>  >  >  >  > >
>  >  >  >  > >
>  >  >  >  > > Regards,
>  >  >  >  > >
>  >  >  >  > > Raphaël
>  >  >  >  > >
>  >  >  >  >
>  >  >  >  >
>  >  >  >  > ---------------------------------------------------------------------
>  >  >  >  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  >  >  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >  >  >  >
>  >  >  >  >
>  >  >  >
>  >  >
>  >  >  ---------------------------------------------------------------------
>  >  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >  >
>  >  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Milos Kleint <mk...@gmail.com>.
I see.
However it's hard for me to guess which goal shall be run. It means I
need to download the archetype, examine it's content and then execute
the right goal from within the IDE codebase. I guess I could do that
but I think the alpha-1 did somehow manage to figure the difference?

Milos

On Mon, Apr 14, 2008 at 1:42 PM, Raphaël Piéroni
<ra...@gmail.com> wrote:
> Hi Milos,
>
>  Thanks for the feedback.
>
>  If the archetype you tried use the archetype-metadata.xml (new
>  descriptor) instead of the old archetype.xml (1.0-alpha-7 descriptor),
>  then the goal to call
>  is mvn archetype:generate. the goal archetype:create is the same as in
>  the 1.0-alpha-7 version.
>
>  I will look further on the stack trace at home.
>
>  Raphaël
>
>  2008/4/14, Milos Kleint <mk...@gmail.com>:
>
>
> > I've tried with netbeans integration (where alpha-1 works) and it somehow fails.
>  >  the debug output is below.
>  >
>  >  the strange part is this line
>  >  Using following parameters for creating OldArchetype: nbm-archetype:1.0.1
>  >  the nbm-archetype in question is actually an new archetype, not the old one.
>  >  http://repo1.maven.org/maven2/org/codehaus/mojo/archetypes/nbm-archetype/1.0.1/
>  >
>  >  Regards
>  >
>  >  Milos
>  >
>  >
>  >
>  >  [DEBUG]Looked up -
>  >  org.apache.maven.archetype.mojos.MavenArchetypeMojo@1b59bdf -
>  >  ClassRealm[/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  >  project_2, parent: ClassRealm[plexus.core, parent: null]]
>  >  [DEBUG]Configuring mojo
>  >  'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:create'
>  >  with basic configurator -->
>  >  [DEBUG]  (f) archetypeArtifactId = nbm-archetype
>  >  [DEBUG]  (f) archetypeGroupId = org.codehaus.mojo.archetypes
>  >  [DEBUG]  (f) archetypeVersion = 1.0.1
>  >  [DEBUG]  (f) artifactId = mavenproject4
>  >  [DEBUG]  (f) basedir = /home/mkleint/NetBeansProjects
>  >  [DEBUG]  (f) groupId = com.mycompany
>  >  [DEBUG]  (f) localRepository = [local] -> file:///home/mkleint/.m2/repository
>  >  [DEBUG]  (f) pomRemoteRepositories = [[staging] ->
>  >  http://people.apache.org/~rafale/archetype-stage-repository/,
>  >  [central] -> http://repo1.maven.org/maven2]
>  >  [DEBUG]  (f) project = MavenProject: org.apache.maven:super-pom:2.1 @
>  >  [DEBUG]  (f) version = 1.0-SNAPSHOT
>  >  [DEBUG]-- end configuration --
>  >  [archetype:create]
>  >  [DEBUG]Setting context classloader for plugin to:
>  >  /plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  >  project_2 (instance is:
>  >  ClassRealm[/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  >  project_2, parent: ClassRealm[plexus.core, parent: null]])
>  >  [WARN]This goal is deprecated. Please use mvn archetype:generate instead
>  >  Defaulting package to group ID: com.mycompany
>  >  [DEBUG]Trying repository staging
>  >  [DEBUG]Unable to get resource
>  >  'org.codehaus.mojo.archetypes:nbm-archetype:jar:1.0.1' from repository
>  >  staging (http://people.apache.org/~rafale/archetype-stage-repository/)
>  >  org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate
>  >  resource in repository
>  >         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:100)
>  >         at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:94)
>  >         at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:525)
>  >         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:431)
>  >         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:348)
>  >         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:192)
>  >         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:94)
>  >         at org.apache.maven.archetype.downloader.DefaultDownloader.downloadOld(DefaultDownloader.java:91)
>  >         at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:122)
>  >         at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  >         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  >         at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  >         at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  >         at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  >         at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  >         at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  >         at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  >         at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  >         at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  >  Caused by: java.io.FileNotFoundException:
>  >  http://people.apache.org/~rafale/archetype-stage-repository/org/codehaus/mojo/archetypes/nbm-archetype/1.0.1/nbm-archetype-1.0.1.jar
>  >         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1151)
>  >         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
>  >         ... 23 more
>  >  [DEBUG]Trying repository central
>  >  [DEBUG]  Artifact resolved
>  >  ----------------------------------------------------------------------------
>  >  Using following parameters for creating OldArchetype: nbm-archetype:1.0.1
>  >  ----------------------------------------------------------------------------
>  >  Parameter: groupId, Value: com.mycompany
>  >  Parameter: packageName, Value: com.mycompany
>  >  Parameter: basedir, Value: /home/mkleint/NetBeansProjects
>  >  Parameter: package, Value: com.mycompany
>  >  Parameter: version, Value: 1.0-SNAPSHOT
>  >  Parameter: artifactId, Value: mavenproject4
>  >  [ERROR]
>  >  [ERROR]
>  >  [ERROR]The following mojo encountered an error while executing:
>  >  [ERROR]Group-Id: org.apache.maven.plugins
>  >  [ERROR]Artifact-Id: maven-archetype-plugin
>  >  [ERROR]Version: 2.0-alpha-3
>  >  [ERROR]Mojo: create
>  >  [ERROR]brought in via: Direct invocation
>  >  [ERROR]
>  >  [ERROR]While building project:
>  >  [ERROR]Group-Id: org.apache.maven
>  >  [ERROR]Artifact-Id: super-pom
>  >  [ERROR]Version: 2.1
>  >  [ERROR]From file: null
>  >  [ERROR]Reason: Error creating from archetype
>  >  [ERROR]
>  >  [ERROR]org.apache.maven.archetype.old.ArchetypeDescriptorException:
>  >  The META-INF/maven/archetype.xml descriptor cannot be found.
>  >  [ERROR] at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:193)
>  >  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  >  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  >  [ERROR] at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  >  [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  >  [ERROR] at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  >  [ERROR] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  >  [ERROR]
>  >  [ERROR]
>  >  [ERROR]
>  >  [ERROR]Error stacktrace:
>  >  [ERROR]org.apache.maven.lifecycle.LifecycleExecutionException:
>  >  Internal error in the plugin manager executing goal
>  >  'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:create':
>  >  Mojo execution failed.
>  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508)
>  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  >  [ERROR] at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  >  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  >  [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  >  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  >  [ERROR] at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  >  [ERROR] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  >  [ERROR]Caused by: org.apache.maven.plugin.PluginExecutionException:
>  >  Mojo execution failed.
>  >  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:595)
>  >  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  >  [ERROR] ... 12 more
>  >  [ERROR]Caused by: org.apache.maven.plugin.MojoExecutionException:
>  >  Error creating from archetype
>  >  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:244)
>  >  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  >  [ERROR] ... 13 more
>  >  [ERROR]Caused by:
>  >  org.apache.maven.archetype.old.ArchetypeDescriptorException: The
>  >  META-INF/maven/archetype.xml descriptor cannot be found.
>  >  [ERROR] at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:193)
>  >  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  >  [ERROR] ... 14 more
>  >  ------------------------------------------------------------------------
>  >  BUILD FAILED
>  >  ------------------------------------------------------------------------
>  >  Total time: 3 seconds
>  >  Finished at: Mon Apr 14 13:13:26 CEST 2008
>  >  Final Memory: 36M/85M
>  >  ------------------------------------------------------------------------
>  >
>  >
>  >  On Mon, Apr 14, 2008 at 12:05 PM, Raphaël Piéroni
>  >  <ra...@gmail.com> wrote:
>  >  > Any one else has tested the plugin?
>  >  >  I have not enough votes for the release.
>  >  >
>  >  >  Regards,
>  >  >
>  >  >  Raphaël
>  >  >
>  >  >  2008/4/14, Jason Dillon <ja...@planet57.com>:
>  >  >
>  >  >
>  >  > > +1
>  >  >  >
>  >  >  >  ---jason
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  On Apr 11, 2008, at 5:22 AM, Raphaël Piéroni wrote:
>  >  >  >
>  >  >  >
>  >  >  > > Hi,
>  >  >  > >
>  >  >  > > We solved 20 issues:
>  >  >  > >
>  >  >  > http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>  >  >  > >
>  >  >  > > Staging repo:
>  >  >  > >
>  >  >  > http://people.apache.org/~rafale/archetype-stage-repository/
>  >  >  > >
>  >  >  > > Staging site:
>  >  >  > >
>  >  >  > http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>  >  >  > >
>  >  >  > > Guide to testing staged releases:
>  >  >  > >
>  >  >  > http://maven.apache.org/guides/development/guide-testing-releases.html
>  >  >  > >
>  >  >  > > Vote open for 72 hours.
>  >  >  > >
>  >  >  > > [ ] +1
>  >  >  > > [ ] +0
>  >  >  > > [ ] -1
>  >  >  > >
>  >  >  > >
>  >  >  > > Regards,
>  >  >  > >
>  >  >  > > Raphaël
>  >  >  > >
>  >  >  >
>  >  >  >
>  >  >  > ---------------------------------------------------------------------
>  >  >  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  >  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >  >  >
>  >  >  >
>  >  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >
>  >
>

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


Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
Hi Milos,

Thanks for the feedback.

If the archetype you tried use the archetype-metadata.xml (new
descriptor) instead of the old archetype.xml (1.0-alpha-7 descriptor),
then the goal to call
is mvn archetype:generate. the goal archetype:create is the same as in
the 1.0-alpha-7 version.

I will look further on the stack trace at home.

Raphaël

2008/4/14, Milos Kleint <mk...@gmail.com>:
> I've tried with netbeans integration (where alpha-1 works) and it somehow fails.
>  the debug output is below.
>
>  the strange part is this line
>  Using following parameters for creating OldArchetype: nbm-archetype:1.0.1
>  the nbm-archetype in question is actually an new archetype, not the old one.
>  http://repo1.maven.org/maven2/org/codehaus/mojo/archetypes/nbm-archetype/1.0.1/
>
>  Regards
>
>  Milos
>
>
>
>  [DEBUG]Looked up -
>  org.apache.maven.archetype.mojos.MavenArchetypeMojo@1b59bdf -
>  ClassRealm[/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  project_2, parent: ClassRealm[plexus.core, parent: null]]
>  [DEBUG]Configuring mojo
>  'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:create'
>  with basic configurator -->
>  [DEBUG]  (f) archetypeArtifactId = nbm-archetype
>  [DEBUG]  (f) archetypeGroupId = org.codehaus.mojo.archetypes
>  [DEBUG]  (f) archetypeVersion = 1.0.1
>  [DEBUG]  (f) artifactId = mavenproject4
>  [DEBUG]  (f) basedir = /home/mkleint/NetBeansProjects
>  [DEBUG]  (f) groupId = com.mycompany
>  [DEBUG]  (f) localRepository = [local] -> file:///home/mkleint/.m2/repository
>  [DEBUG]  (f) pomRemoteRepositories = [[staging] ->
>  http://people.apache.org/~rafale/archetype-stage-repository/,
>  [central] -> http://repo1.maven.org/maven2]
>  [DEBUG]  (f) project = MavenProject: org.apache.maven:super-pom:2.1 @
>  [DEBUG]  (f) version = 1.0-SNAPSHOT
>  [DEBUG]-- end configuration --
>  [archetype:create]
>  [DEBUG]Setting context classloader for plugin to:
>  /plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  project_2 (instance is:
>  ClassRealm[/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
>  project_2, parent: ClassRealm[plexus.core, parent: null]])
>  [WARN]This goal is deprecated. Please use mvn archetype:generate instead
>  Defaulting package to group ID: com.mycompany
>  [DEBUG]Trying repository staging
>  [DEBUG]Unable to get resource
>  'org.codehaus.mojo.archetypes:nbm-archetype:jar:1.0.1' from repository
>  staging (http://people.apache.org/~rafale/archetype-stage-repository/)
>  org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate
>  resource in repository
>         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:100)
>         at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:94)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:525)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:431)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:348)
>         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:192)
>         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:94)
>         at org.apache.maven.archetype.downloader.DefaultDownloader.downloadOld(DefaultDownloader.java:91)
>         at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:122)
>         at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>         at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>         at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>         at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>         at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>         at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>         at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>         at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>         at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  Caused by: java.io.FileNotFoundException:
>  http://people.apache.org/~rafale/archetype-stage-repository/org/codehaus/mojo/archetypes/nbm-archetype/1.0.1/nbm-archetype-1.0.1.jar
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1151)
>         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
>         ... 23 more
>  [DEBUG]Trying repository central
>  [DEBUG]  Artifact resolved
>  ----------------------------------------------------------------------------
>  Using following parameters for creating OldArchetype: nbm-archetype:1.0.1
>  ----------------------------------------------------------------------------
>  Parameter: groupId, Value: com.mycompany
>  Parameter: packageName, Value: com.mycompany
>  Parameter: basedir, Value: /home/mkleint/NetBeansProjects
>  Parameter: package, Value: com.mycompany
>  Parameter: version, Value: 1.0-SNAPSHOT
>  Parameter: artifactId, Value: mavenproject4
>  [ERROR]
>  [ERROR]
>  [ERROR]The following mojo encountered an error while executing:
>  [ERROR]Group-Id: org.apache.maven.plugins
>  [ERROR]Artifact-Id: maven-archetype-plugin
>  [ERROR]Version: 2.0-alpha-3
>  [ERROR]Mojo: create
>  [ERROR]brought in via: Direct invocation
>  [ERROR]
>  [ERROR]While building project:
>  [ERROR]Group-Id: org.apache.maven
>  [ERROR]Artifact-Id: super-pom
>  [ERROR]Version: 2.1
>  [ERROR]From file: null
>  [ERROR]Reason: Error creating from archetype
>  [ERROR]
>  [ERROR]org.apache.maven.archetype.old.ArchetypeDescriptorException:
>  The META-INF/maven/archetype.xml descriptor cannot be found.
>  [ERROR] at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:193)
>  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  [ERROR] at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  [ERROR] at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  [ERROR] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  [ERROR]
>  [ERROR]
>  [ERROR]
>  [ERROR]Error stacktrace:
>  [ERROR]org.apache.maven.lifecycle.LifecycleExecutionException:
>  Internal error in the plugin manager executing goal
>  'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:create':
>  Mojo execution failed.
>  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508)
>  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
>  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
>  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>  [ERROR] at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
>  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
>  [ERROR] at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>  [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
>  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>  [ERROR] at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>  [ERROR] at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
>  [ERROR] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>  [ERROR]Caused by: org.apache.maven.plugin.PluginExecutionException:
>  Mojo execution failed.
>  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:595)
>  [ERROR] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
>  [ERROR] ... 12 more
>  [ERROR]Caused by: org.apache.maven.plugin.MojoExecutionException:
>  Error creating from archetype
>  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:244)
>  [ERROR] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
>  [ERROR] ... 13 more
>  [ERROR]Caused by:
>  org.apache.maven.archetype.old.ArchetypeDescriptorException: The
>  META-INF/maven/archetype.xml descriptor cannot be found.
>  [ERROR] at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:193)
>  [ERROR] at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
>  [ERROR] ... 14 more
>  ------------------------------------------------------------------------
>  BUILD FAILED
>  ------------------------------------------------------------------------
>  Total time: 3 seconds
>  Finished at: Mon Apr 14 13:13:26 CEST 2008
>  Final Memory: 36M/85M
>  ------------------------------------------------------------------------
>
>
>  On Mon, Apr 14, 2008 at 12:05 PM, Raphaël Piéroni
>  <ra...@gmail.com> wrote:
>  > Any one else has tested the plugin?
>  >  I have not enough votes for the release.
>  >
>  >  Regards,
>  >
>  >  Raphaël
>  >
>  >  2008/4/14, Jason Dillon <ja...@planet57.com>:
>  >
>  >
>  > > +1
>  >  >
>  >  >  ---jason
>  >  >
>  >  >
>  >  >
>  >  >  On Apr 11, 2008, at 5:22 AM, Raphaël Piéroni wrote:
>  >  >
>  >  >
>  >  > > Hi,
>  >  > >
>  >  > > We solved 20 issues:
>  >  > >
>  >  > http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>  >  > >
>  >  > > Staging repo:
>  >  > >
>  >  > http://people.apache.org/~rafale/archetype-stage-repository/
>  >  > >
>  >  > > Staging site:
>  >  > >
>  >  > http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>  >  > >
>  >  > > Guide to testing staged releases:
>  >  > >
>  >  > http://maven.apache.org/guides/development/guide-testing-releases.html
>  >  > >
>  >  > > Vote open for 72 hours.
>  >  > >
>  >  > > [ ] +1
>  >  > > [ ] +0
>  >  > > [ ] -1
>  >  > >
>  >  > >
>  >  > > Regards,
>  >  > >
>  >  > > Raphaël
>  >  > >
>  >  >
>  >  >
>  >  > ---------------------------------------------------------------------
>  >  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >  >
>  >  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Milos Kleint <mk...@gmail.com>.
I've tried with netbeans integration (where alpha-1 works) and it somehow fails.
the debug output is below.

the strange part is this line
Using following parameters for creating OldArchetype: nbm-archetype:1.0.1
the nbm-archetype in question is actually an new archetype, not the old one.
http://repo1.maven.org/maven2/org/codehaus/mojo/archetypes/nbm-archetype/1.0.1/

Regards

Milos



[DEBUG]Looked up -
org.apache.maven.archetype.mojos.MavenArchetypeMojo@1b59bdf -
ClassRealm[/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
project_2, parent: ClassRealm[plexus.core, parent: null]]
[DEBUG]Configuring mojo
'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:create'
with basic configurator -->
[DEBUG]  (f) archetypeArtifactId = nbm-archetype
[DEBUG]  (f) archetypeGroupId = org.codehaus.mojo.archetypes
[DEBUG]  (f) archetypeVersion = 1.0.1
[DEBUG]  (f) artifactId = mavenproject4
[DEBUG]  (f) basedir = /home/mkleint/NetBeansProjects
[DEBUG]  (f) groupId = com.mycompany
[DEBUG]  (f) localRepository = [local] -> file:///home/mkleint/.m2/repository
[DEBUG]  (f) pomRemoteRepositories = [[staging] ->
http://people.apache.org/~rafale/archetype-stage-repository/,
[central] -> http://repo1.maven.org/maven2]
[DEBUG]  (f) project = MavenProject: org.apache.maven:super-pom:2.1 @
[DEBUG]  (f) version = 1.0-SNAPSHOT
[DEBUG]-- end configuration --
[archetype:create]
[DEBUG]Setting context classloader for plugin to:
/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
project_2 (instance is:
ClassRealm[/plugins/org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3@48/thread:exec_Create
project_2, parent: ClassRealm[plexus.core, parent: null]])
[WARN]This goal is deprecated. Please use mvn archetype:generate instead
Defaulting package to group ID: com.mycompany
[DEBUG]Trying repository staging
[DEBUG]Unable to get resource
'org.codehaus.mojo.archetypes:nbm-archetype:jar:1.0.1' from repository
staging (http://people.apache.org/~rafale/archetype-stage-repository/)
org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate
resource in repository
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:100)
        at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:94)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:525)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:431)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:348)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:192)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:94)
        at org.apache.maven.archetype.downloader.DefaultDownloader.downloadOld(DefaultDownloader.java:91)
        at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:122)
        at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
        at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
        at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
        at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
        at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
        at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
        at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
        at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: java.io.FileNotFoundException:
http://people.apache.org/~rafale/archetype-stage-repository/org/codehaus/mojo/archetypes/nbm-archetype/1.0.1/nbm-archetype-1.0.1.jar
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1151)
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
        ... 23 more
[DEBUG]Trying repository central
[DEBUG]  Artifact resolved
----------------------------------------------------------------------------
Using following parameters for creating OldArchetype: nbm-archetype:1.0.1
----------------------------------------------------------------------------
Parameter: groupId, Value: com.mycompany
Parameter: packageName, Value: com.mycompany
Parameter: basedir, Value: /home/mkleint/NetBeansProjects
Parameter: package, Value: com.mycompany
Parameter: version, Value: 1.0-SNAPSHOT
Parameter: artifactId, Value: mavenproject4
[ERROR]
[ERROR]
[ERROR]The following mojo encountered an error while executing:
[ERROR]Group-Id: org.apache.maven.plugins
[ERROR]Artifact-Id: maven-archetype-plugin
[ERROR]Version: 2.0-alpha-3
[ERROR]Mojo: create
[ERROR]brought in via: Direct invocation
[ERROR]
[ERROR]While building project:
[ERROR]Group-Id: org.apache.maven
[ERROR]Artifact-Id: super-pom
[ERROR]Version: 2.1
[ERROR]From file: null
[ERROR]Reason: Error creating from archetype
[ERROR]
[ERROR]org.apache.maven.archetype.old.ArchetypeDescriptorException:
The META-INF/maven/archetype.xml descriptor cannot be found.
[ERROR]	at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:193)
[ERROR]	at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
[ERROR]	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
[ERROR]	at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
[ERROR]	at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
[ERROR]	at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
[ERROR]	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
[ERROR]	at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
[ERROR]	at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
[ERROR]	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
[ERROR]	at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
[ERROR]	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
[ERROR]
[ERROR]
[ERROR]
[ERROR]Error stacktrace:
[ERROR]org.apache.maven.lifecycle.LifecycleExecutionException:
Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:create':
Mojo execution failed.
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
[ERROR]	at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
[ERROR]	at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:225)
[ERROR]	at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
[ERROR]	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
[ERROR]	at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
[ERROR]	at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
[ERROR]	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
[ERROR]	at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:213)
[ERROR]	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
[ERROR]Caused by: org.apache.maven.plugin.PluginExecutionException:
Mojo execution failed.
[ERROR]	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:595)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
[ERROR]	... 12 more
[ERROR]Caused by: org.apache.maven.plugin.MojoExecutionException:
Error creating from archetype
[ERROR]	at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:244)
[ERROR]	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
[ERROR]	... 13 more
[ERROR]Caused by:
org.apache.maven.archetype.old.ArchetypeDescriptorException: The
META-INF/maven/archetype.xml descriptor cannot be found.
[ERROR]	at org.apache.maven.archetype.old.DefaultOldArchetype.createArchetype(DefaultOldArchetype.java:193)
[ERROR]	at org.apache.maven.archetype.mojos.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:229)
[ERROR]	... 14 more
------------------------------------------------------------------------
BUILD FAILED
------------------------------------------------------------------------
Total time: 3 seconds
Finished at: Mon Apr 14 13:13:26 CEST 2008
Final Memory: 36M/85M
------------------------------------------------------------------------

On Mon, Apr 14, 2008 at 12:05 PM, Raphaël Piéroni
<ra...@gmail.com> wrote:
> Any one else has tested the plugin?
>  I have not enough votes for the release.
>
>  Regards,
>
>  Raphaël
>
>  2008/4/14, Jason Dillon <ja...@planet57.com>:
>
>
> > +1
>  >
>  >  ---jason
>  >
>  >
>  >
>  >  On Apr 11, 2008, at 5:22 AM, Raphaël Piéroni wrote:
>  >
>  >
>  > > Hi,
>  > >
>  > > We solved 20 issues:
>  > >
>  > http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>  > >
>  > > Staging repo:
>  > >
>  > http://people.apache.org/~rafale/archetype-stage-repository/
>  > >
>  > > Staging site:
>  > >
>  > http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>  > >
>  > > Guide to testing staged releases:
>  > >
>  > http://maven.apache.org/guides/development/guide-testing-releases.html
>  > >
>  > > Vote open for 72 hours.
>  > >
>  > > [ ] +1
>  > > [ ] +0
>  > > [ ] -1
>  > >
>  > >
>  > > Regards,
>  > >
>  > > Raphaël
>  > >
>  >
>  >
>  > ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >
>  >
>

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


Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
Any one else has tested the plugin?
I have not enough votes for the release.

Regards,

Raphaël

2008/4/14, Jason Dillon <ja...@planet57.com>:
> +1
>
>  ---jason
>
>
>
>  On Apr 11, 2008, at 5:22 AM, Raphaël Piéroni wrote:
>
>
> > Hi,
> >
> > We solved 20 issues:
> >
> http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
> >
> > Staging repo:
> >
> http://people.apache.org/~rafale/archetype-stage-repository/
> >
> > Staging site:
> >
> http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
> >
> > Guide to testing staged releases:
> >
> http://maven.apache.org/guides/development/guide-testing-releases.html
> >
> > Vote open for 72 hours.
> >
> > [ ] +1
> > [ ] +0
> > [ ] -1
> >
> >
> > Regards,
> >
> > Raphaël
> >
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Jason Dillon <ja...@planet57.com>.
+1

---jason


On Apr 11, 2008, at 5:22 AM, Raphaël Piéroni wrote:

> Hi,
>
> We solved 20 issues:
> http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>
> Staging repo:
> http://people.apache.org/~rafale/archetype-stage-repository/
>
> Staging site:
> http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
>
> Vote open for 72 hours.
>
> [ ] +1
> [ ] +0
> [ ] -1
>
>
> Regards,
>
> Raphaël


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


Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
my +1

Raphaël

2008/4/11, Raphaël Piéroni <ra...@gmail.com>:
> Hi,
>
>  We solved 20 issues:
>  http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>
>  Staging repo:
>  http://people.apache.org/~rafale/archetype-stage-repository/
>
>  Staging site:
>  http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>
>  Guide to testing staged releases:
>  http://maven.apache.org/guides/development/guide-testing-releases.html
>
>  Vote open for 72 hours.
>
>  [ ] +1
>  [ ] +0
>  [ ] -1
>
>
>  Regards,
>
>
>  Raphaël
>

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Arnaud HERITIER <ah...@gmail.com>.
yes, with pleasure.

Arnaud

On Thu, Apr 17, 2008 at 2:30 PM, Raphaël Piéroni
<ra...@gmail.com> wrote:
> Fine,
>  I will then try to fix this.
>
>  Arnaud, can i send you a request of verifycation
>  when i get this fixed ?
>
>  Regards,
>
>  Raphaël
>
>  2008/4/17 Arnaud HERITIER <ah...@gmail.com>:
>
>
> > Hi Raphael,
>  >
>  >   -1,
>  >
>  >   I encountered also this issue :
>  >  https://jira.codehaus.org/browse/ARCHETYPE-159 with alpha-2 and
>  >  alpha-3
>  >   Can you have a look at it please.
>  >   I think it is important if it is not solved in alpha-3. We cannot
>  >  use the generate mojo. It tries to download archetypes (I discovered
>  >  it with an empty local repo) from my local repository.
>  >
>  >  Arnaud
>  >
>  >
>  >
>  >
>  >
>  >  On Fri, Apr 11, 2008 at 12:22 AM, Raphaël Piéroni
>  >  <ra...@gmail.com> wrote:
>  >  > Hi,
>  >  >
>  >  >  We solved 20 issues:
>  >  >  http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>  >  >
>  >  >  Staging repo:
>  >  >  http://people.apache.org/~rafale/archetype-stage-repository/
>  >  >
>  >  >  Staging site:
>  >  >  http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>  >  >
>  >  >  Guide to testing staged releases:
>  >  >  http://maven.apache.org/guides/development/guide-testing-releases.html
>  >  >
>  >  >  Vote open for 72 hours.
>  >  >
>  >  >  [ ] +1
>  >  >  [ ] +0
>  >  >  [ ] -1
>  >  >
>  >  >
>  >  >  Regards,
>  >  >
>  >  >  Raphaël
>  >  >
>  >
>  >
>  >
>  >  --
>  >  ..........................................................
>  >  Arnaud HERITIER
>  >  ..........................................................
>  >  OCTO Technology - aheritier AT octo DOT com
>  >  www.octo.com | blog.octo.com
>  >  ..........................................................
>  >  ASF - aheritier AT apache DOT org
>  >  www.apache.org | maven.apache.org
>  >  ...........................................................
>  >
>  >
>  >
>
>
> >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  >  For additional commands, e-mail: dev-help@maven.apache.org
>  >
>  >
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

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


Re: [VOTE] [Cancelled] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Arnaud HERITIER <ah...@gmail.com>.
I submitted a patch for 159.
I didn't apply it because I don't know very well your code.
I added some comments on the issue.

cheers

arnaud

On Thu, Apr 17, 2008 at 2:32 PM, Raphaël Piéroni
<ra...@gmail.com> wrote:
> Hi,
>
>  The current vote is cancelled untill i (or any one which would like to help)
>  fix the archetype-159 bug.
>
>  Thanks to all the reviewers.
>
>  I will try to reschedule a new vote asap.
>
>  Regards,
>
>  Raphaë
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

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


[VOTE] [Cancelled] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
Hi,

The current vote is cancelled untill i (or any one which would like to help)
fix the archetype-159 bug.

Thanks to all the reviewers.

I will try to reschedule a new vote asap.

Regards,

Raphaë

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Raphaël Piéroni <ra...@gmail.com>.
Fine,
I will then try to fix this.

Arnaud, can i send you a request of verifycation
when i get this fixed ?

Regards,

Raphaël

2008/4/17 Arnaud HERITIER <ah...@gmail.com>:
> Hi Raphael,
>
>   -1,
>
>   I encountered also this issue :
>  https://jira.codehaus.org/browse/ARCHETYPE-159 with alpha-2 and
>  alpha-3
>   Can you have a look at it please.
>   I think it is important if it is not solved in alpha-3. We cannot
>  use the generate mojo. It tries to download archetypes (I discovered
>  it with an empty local repo) from my local repository.
>
>  Arnaud
>
>
>
>
>
>  On Fri, Apr 11, 2008 at 12:22 AM, Raphaël Piéroni
>  <ra...@gmail.com> wrote:
>  > Hi,
>  >
>  >  We solved 20 issues:
>  >  http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>  >
>  >  Staging repo:
>  >  http://people.apache.org/~rafale/archetype-stage-repository/
>  >
>  >  Staging site:
>  >  http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>  >
>  >  Guide to testing staged releases:
>  >  http://maven.apache.org/guides/development/guide-testing-releases.html
>  >
>  >  Vote open for 72 hours.
>  >
>  >  [ ] +1
>  >  [ ] +0
>  >  [ ] -1
>  >
>  >
>  >  Regards,
>  >
>  >  Raphaël
>  >
>
>
>
>  --
>  ..........................................................
>  Arnaud HERITIER
>  ..........................................................
>  OCTO Technology - aheritier AT octo DOT com
>  www.octo.com | blog.octo.com
>  ..........................................................
>  ASF - aheritier AT apache DOT org
>  www.apache.org | maven.apache.org
>  ...........................................................
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: [VOTE] Release Maven Archetype plugin version 2.0-alpha-3

Posted by Arnaud HERITIER <ah...@gmail.com>.
Hi Raphael,

  -1,

  I encountered also this issue :
https://jira.codehaus.org/browse/ARCHETYPE-159 with alpha-2 and
alpha-3
  Can you have a look at it please.
  I think it is important if it is not solved in alpha-3. We cannot
use the generate mojo. It tries to download archetypes (I discovered
it with an empty local repo) from my local repository.

Arnaud



On Fri, Apr 11, 2008 at 12:22 AM, Raphaël Piéroni
<ra...@gmail.com> wrote:
> Hi,
>
>  We solved 20 issues:
>  http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&styleName=Html&version=14088
>
>  Staging repo:
>  http://people.apache.org/~rafale/archetype-stage-repository/
>
>  Staging site:
>  http://maven.apache.org/plugins/maven-archetype-plugin-2.0-alpha-3
>
>  Guide to testing staged releases:
>  http://maven.apache.org/guides/development/guide-testing-releases.html
>
>  Vote open for 72 hours.
>
>  [ ] +1
>  [ ] +0
>  [ ] -1
>
>
>  Regards,
>
>  Raphaël
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

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