Skip to content

Commit c39412a

Browse files
committed
HBASE-28314 Enable maven-source-plugin for all modules (#5748)
Signed-off-by: Duo Zhang <[email protected]>
1 parent 16c51d8 commit c39412a

File tree

23 files changed

+30
-100
lines changed

23 files changed

+30
-100
lines changed

hbase-asyncfs/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,6 @@
132132
</dependencies>
133133
<build>
134134
<plugins>
135-
<!-- Make a jar and put the sources in the jar -->
136-
<plugin>
137-
<groupId>org.apache.maven.plugins</groupId>
138-
<artifactId>maven-source-plugin</artifactId>
139-
</plugin>
140135
<plugin>
141136
<!--Make it so assembly:single does nothing in here-->
142137
<artifactId>maven-assembly-plugin</artifactId>

hbase-backup/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,6 @@
173173
<skipAssembly>true</skipAssembly>
174174
</configuration>
175175
</plugin>
176-
<!-- Make a jar and put the sources in the jar -->
177-
<plugin>
178-
<groupId>org.apache.maven.plugins</groupId>
179-
<artifactId>maven-source-plugin</artifactId>
180-
</plugin>
181176
<plugin>
182177
<groupId>net.revelc.code</groupId>
183178
<artifactId>warbucks-maven-plugin</artifactId>

hbase-balancer/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@
118118

119119
<build>
120120
<plugins>
121-
<!-- Make a jar and put the sources in the jar -->
122-
<plugin>
123-
<groupId>org.apache.maven.plugins</groupId>
124-
<artifactId>maven-source-plugin</artifactId>
125-
</plugin>
126121
<plugin>
127122
<!--Make it so assembly:single does nothing in here-->
128123
<artifactId>maven-assembly-plugin</artifactId>

hbase-checkstyle/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@
3535

3636
<build>
3737
<plugins>
38-
38+
<plugin>
39+
<!--Disable source plugin as this module does not contain source files -->
40+
<artifactId>maven-source-plugin</artifactId>
41+
<configuration>
42+
<skipSource>true</skipSource>
43+
</configuration>
44+
</plugin>
3945
<plugin>
4046
<groupId>org.apache.maven.plugins</groupId>
4147
<artifactId>maven-site-plugin</artifactId>

hbase-client/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,6 @@
202202
<skipAssembly>true</skipAssembly>
203203
</configuration>
204204
</plugin>
205-
<!-- Make a jar and put the sources in the jar -->
206-
<plugin>
207-
<groupId>org.apache.maven.plugins</groupId>
208-
<artifactId>maven-source-plugin</artifactId>
209-
</plugin>
210205
<plugin>
211206
<groupId>net.revelc.code</groupId>
212207
<artifactId>warbucks-maven-plugin</artifactId>

hbase-endpoint/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,6 @@
203203
</dependencies>
204204
<build>
205205
<plugins>
206-
<!-- Make a jar and put the sources in the jar -->
207-
<plugin>
208-
<groupId>org.apache.maven.plugins</groupId>
209-
<artifactId>maven-source-plugin</artifactId>
210-
</plugin>
211206
<plugin>
212207
<!--Make it so assembly:single does nothing in here-->
213208
<artifactId>maven-assembly-plugin</artifactId>

hbase-examples/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,6 @@
210210
<groups>${surefire.firstPartGroups}</groups>
211211
</configuration>
212212
</plugin>
213-
<!-- Make a jar and put the sources in the jar -->
214-
<plugin>
215-
<groupId>org.apache.maven.plugins</groupId>
216-
<artifactId>maven-source-plugin</artifactId>
217-
</plugin>
218213
<plugin>
219214
<groupId>org.xolstice.maven.plugins</groupId>
220215
<artifactId>protobuf-maven-plugin</artifactId>

hbase-extensions/hbase-openssl/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,15 @@
4040
</dependency>
4141
</dependencies>
4242

43+
<build>
44+
<plugins>
45+
<plugin>
46+
<!--Disable source plugin as this module does not contain source files -->
47+
<artifactId>maven-source-plugin</artifactId>
48+
<configuration>
49+
<skipSource>true</skipSource>
50+
</configuration>
51+
</plugin>
52+
</plugins>
53+
</build>
4354
</project>

hbase-external-blockcache/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,6 @@
142142
</execution>
143143
</executions>
144144
</plugin>
145-
<!-- Make a jar and put the sources in the jar -->
146-
<plugin>
147-
<groupId>org.apache.maven.plugins</groupId>
148-
<artifactId>maven-source-plugin</artifactId>
149-
</plugin>
150145
<plugin>
151146
<groupId>org.apache.maven.plugins</groupId>
152147
<artifactId>maven-checkstyle-plugin</artifactId>

hbase-hadoop-compat/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,6 @@
117117
<skipAssembly>true</skipAssembly>
118118
</configuration>
119119
</plugin>
120-
<!-- Make a jar and put the sources in the jar -->
121-
<plugin>
122-
<groupId>org.apache.maven.plugins</groupId>
123-
<artifactId>maven-source-plugin</artifactId>
124-
</plugin>
125120
<plugin>
126121
<groupId>org.apache.maven.plugins</groupId>
127122
<artifactId>maven-checkstyle-plugin</artifactId>

0 commit comments

Comments
 (0)