Skip to content

Commit

Permalink
Merge pull request brianfrankcooper#854 from risdenk/ycsb-705
Browse files Browse the repository at this point in the history
[jdbc, solr] Fix JDBC checkstyle and skip Solr 5.x with JDK 9
  • Loading branch information
risdenk authored Sep 30, 2016
2 parents c9d70ba + d56953c commit 001b64d
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 28 deletions.
1 change: 0 additions & 1 deletion checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ LICENSE file.
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<module name="MissingSwitchDefault"/>
<module name="RedundantThrows"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ LICENSE file.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>checkstyle</groupId>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>5.0</version>
<version>7.7.1</version>
</dependency>
<dependency>
<groupId>org.jdom</groupId>
Expand Down Expand Up @@ -145,7 +145,7 @@ LICENSE file.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.15</version>
<version>2.16</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
53 changes: 29 additions & 24 deletions solr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,36 @@ LICENSE file.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.yahoo.ycsb</groupId>
<artifactId>binding-parent</artifactId>
<version>0.12.0-SNAPSHOT</version>
<relativePath>../binding-parent</relativePath>
</parent>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.yahoo.ycsb</groupId>
<artifactId>binding-parent</artifactId>
<version>0.12.0-SNAPSHOT</version>
<relativePath>../binding-parent</relativePath>
</parent>

<artifactId>solr-binding</artifactId>
<name>Solr Binding</name>
<packaging>jar</packaging>
<artifactId>solr-binding</artifactId>
<name>Solr Binding</name>
<packaging>jar</packaging>

<dependencies>
<dependency>
<groupId>com.yahoo.ycsb</groupId>
<artifactId>core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-solrj</artifactId>
<version>${solr.version}</version>
</dependency>
<properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests>
</properties>

<dependencies>
<dependency>
<groupId>com.yahoo.ycsb</groupId>
<artifactId>core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-solrj</artifactId>
<version>${solr.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
Expand All @@ -55,5 +60,5 @@ LICENSE file.
<version>${solr.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencies>
</project>

0 comments on commit 001b64d

Please sign in to comment.