Re: [vote] Release maven-parent 10

2008-11-26 Thread Jesse McConnell
+1 -- jesse mcconnell [EMAIL PROTECTED] On Wed, Nov 26, 2008 at 4:48 PM, Hervé BOUTEMY <[EMAIL PROTECTED]>wrote: > +1 > > Le mercredi 26 novembre 2008, Arnaud HERITIER a écrit : > > Hi team, > > > > We upgraded several plugins and updated some settings since version 9. > > In the logic to r

Re: [vote] Release maven-parent 10

2008-11-26 Thread Hervé BOUTEMY
+1 Le mercredi 26 novembre 2008, Arnaud HERITIER a écrit : > Hi team, > > We upgraded several plugins and updated some settings since version 9. > In the logic to release often I propose to release the version 10. > Changes are : > http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?v

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread Jason van Zyl
Plexus components should not know anything specific about the Maven environment. Maven is also a session-based system so it's almost always better to make a threadsafe component which holds no state and takes in what it needs in a method to operate. From the Mojo take the MavenSession, grab

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread nicolas de loof
This is the solution I'm using. Why should this not be safe ? The Mojo itself runs as a plexus component, isn't it ? The MavenSession (and related stuff) could be available in plexus 'context' - not sure this is the good word, I'm a Spring-guy ;) 2008/11/26 Dan Tran <[EMAIL PROTECTED]> > Furthe

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread Dan Tran
Further thoughts, Dont think it is possible since how would plexus IOC know localRepo path? Even if you can inject Local Respository into your component using all default configuration, it is not safe either? what happens if user changes local path in settings.xml Perhaps, you may want to pas

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread nicolas de loof
Does "hand written" component.xml have some hack available ? 2008/11/26 nicolas de loof <[EMAIL PROTECTED]> > I do. > > > 2008/11/26 Dan Tran <[EMAIL PROTECTED]> > >> umm, are you using plexus-maven-plugin to generate compoment.xlm? >> >> -D >> >> On Wed, Nov 26, 2008 at 7:31 AM, nicolas de loof

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread nicolas de loof
I do. 2008/11/26 Dan Tran <[EMAIL PROTECTED]> > umm, are you using plexus-maven-plugin to generate compoment.xlm? > > -D > > On Wed, Nov 26, 2008 at 7:31 AM, nicolas de loof <[EMAIL PROTECTED]> > wrote: > > "Component descriptor cannot be found in the component repository: > > org.apache.maven.ar

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread nicolas de loof
According to code in PluginParameterExpressionEvaluator.java${localRepository} and others are resolved based on MavenSession. Maybe there is some API to have a component beeing "MavenSessionAware" ? 2008/11/26 nicolas de loof <[EMAIL PROTECTED]> > "Component descriptor cannot be found in the com

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread Dan Tran
umm, are you using plexus-maven-plugin to generate compoment.xlm? -D On Wed, Nov 26, 2008 at 7:31 AM, nicolas de loof <[EMAIL PROTECTED]> wrote: > "Component descriptor cannot be found in the component repository: > org.apache.maven.artifact.repository.ArtifactRepository." > > 2008/11/26 Dan Tran

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread nicolas de loof
"Component descriptor cannot be found in the component repository: org.apache.maven.artifact.repository.ArtifactRepository." 2008/11/26 Dan Tran <[EMAIL PROTECTED]> > Ah, I total missed it :-) , sorry dont have an answer yet > > Perhaps=? > /** > * @plexus.requirement > role="org.apache.maven.

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread Dan Tran
Ah, I total missed it :-) , sorry dont have an answer yet Perhaps=? /** * @plexus.requirement role="org.apache.maven.artifact.repository.ArtifactRepository" */ private ArtifactRepository localRepository; On Wed, Nov 26, 2008 at 7:01 AM, nicolas de loof <[EMAIL PROTECTED]> wrote: > I don

Re: ARCHETYPE-110

2008-11-26 Thread Raphaël Piéroni
Hi Jason, This issue is sheduled for the next release of the plugin. But due to my lack of time, i don't have yet thinked about it. There not so many developpers on the archetype plugin, so the next release may have some lag... This issue will not be forgotten. Regards, Raphaël 2008/11/26 Jaso

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread nicolas de loof
I don't need the Mojo to get injected with thoses components, but a plexus component used by My Mojo : public class MyMojo extends AbstractMojo /** * @component */ protected ClasspathBuilder buildClasspathUtil; ... /** * @plexus.component role="org.codehaus.mojo.gwt.shell.

Re: [Vote : result] invite Charlie Collins on Mojo to merge googlecode GWT plugins with Mojo one

