Skip to content

Commit

Permalink
HBASE-28314 Enable maven-source-plugin for all modules
Browse files Browse the repository at this point in the history
  • Loading branch information
stoty committed Mar 7, 2024
1 parent b374e52 commit fe84f41
Show file tree
Hide file tree
Showing 24 changed files with 30 additions and 105 deletions.
5 changes: 0 additions & 5 deletions hbase-asyncfs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,6 @@
</dependencies>
<build>
<plugins>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<!--Make it so assembly:single does nothing in here-->
<artifactId>maven-assembly-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-backup/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,6 @@
<skipAssembly>true</skipAssembly>
</configuration>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>warbucks-maven-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-balancer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@

<build>
<plugins>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<!--Make it so assembly:single does nothing in here-->
<artifactId>maven-assembly-plugin</artifactId>
Expand Down
8 changes: 7 additions & 1 deletion hbase-checkstyle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@

<build>
<plugins>

<plugin>
<!--Disable source plugin as this module does not contain source files -->
<artifactId>maven-source-plugin</artifactId>
<configuration>
<skipSource>true</skipSource>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,6 @@
<skipAssembly>true</skipAssembly>
</configuration>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>warbucks-maven-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-endpoint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,6 @@
</dependencies>
<build>
<plugins>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<!--Make it so assembly:single does nothing in here-->
<artifactId>maven-assembly-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,6 @@
<groups>${surefire.firstPartGroups}</groups>
</configuration>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
Expand Down
11 changes: 11 additions & 0 deletions hbase-extensions/hbase-openssl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,15 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<!--Disable source plugin as this module does not contain source files -->
<artifactId>maven-source-plugin</artifactId>
<configuration>
<skipSource>true</skipSource>
</configuration>
</plugin>
</plugins>
</build>
</project>
5 changes: 0 additions & 5 deletions hbase-external-blockcache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,6 @@
</execution>
</executions>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-hadoop-compat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@
<skipAssembly>true</skipAssembly>
</configuration>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
Expand Down
9 changes: 0 additions & 9 deletions hbase-hbtop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,4 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
5 changes: 0 additions & 5 deletions hbase-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,6 @@
</testResources>
<pluginManagement>
<plugins>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<!--Make it so assembly:single does nothing in here-->
<artifactId>maven-assembly-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@
<skipAssembly>true</skipAssembly>
</configuration>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>warbucks-maven-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-mapreduce/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,6 @@
</archive>
</configuration>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>warbucks-maven-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-metrics-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@

<build>
<plugins>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<!--Make it so assembly:single does nothing in here-->
<artifactId>maven-assembly-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-metrics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,6 @@

<build>
<plugins>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<!--Make it so assembly:single does nothing in here-->
<artifactId>maven-assembly-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-procedure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@

<build>
<plugins>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<!--Make it so assembly:single does nothing in here-->
<artifactId>maven-assembly-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-protocol-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@
</dependencies>
<build>
<plugins>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<!--Make it so assembly:single does nothing in here-->
<artifactId>maven-assembly-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-replication/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@
<skipAssembly>true</skipAssembly>
</configuration>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +292,6 @@
<skipAssembly>true</skipAssembly>
</configuration>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!-- General ant tasks, bound to different build phases -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
Expand Down
7 changes: 7 additions & 0 deletions hbase-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@
<skipAssembly>true</skipAssembly>
</configuration>
</plugin>
<plugin>
<!--Disable source plugin for shaded modules-->
<artifactId>maven-source-plugin</artifactId>
<configuration>
<skipSource>true</skipSource>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-shell/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,6 @@
</archive>
</configuration>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!-- General plugins -->
<plugin>
<groupId>net.revelc.code</groupId>
Expand Down
5 changes: 0 additions & 5 deletions hbase-thrift/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,6 @@
</execution>
</executions>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2614,6 +2614,11 @@
</execution>
</executions>
</plugin>
<!-- Make a jar and put the sources in the jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!-- parent-module only plugins -->
<!-- Special configuration for spotbugs just in the parent so
the filter file location can be more general (see definition in pluginManagement) -->
Expand Down

0 comments on commit fe84f41

Please sign in to comment.