Skip to content

Commit

Permalink
Merge pull request #52 from orchitech/feat-aggregate-reports
Browse files Browse the repository at this point in the history
Add aggregate Maven reports.
  • Loading branch information
karelmaxa authored Feb 23, 2024
2 parents dfdd591 + 9eba165 commit d5a68cc
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 36 deletions.
4 changes: 4 additions & 0 deletions commons-bom/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
<version position="right" />

<body>
<head>
<![CDATA[<link rel="icon" href="/wrensec-commons/favicon.ico" />]]>
</head>

<breadcrumbs>
<item name="Wren Security" href="https://wrensecurity.org" />
<item name="Commons" href="../index.html" />
Expand Down
13 changes: 0 additions & 13 deletions doc-maven/doc-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -349,19 +349,6 @@

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.2</version>
<reportSets>
<reportSet>
<reports>
<report>jxr</report>
</reports>
</reportSet>
</reportSets>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
Expand Down
39 changes: 39 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
<pgpVerifyKeysVersion>1.7.6</pgpVerifyKeysVersion>
<wrenBuildToolsVersion>1.2.0</wrenBuildToolsVersion>
<pmdPluginVersion>3.21.2</pmdPluginVersion>
<jxrPluginVersion>3.3.2</jxrPluginVersion>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -146,6 +147,43 @@

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstylePluginVersion}</version>

<configuration>
<failsOnError>false</failsOnError>
</configuration>

<reportSets>
<reportSet>
<id>aggregate</id>
<inherited>false</inherited>

<reports>
<report>checkstyle-aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>${jxrPluginVersion}</version>

<reportSets>
<reportSet>
<id>default</id>

<reports>
<report>jxr-no-fork</report>
</reports>
</reportSet>
</reportSets>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
Expand All @@ -155,6 +193,7 @@
<reportSet>
<id>aggregate</id>
<inherited>false</inherited>

<reports>
<!-- execute within the same session to correctly resolve local plugin deps -->
<report>aggregate-pmd-no-fork</report>
Expand Down
18 changes: 0 additions & 18 deletions rest/json-resource-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,22 +140,4 @@
</plugin>
</plugins>
</build>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>3.0.0</version>

<reportSets>
<reportSet>
<reports>
<report>jxr</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>
10 changes: 5 additions & 5 deletions self-service/forgerock-selfservice-example-ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

<executions>
<execution>
<phase>prepare-package</phase>
<phase>generate-resources</phase>

<goals>
<goal>resources</goal>
Expand All @@ -92,7 +92,7 @@
<executions>
<execution>
<id>unpack</id>
<phase>prepare-package</phase>
<phase>generate-resources</phase>

<goals>
<goal>unpack</goal>
Expand All @@ -113,7 +113,7 @@

<execution>
<id>copy-dependencies-less</id>
<phase>prepare-package</phase>
<phase>generate-resources</phase>

<goals>
<goal>copy-dependencies</goal>
Expand All @@ -137,7 +137,7 @@
<executions>
<execution>
<id>prepare-working-dir</id>
<phase>prepare-package</phase>
<phase>generate-resources</phase>

<goals>
<goal>single</goal>
Expand All @@ -155,7 +155,7 @@

<execution>
<id>build-final-zip</id>
<phase>package</phase>
<phase>compile</phase>

<goals>
<goal>single</goal>
Expand Down
4 changes: 4 additions & 0 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
<version position="right" />

<body>
<head>
<![CDATA[<link rel="icon" href="/wrensec-commons/favicon.ico" />]]>
</head>

<breadcrumbs>
<item name="Wren Security" href="https://wrensecurity.org" />
<item name="Commons" href="index.html" />
Expand Down

0 comments on commit d5a68cc

Please sign in to comment.