Skip to content

Commit

Permalink
Fix distributedlog Maven reactor module
Browse files Browse the repository at this point in the history
    - add explicitly distributedlog to the modules of Stream project
    - fix checkstyle on distributedlog, it wasn't executed


Reviewers: Anup Ghatage <None>, Matteo Minardi <[email protected]>, Rajan Dhabalia <[email protected]>

This closes apache#2366 from eolivelli/fix/fix-dlop-dep-411
  • Loading branch information
eolivelli authored Jun 24, 2020
1 parent 571a241 commit 47110de
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion stream/distributedlog/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<suppressionsLocation>buildtools/src/main/resources/distributedlog/suppressions.xml</suppressionsLocation>
<suppressionsLocation>../../buildtools/src/main/resources/distributedlog/suppressions.xml</suppressionsLocation>
<configLocation>../../buildtools/src/main/resources/bookkeeper/checkstyle.xml</configLocation>
<excludes>**/thrift/**/*</excludes>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
*/
package org.apache.distributedlog.impl.metadata;

import static java.nio.charset.StandardCharsets.UTF_8;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.apache.distributedlog.DistributedLogConstants.EMPTY_BYTES;
import static org.apache.distributedlog.DistributedLogConstants.UNASSIGNED_LOGSEGMENT_SEQNO;
import static org.apache.distributedlog.metadata.LogMetadata.ALLOCATION_PATH;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*/
package org.apache.distributedlog.impl.subscription;

import java.nio.charset.StandardCharsets;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
import org.apache.bookkeeper.common.concurrent.FutureUtils;
Expand Down
1 change: 1 addition & 0 deletions stream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<name>Apache BookKeeper :: Stream Storage :: Parent</name>

<modules>
<module>distributedlog</module>
<module>common</module>
<module>tests-common</module>
<module>statelib</module>
Expand Down

0 comments on commit 47110de

Please sign in to comment.