Class FixSiteAnchorsMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.github.robtimus.maven.plugins.buildhelper.FixSiteAnchorsMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="fix-site-anchors", defaultPhase=SITE, requiresProject=true, threadSafe=true) public class FixSiteAnchorsMojo extends org.apache.maven.plugin.AbstractMojoFixes anchors in URLs in site files.If a Markdown file contains a link to a method's Javadoc, in modern Java versions this link contains
(and). Even if these are escaped, the site plugin replaces these with.28and.29respectively. This mojo can be used to fix these incorrect replacements.- Author:
- Rob Spoor
- Since:
- 2.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFixSiteAnchorsMojo.ReplacementA single replacement.
-
Constructor Summary
Constructors Constructor Description FixSiteAnchorsMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-