Skip to content

Commit

Permalink
#2178 Initial spike: grammar specification via Fling
Browse files Browse the repository at this point in the history
  • Loading branch information
homedirectory committed Feb 7, 2024
1 parent e9c53c1 commit 5996f6b
Show file tree
Hide file tree
Showing 7 changed files with 3,133 additions and 0 deletions.
86 changes: 86 additions & 0 deletions platform-eql-grammar/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<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>fielden</groupId>
<artifactId>platform-parent</artifactId>
<version>1.4.6-SNAPSHOT</version>
</parent>

<artifactId>platform-eql-grammar</artifactId>
<packaging>jar</packaging>
<name>Trident Genesis Platform EQL Grammar</name>

<dependencies>

<!-- platform dependencies -->
<dependency>
<groupId>fielden</groupId>
<artifactId>platform-pojo-bl</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>fielden</groupId>
<artifactId>platform-dao</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>

<!--
This dependency should be installed manually.
https://github.com/homedirectory/fling/
-->
<dependency>
<groupId>org.spartan</groupId>
<artifactId>fling</artifactId>
<version>1.1.0</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>com.google.googlejavaformat</groupId>
<artifactId>google-java-format</artifactId>
<version>1.19.2</version>
<scope>compile</scope>
</dependency>

</dependencies>

<build>
<resources>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/generated/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>

</build>

</project>
Loading

0 comments on commit 5996f6b

Please sign in to comment.