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
2
votes
1 answer

MVN Site doesn't bring Project Modules structure properly

I have project like this. MainProject | +- SubProject1 | +- SubProject2 | +- SubProject3 And i am trying to execute MVN SITE command. I am able to setup all other section in Project Information Section. All sub module's POM.XML have SubProject1…
user886614
  • 375
  • 1
  • 4
  • 14
2
votes
1 answer

get aggregated information about maven dependencies

I have a deep hierarchy of maven projects. The top level projects are pure aggregation projects: they do not define dependencies themselves and just enumerate the child projects that have a lot of dependencies each one. I know how to get…
AlexR
  • 114,158
  • 16
  • 130
  • 208
2
votes
1 answer

How do I create site content from a custom maven plugin?

I would like to generate some Maven site content from a custom Maven 3 plugin. I have not been able to find any documentation on how to go about this. How should I go about creating the content and adding it to the generate site in a maven-like way?…
lexicalscope
  • 7,158
  • 6
  • 37
  • 57
2
votes
1 answer

Executing a script from Maven 3 using exec plugin - gets blocked

This is the situation I'm facing: at the moment I have two Maven projects, one that does nothing but describing dependencies, repositories, etc. (the parent) and a child which inherits the other's pom.xml. There'll be more modules to be created in…
Radu
  • 2,027
  • 1
  • 15
  • 10
2
votes
1 answer

GitHub as Maven Repository | Error creating blob: Not Found (404)

Following are the steps that I have completed for using GitHub as a Maven Repository Created a new public repository: https://github.com/keshavram-roomie/library Went to https://start.spring.io and generated a maven project as is. Added…
Keshavram Kuduwa
  • 942
  • 10
  • 40
2
votes
1 answer

plugin-info.html file not being generated when running Maven site

I have a custom Maven plugin that has a few goals/Mojos in it that I'd like to generate documentation for. According to the Maven guide to plugin documentation, I am supposed to use the Maven plugin plugin in combination with the Maven site plugin…
2
votes
0 answers

Maven site plugin to deploy snapshots and releases separately?

I would like to deploy a site for a hierarchy of Maven projects differently for snapshots and releases (i.e. http://example.org for releases and http://dev.example.org for snapshots) and keep the project hierarchy (parents, children, modules)…
Greg
  • 41
  • 4
2
votes
1 answer

Why `maven-site-plugin` present in maven java project

I just created an empty Maven project using Intellij and ran mvn dependency:resolve-plugins. Plugin Resolved: maven-site-plugin-3.3.jar [INFO] Plugin Dependency Resolved: maven-reporting-exec-1.1.jar [INFO] Plugin Dependency Resolved:…
lucid
  • 2,722
  • 1
  • 12
  • 24
2
votes
0 answers

Why "mvn site" is running tests?

I have the following build configuration for a Spring Boot application. org.apache.maven.plugins maven-surefire-plugin
user2693135
  • 1,206
  • 5
  • 21
  • 44
2
votes
0 answers

Adding Swagger API Documentation to Maven Site

I have a Spring Boot project and I'm using swagger to test and document the API. The project also contains a bunch of classes that are used as libraries and I'm using scala docs to document those. Is there a way to unify API docs (from swagger) and…
2
votes
1 answer

Replace Maven Site Plugin with GWT Compile Plugin

I have successfully set up a few projects which use Maven to automatically deploy the Maven-generated site to the gh-pages branch of their git repository. GitHub then serves these files at a public URL on a personal subdomain. I'm looking to utilize…
Jake Wharton
  • 75,598
  • 23
  • 223
  • 230
2
votes
1 answer

Maven site plugin fails when running on jenkins

I am running maven application "DemoApp" that generates checkstyle static code analysis reports. It works correctly when I run it on eclipse, but when I build it on jenkins it gives the below error [ERROR] Failed to execute goal…
2
votes
0 answers

maven site-deploy to tomcat with webdav

I have used maven to generate a site for my project and want to use the site-deploy plugin to pubish the site to a webserver. I am using Tomcat with webdav enabled so created an empty war project and enabled webdav as described…
Farouk Alhassan
  • 3,780
  • 9
  • 51
  • 74
2
votes
1 answer

Maven Findbugs plugin not executing with mvn site command

I'm trying to get Findbugs working with an existing/mature Maven project. I added the following to the tag in my pom.xml: org.codehaus.mojo findbugs-maven-plugin
hotmeatballsoup
  • 385
  • 6
  • 58
  • 136
2
votes
1 answer

check of pom.xml to be compliant with mvn site command for github pages

When trying to publish my open source projects to gh-pages with mvn site there have been lots of obstacles recently due to changes in the way maven and github pages works. After studying…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186