plexus-build-api/0001-add-javadoc-plugin-to-pom-file.patch

42 lines
1.1 KiB
Diff

From 7f86809519c5b4294a32d85fad47e2db6c2558ae Mon Sep 17 00:00:00 2001
From: wang--ge <wang__ge@126.com>
Date: Mon, 17 Jan 2022 15:31:30 +0800
Subject: [PATCH] add javadoc plugin to pom file
---
pom.xml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/pom.xml b/pom.xml
index a78a1ef..0abcc2a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,6 +82,24 @@ See the Apache License Version 2.0 for the specific language governing permissio
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.0-M1</version>
+ <configuration>
+ <sourceFileExcludes>
+ <sourceFileExclude>**/org/sonatype/plexus/build/incremental/*BuildContext.java</sourceFileExclude>
+ </sourceFileExcludes>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
--
2.30.0