You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by rg...@apache.org on 2022/06/04 00:42:14 UTC

[flume] 03/03: Fix javadoc build issues

This is an automated email from the ASF dual-hosted git repository.

rgoers pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/flume.git

commit 309002eb94e16fb42d8b3811a96cf93e55b3f585
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Fri Jun 3 16:34:50 2022 -0700

    Fix javadoc build issues
---
 build-support/pom.xml | 18 ++++++++++++++++++
 pom.xml               |  2 ++
 2 files changed, 20 insertions(+)

diff --git a/build-support/pom.xml b/build-support/pom.xml
index 11f5c4b1..b1479521 100644
--- a/build-support/pom.xml
+++ b/build-support/pom.xml
@@ -28,6 +28,7 @@ limitations under the License.
     <properties>
         <maven.site.skip>true</maven.site.skip>
         <deploy.plugin.version>2.8.2</deploy.plugin.version>
+        <mvn-gpg-plugin.version>1.6</mvn-gpg-plugin.version>
     </properties>
     <build>
         <plugins>
@@ -39,6 +40,23 @@ limitations under the License.
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-gpg-plugin</artifactId>
+                <version>${mvn-gpg-plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>default-cli</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>sign</goal>
+                        </goals>
+                        <configuration>
+                            <skip>true</skip>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index dcc4b56c..a063ec77 100644
--- a/pom.xml
+++ b/pom.xml
@@ -481,6 +481,7 @@ limitations under the License.
               <excludes>
                   <exclude>**/*.sha512</exclude>
               </excludes>
+            <keyname>${GPGSigningUserName}</keyname>
           </configuration>
         </plugin>
 
@@ -611,6 +612,7 @@ limitations under the License.
               <!-- include ONLY flume multi-module dependencies -->
               <dependencySourceInclude>org.apache.flume:*</dependencySourceInclude>
             </dependencySourceIncludes>
+            <additionalparam>-Xdoclint:none</additionalparam>
           </configuration>
         </plugin>