Search code examples
mavenmarkdownmaven-archetypemaven-site-plugin

Maven archetype: Reference artifactId in markdown site files


I am creating a maven archetype. It should contain some predefined files in src/site/markdown. These files should include the artifactId.

I tried to reference it using ${artifactId} inside the md file but no luck.

Any other idea?


Solution

  • For the respective fileset in the archetype-metadata.xml one need to set filtered=true.