maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Anyone care to advise?
Date Sat, 05 Mar 2016 11:32:34 GMT

MG>quick inline comment prefixed with MG
> Date: Sat, 5 Mar 2016 09:30:36 +0100
> Subject: Re: Anyone care to advise?
> From: mfriedenhagen@gmail.com
> To: dev@maven.apache.org
> 
> Hello Stephen,
> 
> sounds a bit like Jenkins' Maven2 job type ;-)
> 
> Regards
> Mirko
> -- 
> Sent from my mobile
> Am 03.03.2016 13:12 schrieb "Stephen Connolly" <
> stephen.alan.connolly@gmail.com>:
> 
> > I had an evil idea...
> >
> > https://github.com/stephenc/reactor-snapshot-maven-plugin
> >
> > So the idea is to let you do things and resume quicker while doing things
> > that need the reactor artifacts when you don't want to invoke the full
> > lifecycle
> >
> > e.g.
> >
> > mvn package
> > com.github.stephenc.maven:reactor-snapshot-maven-plugin:1.0-SNAPSHOT:take
> >
> > mvn
> >
> > com.github.stephenc.maven:reactor-snapshot-maven-plugin:1.0-SNAPSHOT:restore
> > javadoc:jar
> > com.github.stephenc.maven:reactor-snapshot-maven-plugin:1.0-SNAPSHOT:take
> >
> > mvn
> >
> > com.github.stephenc.maven:reactor-snapshot-maven-plugin:1.0-SNAPSHOT:restore
> > source:jar
> > com.github.stephenc.maven:reactor-snapshot-maven-plugin:1.0-SNAPSHOT:take
> >
> > mvn
> >
> > com.github.stephenc.maven:reactor-snapshot-maven-plugin:1.0-SNAPSHOT:restore
> > install:install deploy:deploy
> >
> > mvn
> >
> > com.github.stephenc.maven:reactor-snapshot-maven-plugin:1.0-SNAPSHOT:restore
> > site
> >
> > Now this might ultimately need an extension helper so that things like -rf
> > will work better... but I wanted to try it out first.
MG>thinking custom-lifecycle might work but i dont know your full scope design
MG>if you could provide an example where custom-lifecycle wont work but this will
MG>with a working example i am all for it
> >
> >
> > The issue I have is persisting and looking up the artifact handlers... the
> > current way is hacky in the extreme and relies on the sisu injection
> > picking the same order (which may not always be valid due to the lifecycle
> > goals you might specify)
MG>playing the "which classloader is current phase implementing" has bitten me a few times
> >
> >
> > So, anyone care to tell me the "right" way to hack this!
> >
> >
> > -Stephen
> >
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message