Move JXR to maven-tile and build source code pages during package phase
Building the source code during packaging ensures that the source code pages are available for PMD when it generates cross-reference links.
This commit is contained in:
parent
f2fe36bcf4
commit
6a41657e1d
2 changed files with 19 additions and 6 deletions
|
@ -3,7 +3,6 @@
|
|||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<jacoco-maven-plugin.version>0.7.9</jacoco-maven-plugin.version>
|
||||
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
|
||||
<maven-jxr-plugin.version>2.5</maven-jxr-plugin.version>
|
||||
<jacoco-class-line-covered-ratio>0.50</jacoco-class-line-covered-ratio>
|
||||
<jacoco-class-instruction-covered-ratio>0.80</jacoco-class-instruction-covered-ratio>
|
||||
<jacoco-class-missed-count-maximum>0</jacoco-class-missed-count-maximum>
|
||||
|
@ -76,11 +75,6 @@
|
|||
</build>
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jxr-plugin</artifactId>
|
||||
<version>${maven-jxr-plugin.version}</version>
|
||||
</plugin><!-- maven-jxr-plugin -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<maven-clean-plugin.version>3.0.0</maven-clean-plugin.version>
|
||||
<maven-install-plugin.version>2.5.2</maven-install-plugin.version>
|
||||
<maven-site-plugin.version>3.6</maven-site-plugin.version>
|
||||
<maven-jxr-plugin.version>2.5</maven-jxr-plugin.version>
|
||||
<versions.version>2.4</versions.version>
|
||||
</properties>
|
||||
<build>
|
||||
|
@ -28,10 +29,28 @@
|
|||
<artifactId>versions-maven-plugin</artifactId>
|
||||
<version>${versions.version}</version>
|
||||
</plugin><!-- versions-maven-plugin-->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jxr-plugin</artifactId>
|
||||
<version>${maven-jxr-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jxr</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin><!-- maven-jxr-plugin -->
|
||||
</plugins>
|
||||
</build>
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jxr-plugin</artifactId>
|
||||
<version>${maven-jxr-plugin.version}</version>
|
||||
</plugin><!-- maven-jxr-plugin -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>versions-maven-plugin</artifactId>
|
||||
|
|
Loading…
Reference in a new issue