]> source.dussan.org Git - jgit.git/commitdiff
Fix generation of maven site 41/204141/1
authorMatthias Sohn <matthias.sohn@sap.com>
Wed, 6 Sep 2023 22:06:52 +0000 (00:06 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 6 Sep 2023 22:06:52 +0000 (00:06 +0200)
- update maven-site-plugin to 4.0.0-M9
- use wagon-ssh extension for deployment
- disable doclint
- don't fail the build for javadoc warnings

Change-Id: I81f7229deaf6892416ce4cebd6c122f00a857d51

org.eclipse.jgit.benchmarks/pom.xml
pom.xml

index 541c76b4fbe85c4194d7a26420b3a775620a52d9..2861e255c3220b1aad8b4091cef6228691003b5e 100644 (file)
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-site-plugin</artifactId>
-          <version>3.12.1</version>
+          <version>4.0.0-M9</version>
           <dependencies>
             <dependency><!-- add support for ssh/scp -->
               <groupId>org.apache.maven.wagon</groupId>
-              <artifactId>wagon-ssh-external</artifactId>
+              <artifactId>wagon-ssh</artifactId>
               <version>3.5.3</version>
             </dependency>
           </dependencies>
diff --git a/pom.xml b/pom.xml
index bfd49db9b6c66ace7c7a468d50c312a65eebc102..dd7f25b5b68342302a5239ca3aa0c897e5139948 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-site-plugin</artifactId>
-          <version>3.12.1</version>
+          <version>4.0.0-M9</version>
           <dependencies>
             <dependency><!-- add support for ssh/scp -->
               <groupId>org.apache.maven.wagon</groupId>
-              <artifactId>wagon-ssh-external</artifactId>
+              <artifactId>wagon-ssh</artifactId>
               <version>3.5.3</version>
             </dependency>
           </dependencies>
           to check javadoc on tests. We can reconsider to configure this on javadoc
           when it starts supporting access specifiers so that we can set
           -Xdoclint:all,-missing/private -->
-          <additionalJOption>-Xdoclint:none</additionalJOption>-->
+          <additionalJOption>-Xdoclint:none</additionalJOption>
           <encoding>${project.build.sourceEncoding}</encoding>
           <quiet>true</quiet>
           <failOnWarnings>true</failOnWarnings>
           </reportSet>
         </reportSets>
         <configuration>
-          <failOnWarnings>true</failOnWarnings>
+          <failOnWarnings>false</failOnWarnings>
+          <additionalJOption>-Xdoclint:none</additionalJOption>
+          <encoding>${project.build.sourceEncoding}</encoding>
+          <quiet>true</quiet>
+          <failOnWarnings>false</failOnWarnings>
+          <excludePackageNames>org.eclipse.jgit.http.test</excludePackageNames>
+          <links>
+            <link>https://docs.oracle.com/en/java/javase/11/docs/api</link>
+          </links>
+          <tags>
+            <tag>
+              <name>apiNote</name>
+              <placement>a</placement>
+              <head>API Note:</head>
+            </tag>
+            <tag>
+              <name>implSpec</name>
+              <placement>a</placement>
+              <head>Implementation Requirements:</head>
+            </tag>
+            <tag>
+              <name>implNote</name>
+              <placement>a</placement>
+              <head>Implementation Note:</head>
+            </tag>
+          </tags>
         </configuration>
       </plugin>
       <plugin>