Use latest Fluo Parent POM (version 2)
Update pom.xml to use fluo-parent-2 and eliminate redundant checkstyle
rules already checked by parent.
Also bump maxRank for FindBugs to be closer to parent POM, but without
introducing any new errors.
<parent>
<groupId>org.apache.fluo</groupId>
<artifactId>fluo-parent</artifactId>
- <version>1-incubating</version>
+ <version>2</version>
</parent>
<artifactId>fluo-project</artifactId>
<version>1.2.0-SNAPSHOT</version>
<accumulo.version>1.6.5</accumulo.version>
<curator.version>2.7.1</curator.version>
<dropwizard.version>0.8.1</dropwizard.version>
- <findbugs.maxRank>9</findbugs.maxRank>
+ <findbugs.maxRank>11</findbugs.maxRank>
<hadoop.version>2.6.3</hadoop.version>
<logback.version>1.1.3</logback.version>
<releaseProfiles>fluo-release</releaseProfiles>
</plugins>
</pluginManagement>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <executions>
- <execution>
- <id>accumulo-api-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <checkstyleRules>
- <module name="Checker">
- <module name="TreeWalker">
- <module name="AvoidStarImport" />
- <module name="RegexpSinglelineJava">
- <!--check that only Accumulo public APIs are imported-->
- <property name="format" value="import\s+org\.apache\.accumulo\.(.*\.(impl|thrift)\..*|(?!core|minicluster).*|core\.(?!client|data|iterators|security\.Authorizations|security\.ColumnVisibility|util\.format\.Formatter).*|core\.data\.(?!Key|Mutation|Value|Range|Condition|ConditionalMutation|ByteSequence|PartialKey|ColumnUpdate|ArrayByteSequence).*)" />
- <property name="ignoreComments" value="true" />
- <property name="message" value="Accumulo non-public classes imported" />
- </module>
- </module>
- </module>
- </checkstyleRules>
- <failOnViolation>true</failOnViolation>
- <outputFile>${project.build.directory}/checkstyle-results-accumulo.xml</outputFile>
- </configuration>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
