Skip to content

Commit 7f2ae00

Browse files
authored
HBASE-28314 Enable maven-source-plugin for all modules (#5753)
Signed-off-by: Duo Zhang <[email protected]>
1 parent 8ecfdcd commit 7f2ae00

21 files changed

Lines changed: 19 additions & 95 deletions

File tree

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-checkstyle/pom.xml

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

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

hbase-client/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,6 @@
209209
<skipAssembly>true</skipAssembly>
210210
</configuration>
211211
</plugin>
212-
<!-- Make a jar and put the sources in the jar -->
213-
<plugin>
214-
<groupId>org.apache.maven.plugins</groupId>
215-
<artifactId>maven-source-plugin</artifactId>
216-
</plugin>
217212
<plugin>
218213
<groupId>net.revelc.code</groupId>
219214
<artifactId>warbucks-maven-plugin</artifactId>

hbase-endpoint/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,6 @@
223223
</dependencies>
224224
<build>
225225
<plugins>
226-
<!-- Make a jar and put the sources in the jar -->
227-
<plugin>
228-
<groupId>org.apache.maven.plugins</groupId>
229-
<artifactId>maven-source-plugin</artifactId>
230-
</plugin>
231226
<plugin>
232227
<!--Make it so assembly:single does nothing in here-->
233228
<artifactId>maven-assembly-plugin</artifactId>

hbase-examples/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,6 @@
203203
<groups>${surefire.firstPartGroups}</groups>
204204
</configuration>
205205
</plugin>
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
<groupId>org.xolstice.maven.plugins</groupId>
213208
<artifactId>protobuf-maven-plugin</artifactId>

hbase-external-blockcache/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,6 @@
148148
</execution>
149149
</executions>
150150
</plugin>
151-
<!-- Make a jar and put the sources in the jar -->
152-
<plugin>
153-
<groupId>org.apache.maven.plugins</groupId>
154-
<artifactId>maven-source-plugin</artifactId>
155-
</plugin>
156151
<plugin>
157152
<groupId>org.apache.maven.plugins</groupId>
158153
<artifactId>maven-checkstyle-plugin</artifactId>

hbase-hadoop-compat/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,6 @@
110110
<skipAssembly>true</skipAssembly>
111111
</configuration>
112112
</plugin>
113-
<!-- Make a jar and put the sources in the jar -->
114-
<plugin>
115-
<groupId>org.apache.maven.plugins</groupId>
116-
<artifactId>maven-source-plugin</artifactId>
117-
</plugin>
118113
<plugin>
119114
<groupId>net.revelc.code</groupId>
120115
<artifactId>warbucks-maven-plugin</artifactId>

hbase-hbtop/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,4 @@
9696
<scope>test</scope>
9797
</dependency>
9898
</dependencies>
99-
<build>
100-
<plugins>
101-
<!-- Make a jar and put the sources in the jar -->
102-
<plugin>
103-
<groupId>org.apache.maven.plugins</groupId>
104-
<artifactId>maven-source-plugin</artifactId>
105-
</plugin>
106-
</plugins>
107-
</build>
10899
</project>

hbase-it/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,6 @@
213213
</testResources>
214214
<pluginManagement>
215215
<plugins>
216-
<!-- Make a jar and put the sources in the jar -->
217-
<plugin>
218-
<groupId>org.apache.maven.plugins</groupId>
219-
<artifactId>maven-source-plugin</artifactId>
220-
</plugin>
221216
<plugin>
222217
<!--Make it so assembly:single does nothing in here-->
223218
<artifactId>maven-assembly-plugin</artifactId>

hbase-logging/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@
9696
<skipAssembly>true</skipAssembly>
9797
</configuration>
9898
</plugin>
99-
<!-- Make a jar and put the sources in the jar -->
100-
<plugin>
101-
<groupId>org.apache.maven.plugins</groupId>
102-
<artifactId>maven-source-plugin</artifactId>
103-
</plugin>
10499
<plugin>
105100
<groupId>net.revelc.code</groupId>
106101
<artifactId>warbucks-maven-plugin</artifactId>

0 commit comments

Comments
 (0)