Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit a7987ee

Browse files
EMO-7628 add maven enforcer plugin (#18)
1 parent eace3bc commit a7987ee

File tree

8 files changed

+285
-173
lines changed

8 files changed

+285
-173
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
language: java
22
notifications:
33
email: false
4-
jdk: openjdk7
4+
jdk: openjdk8

pom.xml

Lines changed: 277 additions & 164 deletions
Large diffs are not rendered by default.

src/it/smoke/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ under the License.
149149
<configuration>
150150
<loadAfterFirstStart>false</loadAfterFirstStart>
151151
<cuLoadAfterFirstStart>false</cuLoadAfterFirstStart>
152+
<startNativeTransport>true</startNativeTransport>
152153
<rpcPort>${cassandraPort}</rpcPort>
153154
<storagePort>${cassandra.storagePort}</storagePort>
154155
<stopPort>${cassandra.stopPort}</stopPort>

src/it/spaces in path/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ under the License.
135135
</executions>
136136
<configuration>
137137
<loadAfterFirstStart>false</loadAfterFirstStart>
138+
<startNativeTransport>true</startNativeTransport>
138139
<rpcPort>${cassandraPort}</rpcPort>
139140
<storagePort>${cassandra.storagePort}</storagePort>
140141
<stopPort>${cassandra.stopPort}</stopPort>

src/main/java/org/codehaus/mojo/cassandra/AbstractCqlExecMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import org.apache.cassandra.thrift.ConsistencyLevel;
1414
import org.apache.cassandra.thrift.CqlResult;
1515
import org.apache.cassandra.utils.ByteBufferUtil;
16-
import org.apache.commons.lang.StringUtils;
16+
import org.apache.commons.lang3.StringUtils;
1717
import org.apache.maven.plugin.MojoExecutionException;
1818
import org.codehaus.plexus.util.IOUtil;
1919

@@ -30,7 +30,7 @@ public abstract class AbstractCqlExecMojo extends AbstractCassandraMojo
3030
* @parameter expression="${cql.version}"
3131
* @since 1.2.1-2
3232
*/
33-
private String cqlVersion = "2.0.0";
33+
private String cqlVersion = "3.4.0";
3434

3535
protected String readFile(File file) throws MojoExecutionException
3636
{

src/main/java/org/codehaus/mojo/cassandra/DropColumnFamiliesMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import org.apache.cassandra.thrift.SchemaDisagreementException;
44
import org.apache.cassandra.thrift.InvalidRequestException;
55
import org.apache.cassandra.thrift.Cassandra.Client;
6-
import org.apache.commons.lang.StringUtils;
6+
import org.apache.commons.lang3.StringUtils;
77
import org.apache.thrift.TException;
88

99
/**

src/main/java/org/codehaus/mojo/cassandra/ThriftApiOperation.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
package org.codehaus.mojo.cassandra;
22

33
import org.apache.cassandra.thrift.Cassandra;
4-
import org.apache.cassandra.thrift.InvalidRequestException;
5-
import org.apache.cassandra.thrift.SchemaDisagreementException;
6-
import org.apache.thrift.TException;
74

85
public abstract class ThriftApiOperation {
96

107
private String keyspace;
118
private final String rpcAddress;
129
private final int rpcPort;
13-
private String cqlVersion = "2.0.0";
10+
private String cqlVersion = "3.4.0";
1411

1512
public ThriftApiOperation(String rpcAddress, int rpcPort)
1613
{

src/main/java/org/codehaus/mojo/cassandra/smart/SmartCqlExecCassandraMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import org.apache.cassandra.thrift.CqlResult;
1212
import org.apache.cassandra.thrift.CqlRow;
1313
import org.apache.cassandra.utils.ByteBufferUtil;
14-
import org.apache.commons.lang.StringUtils;
14+
import org.apache.commons.lang3.StringUtils;
1515
import org.apache.maven.plugin.MojoExecutionException;
1616
import org.apache.maven.plugin.MojoFailureException;
1717
import org.codehaus.mojo.cassandra.AbstractCassandraMojo;

0 commit comments

Comments
 (0)