This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.6 by this push:
new d243d6a1e19 HBASE-29162 Fix Maven build warnings (#6744)
d243d6a1e19 is described below
commit d243d6a1e1991e486548102e66b64ad1df33f08a
Author: Dávid Paksy <[email protected]>
AuthorDate: Tue Mar 18 17:30:12 2025 +0100
HBASE-29162 Fix Maven build warnings (#6744)
Merged the executions of two usages of the build-helper-maven-plugin.
Removed duplicated log4j-1.2-api dependency in hbase-examples.
Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Istvan Toth <[email protected]>
(cherry picked from commit b0070b486f928e27a1d6a88e70930c5ce965de4e)
---
hbase-server/pom.xml | 34 ++++++++++++++--------------------
1 file changed, 14 insertions(+), 20 deletions(-)
diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index b60ae8a790b..e303ec1ada6 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -462,6 +462,20 @@
</resources>
</configuration>
</execution>
+ <execution>
+ <!-- Add the generated sources -->
+ <id>jspcSource-packageInfo-source</id>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <phase>generate-sources</phase>
+ <configuration>
+ <sources>
+ <source>${project.build.directory}/generated-jamon</source>
+
<source>${project.build.directory}/generated-sources/java</source>
+ </sources>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -553,26 +567,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <!-- Add the generated sources -->
- <execution>
- <id>jspcSource-packageInfo-source</id>
- <goals>
- <goal>add-source</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <sources>
- <source>${project.build.directory}/generated-jamon</source>
-
<source>${project.build.directory}/generated-sources/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.jamon</groupId>
<artifactId>jamon-maven-plugin</artifactId>