If you use Eclipse you can go to the project properties and from there Maven > Lifecycle Mapping and you’ll see something like this:
If you don’t use Eclipse you can probably use this: https://github.com/takari/maven-profiler It was made for profiling but will show you the executions. There is another more recent tool that shows the lifecycle but I can’t recall at the moment what that is. I will try to remember and post when I do. > On Nov 16, 2015, at 9:55 AM, Thomas Meyer <[email protected]> wrote: > > Hi, > > How can I print a graph of a given maven invocation with the lifecycle > and for each lifecycle step which plugins are executed? > > E.g. > > lifecycle: > step 3: generate-sources > plugin 1 - maven-processor-plugin > plugin 2 - ... > step 4: process-sources > plugin 1 - xxx > > because in my pom, a plugin is executed several times but it shouldn't! > So i want to find out why. I tried with mvn -X but I couldn't see why a > plugin was executed twice. > > with kind regards > thomas > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder, Takari and Apache Maven http://twitter.com/jvanzyl http://twitter.com/takari_io --------------------------------------------------------- First, the taking in of scattered particulars under one Idea, so that everyone understands what is being talked about ... Second, the separation of the Idea into parts, by dividing it at the joints, as nature directs, not breaking any limb in half as a bad carver might. -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)
