Package org.apache.maven.demo.extension
Class LifecycleParticipantDemoJsr330
- java.lang.Object
-
- org.apache.maven.AbstractMavenLifecycleParticipant
-
- org.apache.maven.demo.extension.LifecycleParticipantDemoJsr330
-
@Named("demo-jsr330") @Singleton public class LifecycleParticipantDemoJsr330 extends AbstractMavenLifecycleParticipant
Lifecycle Participant demo (feature added in Maven 3.0-alpha-3 with MNG-4224). defined with JSR-330 javax.inject annotations. Notice: such JSR-330 annotations do not work on Maven 3.0.x, but only starting with 3.1
-
-
Constructor Summary
Constructors Constructor Description LifecycleParticipantDemoJsr330()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterProjectsRead(MavenSession session)
void
afterSessionEnd(MavenSession session)
void
afterSessionStart(MavenSession session)
-
-
-
Method Detail
-
afterProjectsRead
public void afterProjectsRead(MavenSession session) throws MavenExecutionException
- Overrides:
afterProjectsRead
in classAbstractMavenLifecycleParticipant
- Throws:
MavenExecutionException
-
afterSessionStart
public void afterSessionStart(MavenSession session) throws MavenExecutionException
- Overrides:
afterSessionStart
in classAbstractMavenLifecycleParticipant
- Throws:
MavenExecutionException
-
afterSessionEnd
public void afterSessionEnd(MavenSession session) throws MavenExecutionException
- Throws:
MavenExecutionException
-
-