Skip to content

Commit

Permalink
Refactor : refactor the jandex and source plugin into release profile (
Browse files Browse the repository at this point in the history
…#29990) (#29992)

* Refactor : refactor the jandex plugin into release profile (#29990)

* Refactor : move maven-source-plugin into release profile
  • Loading branch information
taojintianxia authored Feb 5, 2024
1 parent ea8523f commit 3451d92
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 17 deletions.
15 changes: 15 additions & 0 deletions distribution/agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
15 changes: 15 additions & 0 deletions distribution/jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
15 changes: 15 additions & 0 deletions distribution/proxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
17 changes: 0 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 3451d92

Please sign in to comment.