This is an automated email from the ASF dual-hosted git repository.
chengzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 3451d92e364 Refactor : refactor the jandex and source plugin into
release profile (#29990) (#29992)
3451d92e364 is described below
commit 3451d92e364895016355be22f50ab8ae2c194e4c
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Mon Feb 5 10:32:23 2024 +0800
Refactor : refactor the jandex and source plugin into release profile
(#29990) (#29992)
* Refactor : refactor the jandex plugin into release profile (#29990)
* Refactor : move maven-source-plugin into release profile
---
distribution/agent/pom.xml | 15 +++++++++++++++
distribution/jdbc/pom.xml | 15 +++++++++++++++
distribution/proxy/pom.xml | 15 +++++++++++++++
pom.xml | 17 -----------------
4 files changed, 45 insertions(+), 17 deletions(-)
diff --git a/distribution/agent/pom.xml b/distribution/agent/pom.xml
index 79be2c1fea2..4b922a36539 100644
--- a/distribution/agent/pom.xml
+++ b/distribution/agent/pom.xml
@@ -82,6 +82,21 @@
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
</plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>io.smallrye</groupId>
+ <artifactId>jandex-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>make-index</id>
+ <goals>
+ <goal>jandex</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
diff --git a/distribution/jdbc/pom.xml b/distribution/jdbc/pom.xml
index 1a51d4de27b..556f19d15ed 100644
--- a/distribution/jdbc/pom.xml
+++ b/distribution/jdbc/pom.xml
@@ -90,6 +90,21 @@
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
</plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>io.smallrye</groupId>
+ <artifactId>jandex-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>make-index</id>
+ <goals>
+ <goal>jandex</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
diff --git a/distribution/proxy/pom.xml b/distribution/proxy/pom.xml
index 8fc298ef499..f0cc35b2982 100644
--- a/distribution/proxy/pom.xml
+++ b/distribution/proxy/pom.xml
@@ -96,6 +96,21 @@
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
</plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>io.smallrye</groupId>
+ <artifactId>jandex-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>make-index</id>
+ <goals>
+ <goal>jandex</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
diff --git a/pom.xml b/pom.xml
index 4fccc1a4e84..d791f4b2264 100644
--- a/pom.xml
+++ b/pom.xml
@@ -825,24 +825,7 @@
</pluginManagement>
<plugins>
- <!-- Compile plugins -->
- <plugin>
- <groupId>io.smallrye</groupId>
- <artifactId>jandex-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>make-index</id>
- <goals>
- <goal>jandex</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
<!-- Release plugins -->
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>