Class SiteIndexMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.github.robtimus.maven.plugins.buildhelper.SiteIndexMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="site-index", defaultPhase=PRE_SITE, requiresProject=true, threadSafe=true) public class SiteIndexMojo extends org.apache.maven.plugin.AbstractMojoGenerate a Markdown site index based on another Markdown file. This goal will provide the following transformations:- Add an HTML title.
- Make any link that starts with the project's URL relative to that URL.
- Remove any badges that match any of a set of provided patterns. Badges will be removed if:
- They are preceded by a space. In this case, the leading space is removed as well.
- They are on a line of their own. In this case, the entire line is removed.
- Author:
- Rob Spoor
-
-
Constructor Summary
Constructors Constructor Description SiteIndexMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-