Skip to content

Commit

Permalink
Implementation with antlr4 parser
Browse files Browse the repository at this point in the history
  • Loading branch information
arixmkii committed Nov 24, 2022
1 parent 875bcd5 commit 4c50310
Show file tree
Hide file tree
Showing 10 changed files with 1,614 additions and 334 deletions.
169 changes: 0 additions & 169 deletions LGPLv3.txt

This file was deleted.

4 changes: 2 additions & 2 deletions cassandra-migration-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>org.cognitor.cassandra</groupId>
<artifactId>cassandra-migration-parent</artifactId>
<version>2.5.1_v4-SNAPSHOT</version>
<version>3.0.0-SNAPSHOT</version>
</parent>

<artifactId>cassandra-migration-spring-boot-starter</artifactId>
<version>2.5.1_v4-SNAPSHOT</version>
<version>3.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Cassandra Migration Spring Boot Integration</name>
<url>https://github.com/patka/cassandra-migration</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ public class CassandraMigrationAutoConfigurationTest {

@BeforeClass
public static void beforeClass() {
cassandra = new CassandraBuilder()
.version("3.11.12")
.build();
cassandra.start();
// cassandra = new CassandraBuilder()
// .version("3.11.12")
// .build();
// cassandra.start();
session = createSession();
dropKeyspaceIfExists();
}
Expand All @@ -52,9 +52,9 @@ public void after() {
@AfterClass
public static void stopDb() {
session.close();
if (null != cassandra) {
cassandra.stop();
}
// if (null != cassandra) {
// cassandra.stop();
// }
}

private static void createKeyspace() {
Expand Down
26 changes: 24 additions & 2 deletions cassandra-migration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>org.cognitor.cassandra</groupId>
<artifactId>cassandra-migration-parent</artifactId>
<version>2.5.1_v4-SNAPSHOT</version>
<version>3.0.0-SNAPSHOT</version>
</parent>

<artifactId>cassandra-migration</artifactId>
<version>2.5.1_v4-SNAPSHOT</version>
<version>3.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Cassandra Migration</name>
<url>https://github.com/patka/cassandra-migration</url>
Expand All @@ -32,6 +32,11 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4</artifactId>
<version>4.11.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -54,4 +59,21 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>4.11.1</version>
<executions>
<execution>
<id>antlr</id>
<goals>
<goal>antlr4</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading

0 comments on commit 4c50310

Please sign in to comment.