Skip to content

Commit d573021

Browse files
Added ANTLR Support and basic queryProvider
1 parent f4b3710 commit d573021

6 files changed

Lines changed: 1250 additions & 6 deletions

File tree

spring-data-eclipse-store/pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@
4747
<maven.compiler.release>${javaVersion}</maven.compiler.release>
4848

4949
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50+
5051
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
52+
<antlr4.plugin.version>4.13.1</antlr4.plugin.version>
53+
<antlr4.version>4.13.1</antlr4.version>
5154

5255
<!-- Should be in sync with org.eclipse.store:integrations-spring-boot3 -->
5356
<org.springframework.boot.version>3.3.2</org.springframework.boot.version>
@@ -164,6 +167,12 @@
164167
</exclusions>
165168
</dependency>
166169

170+
<dependency>
171+
<groupId>org.antlr</groupId>
172+
<artifactId>antlr4-runtime</artifactId>
173+
<version>${antlr4.version}</version>
174+
</dependency>
175+
167176
<dependency>
168177
<groupId>org.junit.jupiter</groupId>
169178
<artifactId>junit-jupiter-engine</artifactId>
@@ -309,6 +318,26 @@
309318
</execution>
310319
</executions>
311320
</plugin>
321+
<plugin>
322+
<groupId>org.antlr</groupId>
323+
<artifactId>antlr4-maven-plugin</artifactId>
324+
<version>${antlr4.plugin.version}</version>
325+
<executions>
326+
<execution>
327+
<goals>
328+
<goal>antlr4</goal>
329+
</goals>
330+
</execution>
331+
</executions>
332+
<configuration>
333+
<sourceDirectory>src/main/antlr4</sourceDirectory>
334+
<outputDirectory>target/generated-sources/antlr4</outputDirectory>
335+
<arguments>
336+
<argument>-package</argument>
337+
<argument>software.xdev.spring.data.eclipse.store.repository.query.antlr</argument>
338+
</arguments>
339+
</configuration>
340+
</plugin>
312341
</plugins>
313342
</build>
314343
<profiles>

0 commit comments

Comments
 (0)