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
48
votes
2 answers

How to use markdown for maven project site?

How to start with project documentation using maven and markdown markup language? Maven site default is APT, which is uncomfortable to learn just to do thing maven way. (Usually nobody in a team will start writing maven site documentation when they…
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
22
votes
3 answers

Maven skip site/reporting for module

I have a multi-module project and in the parent pom, I have several reporting plug-ins defined. Some of the modules contain code that does not need to have the reporting plugins run against them and I do not need them included in the generated site.…
babernathy
  • 803
  • 2
  • 8
  • 23
20
votes
9 answers

Multi module POM - creating a site that works

I have a multi module application, and I’m trying to generate a Maven site for this app. I have an aggregating POM that holds all the child modules, an inheritance POM that holds all the common features for the child modules, and a 20 or so child…
StripLight
  • 409
  • 1
  • 3
  • 14
19
votes
2 answers

Maven site warning: The repository url 'https://maven-repository.dev.java.net/nonav/repository' is invalid

I’m using Maven 3.2.3 on a multi-module project. I want to generate a checkstyle and findbugs report, so I have configured the following:
Dave A
  • 2,780
  • 9
  • 41
  • 60
16
votes
3 answers

Non-resolvable parent POM: When building Maven 3 Project Site

I am currently facing the following problem with Maven 3 when I am trying to build the site. I will appreciate you help on this. mvn clean site .......... [INFO] Reactor Summary: [INFO] [INFO] Project A .........................................…
tgrigoryan
  • 249
  • 1
  • 2
  • 6
15
votes
2 answers

How to include github markdown files into maven site

Github recommends that Markdown-formatted files like README.md, LICENCE.md or CONTRIBUTORS.md are created in the root of the project. On the other hand, those files would be valuable content for automatically generated maven sites. What would be the…
Hakan
  • 537
  • 4
  • 13
13
votes
1 answer

How to generate an aggregated scaladoc for a maven site?

I have a multi-module Maven build and I would like to generate an aggregated Scaladoc in my root module, similar to what the aggregate goal for the maven-javadoc-plugin does. My first attempt was:
11
votes
1 answer

Why does maven-site-plugin always use version 3.3?

I am experiencing the same problem described in maven-site plugins 3.3 java.lang.ClassNotFoundException: org.apache.maven.doxia.siterenderer.DocumentContent I'm trying to set the versions for maven-site-plugin (to 3.7.1) and…
mbreck
  • 121
  • 1
  • 4
11
votes
2 answers

How to avoid calling javadoc more than once if creating a site?

I would like to deploy an artifact together with javadoc and a Maven site. I use clean javadoc:jar site deploy site:deploy (the split between site and site:deploy is just to avoid the deployment of a site if deploy fails). Now the javadoc is…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
11
votes
3 answers

Maven site (Maven 3) generates empty site folder

I'm attempting to create a basic maven site using the maven site plugin. So I added this to my pom: org.apache.maven.plugins
TheLQ
  • 14,830
  • 14
  • 69
  • 107
11
votes
2 answers

Some problems were encountered while building the effective model for

The maven build for the project https://github.com/BITPlan/com.bitplan.antlr gives the warning message: [WARNING] [WARNING] Some problems were encountered while building the effective model for…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
9
votes
2 answers

Maven properties in site apt files

How can I use maven properties in site APT files? For example I want to use ${project.version} in the index.apt so I can always refer to the latest version without manually changing the index.apt file before deploying the site.
kayahr
  • 20,913
  • 29
  • 99
  • 147
9
votes
1 answer

How to skip test api docs in maven-javadoc-plugin?

I would like to skip generating 'testapidocs' folder in my 'target/site' folder after executing 'clean skip:skip' with following configuration. Build Configuration: .................
Jagadeesh
  • 2,730
  • 6
  • 30
  • 45
9
votes
2 answers

Maven Aggregated site generation

I have a maven based project. There are four different projects like shown in the structure below. Each main project and the subprojects have their own pom.xml files. ProjectA | --------subProjects ProjectB | …
Sam
  • 1,298
  • 6
  • 30
  • 65
8
votes
4 answers

maven site for multi module

I have a maven project with lots of sub-modules, and I use parent pom to control the plugins the directory like below -pom.xml (parent pom) +- submodule1 +- submodule2 +- src\site\site.xml therefore src\site\site.xml contains the customized menu…
Larry Cai
  • 55,923
  • 34
  • 110
  • 156
1
2 3
13 14