It has to be set up as a 'reporting' plugin. I recommend looking at examples of other such plugins, such as https://maven.apache.org/plugins/maven-project-info-reports-plugin/
On Sat, Jun 25, 2016 at 4:44 PM, Philipp Kraus <[email protected]> wrote: > Hello, > > I try to build my first Maven site plugin. > I have defined a class based on AbstractMojo and > put the annotation @Mojo( name = "rrd-antlr4", defaultPhase = > LifecyclePhase.SITE ) > on top. > > I overload the execute-method and put my plugin content to the method. I > build the plugin and deploy > it my local Maven repository. I’m testing my plugin in a testing project with > the pom content > <reporting> > > <plugins> > > <plugin> > <groupId>de.flashpixx</groupId> > <artifactId>rrd-antlr4</artifactId> > <version>0.1.0</version> > </plugin> > ….. > > If I run "mvn site“ I get "[INFO] configuring report plugin > de.flashpixx:rrd-antlr4:0.1.0“ but > the execute method is not run / called. > > How I can debug the plugin or fix the execution of the plugin? > > Thanks > > Phil --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
