3

Version: Apache Maven 3.0.5

I succesfully generated a changelog.xml via the maven site plugin and the command mvn site. Site plugin content of the pom.xml:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-site-plugin</artifactId>
    <version>3.0-beta-2</version>
    <configuration>
      <reportPlugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-changelog-plugin</artifactId>
            <version>2.3</version>
        </plugin>
      </reportPlugins>
    </configuration>
</plugin>

Now I require a changelog.html as well, I could not find any information on how to configurate my pom.xml to generate a html version of the changlog.

Jan
  • 2,025
  • 17
  • 27
  • An alternative would be using this plugin and add several executions: https://github.com/tomasbjerre/git-changelog-maven-plugin – Tomas Bjerre Feb 07 '18 at 11:24

1 Answers1

0

You should move the plugin to the reporting section of your pom.xml.

To generate the reports you've to add the below to the configuration of the changelog plugin for the changelog and the dev-activity if you want it. There's also a file-activity report.

  <reportSets>
    <reportSet>
      <reports>
        <report>changelog</report>
        <report>dev-activity</report>
    </reports>
  </reportSet>

The plugin page has samples of these reports: http://maven.apache.org/plugins/maven-changelog-plugin/changelog.html

Domhnaill Byrne
  • 179
  • 1
  • 6