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

193 questions
46
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
  • 51,779
  • 39
  • 174
  • 288
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,490
  • 9
  • 36
  • 54
17
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
  • 389
  • 1
  • 2
  • 14
17
votes
4 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
  • 733
  • 2
  • 6
  • 22
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
  • 229
  • 1
  • 2
  • 6
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
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
  • 26,766
  • 8
  • 52
  • 98
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,081
  • 11
  • 66
  • 104
10
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
  • 467
  • 4
  • 13
9
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
  • 101
  • 3
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
  • 18,296
  • 27
  • 93
  • 139
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,278
  • 4
  • 29
  • 59
8
votes
1 answer

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
  • 12,097
  • 9
  • 75
  • 150
7
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
  • 45,222
  • 30
  • 104
  • 141
7
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
  • 15,675
  • 1
  • 44
  • 63
1
2 3
12 13