maven-site-plugin

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

浪尽此生 提交于 2019-12-07 07:05:36
问题 This is my pom.xml , I'm trying to disable Test Javadoc report in site : [...] <build> [...] <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <configuration> <reportPlugins> [...] <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <reportSets> <reportSet> <id>html</id> <reports> <report>javadoc</report> </reports> </reportSet> <reportSet> </configuration> </plugin> </reportPlugins> <

How can I get the maven-site-plugin to resolve the parent pom.xml of my multimodule Maven project?

喜夏-厌秋 提交于 2019-12-04 10:27:46
I have a garden variety Maven project. It has several modules in it. Thus the root pom.xml serves as both parent and aggregator in grand Maven fashion. This project builds and installs fine. The root pom.xml inherits from a corporate pom.xml with a stanza like this: <parent> <groupId>foo</groupId> <artifactId>bar</artifactId> <version>16</version> <!-- look, Ma, no SNAPSHOT --> </parent> When I run mvn site against this root pom.xml , the maven-site-plugin version 3.2 reports that it cannot resolve the parent. The parent is of course present in my local repository and in my local Nexus. No

Maven site (Maven 3) generates empty site folder

徘徊边缘 提交于 2019-12-04 01:44:00
I'm attempting to create a basic maven site using the maven site plugin. So I added this to my pom: <reporting> <plugins> <!--JavaDoc setup--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <configuration> <defaultAuthor>Leon Blakey</defaultAuthor> <defaultVersion>${project.version}</defaultVersion> <links> <link>http://download.oracle.com/javase/6/docs/api</link> </links> </configuration> </plugin> </plugins> </reporting> And ran mvn site --errors [INFO] Error stacktraces are turned on. [INFO] Scanning for projects...

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

假如想象 提交于 2019-12-03 10:05:56
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: <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.13</version> <reportSets> <reportSet> <reports> <report>checkstyle</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.5</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr

How to generate an aggregated scaladoc for a maven site?

不打扰是莪最后的温柔 提交于 2019-12-03 03:17:32
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: <project ...> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-site-plugin</artifactId> <configuration> <reportPlugins> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <reports> <report>doc</report> </reports> <configuration> <aggregateDirectOnly>false<

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

♀尐吖头ヾ 提交于 2019-12-01 00:49:56
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 there is a Maven PDF plugin to generate PDF files (http://maven.apache.org/plugins/maven-pdf-plugin/surefire-report.html). But I don't manage to get it working. I included it in my pom.xml: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pdf-plugin</artifactId> <executions> <execution> <id>pdf</id> <phase>test</phase> <goals>

Multi module POM - creating a site that works

安稳与你 提交于 2019-11-27 20:10:47
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 modules. I have cycled through endless online examples of how to get this to work. In none of these does the multi module part of this work. I can get the individual site output built OK, in the target/site folder of the children (and the aggregating module). I’ve also had it staging into a target/staging folder in the aggregating POM. The created

Multi module POM - creating a site that works

大兔子大兔子 提交于 2019-11-26 20:13:41
问题 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 modules. I have cycled through endless online examples of how to get this to work. In none of these does the multi module part of this work. I can get the individual site output built OK, in the target/site folder of the children (and the aggregating