Questions tagged [maven-site-plugin]

The Maven Site Plugin is used to generate a site for the project. The generated site also includes the project's reports that were configured in the POM.

The Site Plugin is used to generate a site for the project. The generated site also includes the project's reports that were configured in the POM.

Please check the official usage page for a first look at this plugin.

If you are using the old plugin version 2, check the official migration guide on the version 3 usage.

More info

206 questions
8
votes
1 answer

Disable all reports from Maven's project-info-reports-plugin

I'd like to generate a custom report through Maven's site plug-in, but only this custom report, not all the reports generated by default by means of the project-info-reports-plugin. Question: What's the recommended way to achieve this? I saw there…
Gunnar
  • 18,095
  • 1
  • 53
  • 73
7
votes
4 answers

How to make Maven build (goal site) fail on Javadoc warnings?

I am building my Maven project with the goal site. There are Javadoc warnings in the output. In this case my Maven build has to fail. Is there a way to do that? Here is the code snippet of my POM (I am using Maven 3.3):
6
votes
1 answer

maven 3 javadoc plugin ignores configuration

I use maven 3 and have my javadoc configured according to the new maven 3 siteplugin+javadoc configuration. However all of my javadoc configuration parameters seem to be ignored. So no package grouping, no source linking etc. My project is a multi…
6
votes
1 answer

Maven Site Plugin with Java9

I have a problem running my CI builds on Travis with Java9 (Oracle JDK 9). I fails on maven-site-plugin - after removing it everything works smothly. I tried removing everything else to check for possible dependencies collisions, left out with just…
Rafał Wrzeszcz
  • 1,996
  • 4
  • 23
  • 45
6
votes
6 answers

How to avoid checking parent project in maven-site-plugin?

I have small maven project. I'm trying to add generating site by maven-site-plugin, but it doesn't work. When I'm building this project i get following error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site…
daprog
  • 135
  • 1
  • 2
  • 8
6
votes
1 answer

maven site plugin not deploying subprojects in a multimodule project or generating index.html

I have a multimodule project that I want to deploy a site for, but it seems like my site deployment configuration is not being inherited by subproject child modules. parent moduleA moduleB On the filesystem they are located relative to each…
6
votes
5 answers

Maven site + search capabilities

Recently in our organisation we've decided to work with maven site plugin and maintain all the documentation about our project in the site generated by maven. However I haven't found any way to add a search functionality, the only thing I've come…
Mark Bramnik
  • 39,963
  • 4
  • 57
  • 97
6
votes
1 answer

Generating multiple javadoc reports using maven-javadoc-plugin and Maven 3

We use a custom doclet to generate a report from custom javadoc tags, and use the Maven site plugin and javadoc plugin to generate both this report and the regular java API docs. The section of the POM looks like this:
Richard
  • 143
  • 1
  • 10
5
votes
1 answer

How to disable generation of Test Javadoc report in Maven 3 site plugin?

This is my pom.xml, I'm trying to disable Test Javadoc report in site: [...] [...] org.apache.maven.plugins maven-site-plugin
yegor256
  • 102,010
  • 123
  • 446
  • 597
5
votes
2 answers

Failed to execute goal org.apache.maven.plugins:maven-site-plugin:

Trying to generate mvn site with maven 3 fails and I cannot get why. Calling the site generation with: mvn3 -e clean site -Pmetrics Results in: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site)…
user116804
  • 185
  • 2
  • 2
  • 8
4
votes
1 answer

plugin-info.html not being generated for Maven site

I have a custom Maven plugin for which I want to generate a site. The sole purpose of this site is to automatically document the plugin's available goals. However, when I execute mvn clean site, the plugin-info.html file is never generated. Given…
twoqubed
  • 49
  • 2
4
votes
1 answer

How to link source classes JavaDoc from Test JavaDoc in maven site?

Having configured maven-site-plugin and maven-javadoc-plugin (with doclava doclet), I'm trying to get proper JavaDocs on the site generated by mvn site. In my code I have sevaral JUnit test classes (located in src/test/java/my/package/*.java) which…
Evgeny A.
  • 731
  • 2
  • 8
  • 19
4
votes
0 answers

A required class was missing while executing org.apache.maven.plugins:maven-site-plugin:3.7.1:site: org/apache/maven/reporting/AbstractMavenReport

I try to use mvn site to create site for my maven project, but I get the following Error. I have try to delete maven-site-plugin/ and /org/apache/maven/reporting from my .m2/repository, but it doesn't work. Is there any know how to solve this…
DoneSpeak
  • 323
  • 2
  • 12
4
votes
2 answers

Maven's site generation is not working

Anyone not getting mvn site output? I was getting site output on my Macbook pro and I have deployed the site too. But tonight nothing works: [INFO] --- maven-site-plugin:2.0.1:site (default-cli) @ svs-utility --- No reports or HTML generated
4
votes
2 answers

How to us Maven PDF Plugin to generate PDF from Surefire Report?

after running my JUnit tests I use the Maven Surefire Report plugin (http://maven.apache.org/plugins/maven-surefire-report-plugin/) to generate a HTML test report. This results in the following file: ./target/site/surefire-report.html I know that…
1
2
3
13 14