Skip to content

Commit

Permalink
Protocol Generation
Browse files Browse the repository at this point in the history
  • Loading branch information
hbalasu2 committed Nov 22, 2024
1 parent 836f50a commit 4d1e844
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 0 deletions.
89 changes: 89 additions & 0 deletions legend-engine-xts-ingest/legend-engine-xt-ingest-protocol/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-xts-ingest</artifactId>
<version>4.66.1-SNAPSHOT</version>
</parent>

<artifactId>legend-engine-xt-ingest-protocol</artifactId>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-executionPlan-dependencies</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<addResourcesToClasspath>true</addResourcesToClasspath>
</configuration>
<executions>
<execution>
<id>generate metamodel</id>
<phase>generate-sources</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<includePluginDependencies>true</includePluginDependencies>
<mainClass>org.finos.legend.engine.protocol.generation.GenerateMetaClasses</mainClass>
<arguments>
<argument>core_ingest_metamodel.protocol.json</argument>
<argument>${project.build.directory}/generated-sources/</argument>
</arguments>
<classpathScope>test</classpathScope>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-protocol-generation</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-xt-ingest-pure</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.basedir}/target/generated-sources/</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"purePackage": "meta::external::ingest::metamodel",
"javaPackage": "org.finos.legend.engine.protocol.ingest.metamodel",
"elementsToBeExcluded": [
"meta::external::ingest::metamodel::IngestConfig"
]
}
1 change: 1 addition & 0 deletions legend-engine-xts-ingest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<packaging>pom</packaging>
<modules>
<module>legend-engine-xt-ingest-pure</module>
<module>legend-engine-xt-ingest-protocol</module>
</modules>

<properties>
Expand Down

0 comments on commit 4d1e844

Please sign in to comment.