Re: AbstractMavenLifecycleParticipant.afterSessionStart method not invoked

2012-03-07 Thread Olivier Lamy
Agree I have added some documentation here: http://maven.apache.org/examples/maven-3-lifecycle-extensions.html Let me know if it's fine. 2012/3/7 Tom Bujok tom.bu...@gmail.com: Exactly, that is the case. - afterSessionStart is a maven extension, - afterProjectRead is a project extension,

AbstractMavenLifecycleParticipant.afterSessionStart method not invoked

2012-03-06 Thread Tom Bujok
Hi guys, I have implemented an AbstractMavenLifecycleParticipant to customize the standard build behavior a bit. The declaration of the participant looks like this: @Component(role = AbstractMavenLifecycleParticipant.class, hint = testParticipant) public class TestParticipant extends

Re: AbstractMavenLifecycleParticipant.afterSessionStart method not invoked

2012-03-06 Thread Olivier Lamy
2012/3/6 Tom Bujok tom.bu...@gmail.com: Hi guys, I have implemented an AbstractMavenLifecycleParticipant to customize the standard build behavior a bit. The declaration of the participant looks like this: @Component(role = AbstractMavenLifecycleParticipant.class, hint = testParticipant)

Re: AbstractMavenLifecycleParticipant.afterSessionStart method not invoked

2012-03-06 Thread Jeff MAURY
It seems quite confusing: Tycho is using this functionality and does not require to be installed in M2_HOME/lib/ext. My understanding is the following: - for afterSessionStart, must be installed in M2_HOME/lib/ext - for afterProjectRead, can be an extension in the POM Jeff On Tue, Mar 6, 2012 at

Re: AbstractMavenLifecycleParticipant.afterSessionStart method not invoked

2012-03-06 Thread Tom Bujok
Exactly, that is the case. - afterSessionStart is a maven extension, - afterProjectRead is a project extension, which in the end is quite confusing… Tom On Mar 6, 2012, at 11:09 PM, Jeff MAURY wrote: It seems quite confusing: Tycho is using this functionality and does not require to be