2008-11-26 Thread Arnaud HERITIER
Done cheers Arnaud On Wed, Nov 26, 2008 at 3:35 PM, nicolas de loof <[EMAIL PROTECTED]> wrote: > With 12 "+1" votes (including Brett's +2) let's welcome Chalie as Mojo > commiter ! > > Can some codehaus despot accept chalies request on xircles to join project > ? > > 2008/11/24 nicolas de loof

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread Dan Tran
/** * @parameter default-value="${localRepository}" * @required * @readonly * @since 1.1 */ private ArtifactRepository localRepository; in http://svn.codehaus.org/mojo/trunk/mojo/build-helper-maven-plugin/src/main/java/org/codehaus/mojo/buildhelper/RemoveLocalArt

[Vote : result] invite Charlie Collins on Mojo to merge googlecode GWT plugins with Mojo one

2008-11-26 Thread nicolas de loof
With 12 "+1" votes (including Brett's +2) let's welcome Chalie as Mojo commiter ! Can some codehaus despot accept chalies request on xircles to join project ? 2008/11/24 nicolas de loof <[EMAIL PROTECTED]> > Hi, > Charlie Collins, who created and maintain the gwt-maven project on > googlecode, w

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread nicolas de loof
build-helper does not define any plexus component !? Did I miss something ? 2008/11/26 Dan Tran <[EMAIL PROTECTED]> > see build-helper-maven-plugin as example. > > -D > > On Wed, Nov 26, 2008 at 2:41 AM, nicolas de loof <[EMAIL PROTECTED]> > wrote: > > As my plugin is becoming complex, I've split

ARCHETYPE-110

2008-11-26 Thread Jason Voegele
Hello all, I am currently blocked from publishing an archetype that I've been working on due to this issue: http://jira.codehaus.org/browse/ARCHETYPE-110 I have left comments on the issue page, voted for this issue, and even submitted a patch for it, but I have not gotten any feedback

Re: can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread Dan Tran
see build-helper-maven-plugin as example. -D On Wed, Nov 26, 2008 at 2:41 AM, nicolas de loof <[EMAIL PROTECTED]> wrote: > As my plugin is becoming complex, I've splitted it into plexus components, > injected in the Mojo.I need this plexus component to acces > the localRepository. How to configur

Assembly plugin trunk build failed

2008-11-26 Thread Enrico Boldrini
Hello, I'm trying to build the maven assembly plugin from source (trunk). I get the error reported below. Regards, Enrico Boldrini [EMAIL PROTECTED]:~/workspace/maven-assembly-plugin$ mvn -U compile [INFO] Scanning for projects... [IN

Assembly plugin 2.2-beta-3-SNAPSHOT broken

2008-11-26 Thread Enrico Boldrini
Hello, I'm trying to use the deployed SNAPSHOT of maven assembly plugin (2.2-beta-3-SNAPSHOT) in my project. I get the error reported below. Regards, Enrico Boldrini [EMAIL PROTECTED]:~/workspace/gi-cat-soap$ mvn assembly:assembly [IN

can a plexus @component get injected with Mojo-like expressions ?

2008-11-26 Thread nicolas de loof
As my plugin is becoming complex, I've splitted it into plexus components, injected in the Mojo.I need this plexus component to acces the localRepository. How to configure the @component annotation ??? Same issue to get the MavenProject. Nicolas

Re: How to support modelVersion > 4.0.0

2008-11-26 Thread Stephen Connolly
2008/11/26 Gilles Scokart <[EMAIL PROTECTED]> > One of the problem with build tool is that an upgrade is often not > possible. > > You have a project developped 2 years ago and you want to make a small > fix on it... You certainly don't want to migrate to a new build tool > just because you want

Re: How to support modelVersion > 4.0.0

2008-11-26 Thread Gilles Scokart
One of the problem with build tool is that an upgrade is often not possible. You have a project developped 2 years ago and you want to make a small fix on it... You certainly don't want to migrate to a new build tool just because you want to take a newer version of a dependency. Conclusion : The

plexus @component and os-dependant component

2008-11-26 Thread nicolas de loof
Hi, For the gwt-maven-plugin I'd like the Mojo to get injected with an OS dependent component. I have 2 implementations of the same interface, one for Windows, the other for Mac / linux. Can I set the role-hints to automagically select the expected one, and avoid using a Factory ? Nicolas

Re: [vote] Release maven-parent 10

2008-11-26 Thread Olivier Lamy
+1 -- Olivier 2008/11/26 Arnaud HERITIER <[EMAIL PROTECTED]>: > Hi team, > > We upgraded several plugins and updated some settings since version 9. > In the logic to release often I propose to release the version 10. > Changes are : > http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?v