Skip to content

Commit 8478b28

Browse files
committed
HBASE-28961 Add essential build plugins to hbase-diagnostics (#6444)
Signed-off-by: Istvan Toth <stoty@apache.org> (cherry picked from commit 40d9e9d)
1 parent 371daeb commit 8478b28

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

hbase-diagnostics/pom.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,4 +187,41 @@
187187
<scope>test</scope>
188188
</dependency>
189189
</dependencies>
190+
191+
<build>
192+
<plugins>
193+
<plugin>
194+
<!--Make it so assembly:single does nothing in here-->
195+
<artifactId>maven-assembly-plugin</artifactId>
196+
<configuration>
197+
<skipAssembly>true</skipAssembly>
198+
</configuration>
199+
</plugin>
200+
<!-- Make a jar and put the sources in the jar -->
201+
<plugin>
202+
<groupId>org.apache.maven.plugins</groupId>
203+
<artifactId>maven-source-plugin</artifactId>
204+
<executions>
205+
<execution>
206+
<goals>
207+
<goal>jar</goal>
208+
<goal>test-jar</goal>
209+
</goals>
210+
<phase>package</phase>
211+
</execution>
212+
</executions>
213+
</plugin>
214+
<plugin>
215+
<groupId>org.apache.maven.plugins</groupId>
216+
<artifactId>maven-checkstyle-plugin</artifactId>
217+
<configuration>
218+
<failOnViolation>true</failOnViolation>
219+
</configuration>
220+
</plugin>
221+
<plugin>
222+
<groupId>net.revelc.code</groupId>
223+
<artifactId>warbucks-maven-plugin</artifactId>
224+
</plugin>
225+
</plugins>
226+
</build>
190227
</project>

hbase-diagnostics/src/main/java/org/apache/hadoop/hbase/util/MultiThreadedWriter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@
3434
import org.apache.hadoop.hbase.client.Table;
3535
import org.apache.hadoop.hbase.util.test.LoadTestDataGenerator;
3636
import org.apache.hadoop.util.StringUtils;
37+
import org.apache.yetus.audience.InterfaceAudience;
3738
import org.slf4j.Logger;
3839
import org.slf4j.LoggerFactory;
3940

4041
/** Creates multiple threads that write key/values into the */
42+
@InterfaceAudience.Private
4143
public class MultiThreadedWriter extends MultiThreadedWriterBase {
4244
private static final Logger LOG = LoggerFactory.getLogger(MultiThreadedWriter.class);
4345

0 commit comments

Comments
 (0)