Defining a maven user lifecycle using JSR-330

If I understood things correctly, Maven3 completely replaced Plexus with Guice. Plugins based on Old Plexus are supported by emulating the old API, but Plexus is no longer needed for new plugins.

There is a good guide on how to write new plugins based on JSR-330 / Guice.

However, I did not find any documentation on how to define a user life cycle without using some plexus/components.xml .

  • What is the correct maven3 way to define a user life cycle?
  • Is there any good documentation on this topic? (Something like the guide above?)
+8
java maven maven-3 maven-plugin guice
source share

No one has answered this question yet.

See related questions:

2240
How to create an executable dependency JAR using Maven?
1011
How to add local jar files to Maven project?
866
How to solve "Running plugins not covered by the lifecycle configuration" for Spring Data Maven Builds
768
What is Maven Snapshot and why do we need it?
665
Force maven update
646
Work with "Xerces hell" in Java / Maven?
480
Install Maven on Mac OS X
273
Maven 3 warnings about build.plugins.plugin.version
10
Overriding the clean life cycle in Maven
7
Adding phases to the maven life cycle?

All Articles