This repository was archived by the owner on May 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +285
-173
lines changed
main/java/org/codehaus/mojo/cassandra Expand file tree Collapse file tree 8 files changed +285
-173
lines changed Original file line number Diff line number Diff line change 1
1
language : java
2
2
notifications :
3
3
email : false
4
- jdk : openjdk7
4
+ jdk : openjdk8
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ under the License.
149
149
<configuration >
150
150
<loadAfterFirstStart >false</loadAfterFirstStart >
151
151
<cuLoadAfterFirstStart >false</cuLoadAfterFirstStart >
152
+ <startNativeTransport >true</startNativeTransport >
152
153
<rpcPort >${cassandraPort} </rpcPort >
153
154
<storagePort >${cassandra.storagePort} </storagePort >
154
155
<stopPort >${cassandra.stopPort} </stopPort >
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ under the License.
135
135
</executions >
136
136
<configuration >
137
137
<loadAfterFirstStart >false</loadAfterFirstStart >
138
+ <startNativeTransport >true</startNativeTransport >
138
139
<rpcPort >${cassandraPort} </rpcPort >
139
140
<storagePort >${cassandra.storagePort} </storagePort >
140
141
<stopPort >${cassandra.stopPort} </stopPort >
Original file line number Diff line number Diff line change 13
13
import org .apache .cassandra .thrift .ConsistencyLevel ;
14
14
import org .apache .cassandra .thrift .CqlResult ;
15
15
import org .apache .cassandra .utils .ByteBufferUtil ;
16
- import org .apache .commons .lang .StringUtils ;
16
+ import org .apache .commons .lang3 .StringUtils ;
17
17
import org .apache .maven .plugin .MojoExecutionException ;
18
18
import org .codehaus .plexus .util .IOUtil ;
19
19
@@ -30,7 +30,7 @@ public abstract class AbstractCqlExecMojo extends AbstractCassandraMojo
30
30
* @parameter expression="${cql.version}"
31
31
* @since 1.2.1-2
32
32
*/
33
- private String cqlVersion = "2.0 .0" ;
33
+ private String cqlVersion = "3.4 .0" ;
34
34
35
35
protected String readFile (File file ) throws MojoExecutionException
36
36
{
Original file line number Diff line number Diff line change 3
3
import org .apache .cassandra .thrift .SchemaDisagreementException ;
4
4
import org .apache .cassandra .thrift .InvalidRequestException ;
5
5
import org .apache .cassandra .thrift .Cassandra .Client ;
6
- import org .apache .commons .lang .StringUtils ;
6
+ import org .apache .commons .lang3 .StringUtils ;
7
7
import org .apache .thrift .TException ;
8
8
9
9
/**
Original file line number Diff line number Diff line change 1
1
package org .codehaus .mojo .cassandra ;
2
2
3
3
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 ;
7
4
8
5
public abstract class ThriftApiOperation {
9
6
10
7
private String keyspace ;
11
8
private final String rpcAddress ;
12
9
private final int rpcPort ;
13
- private String cqlVersion = "2.0 .0" ;
10
+ private String cqlVersion = "3.4 .0" ;
14
11
15
12
public ThriftApiOperation (String rpcAddress , int rpcPort )
16
13
{
Original file line number Diff line number Diff line change 11
11
import org .apache .cassandra .thrift .CqlResult ;
12
12
import org .apache .cassandra .thrift .CqlRow ;
13
13
import org .apache .cassandra .utils .ByteBufferUtil ;
14
- import org .apache .commons .lang .StringUtils ;
14
+ import org .apache .commons .lang3 .StringUtils ;
15
15
import org .apache .maven .plugin .MojoExecutionException ;
16
16
import org .apache .maven .plugin .MojoFailureException ;
17
17
import org .codehaus .mojo .cassandra .AbstractCassandraMojo ;
You can’t perform that action at this time.
0 commit comments