Skip to content

Commit

Permalink
Fix Pure IDE Light POM
Browse files Browse the repository at this point in the history
  • Loading branch information
pierredebelen committed Mar 4, 2024
1 parent 5025d0f commit fc0a448
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,73 @@
<artifactId>legend-engine-pure-ide-light</artifactId>
<name>Legend Engine - Pure IDE Light</name>

<properties>
<skip.yarn>false</skip.yarn>
<pure-ide.web-application.version>9.0.0</pure-ide.web-application.version>
<pure-ide.web-application.url>https://registry.npmjs.org/@finos/legend-application-pure-ide-deployment/-/legend-application-pure-ide-deployment-${pure-ide.web-application.version}.tgz</pure-ide.web-application.url>
</properties>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<executions>
<execution>
<id>download-web-content</id>
<phase>initialize</phase>
<goals>
<goal>wget</goal>
</goals>
</execution>
</executions>
<configuration>
<skip>${skip.yarn}</skip>
<url>${pure-ide.web-application.url}</url>
<unpack>true</unpack>
<outputDirectory>${project.build.directory}/web-content</outputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<!-- Skip default resources -->
<id>default-resources</id>
<configuration>
<skip>true</skip>
</configuration>
</execution>
<execution>
<!-- Skip default test resources -->
<id>default-testResources</id>
<configuration>
<skip>true</skip>
</configuration>
</execution>
<execution>
<id>copy-web-content</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/classes/web</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}/web-content/package/dist</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
Expand Down Expand Up @@ -87,6 +152,43 @@
<scope>runtime</scope>
</dependency>


<dependency>
<groupId>org.finos.legend.pure</groupId>
<artifactId>legend-pure-runtime-java-extension-interpreted-functions-base</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.finos.legend.pure</groupId>
<artifactId>legend-pure-runtime-java-extension-interpreted-functions-json</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.finos.legend.pure</groupId>
<artifactId>legend-pure-runtime-java-extension-interpreted-store-relational</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.finos.legend.pure</groupId>
<artifactId>legend-pure-m2-dsl-diagram-grammar</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.finos.legend.pure</groupId>
<artifactId>legend-pure-m2-dsl-mapping-grammar</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.finos.legend.pure</groupId>
<artifactId>legend-pure-m2-functions-json-pure</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.finos.legend.pure</groupId>
<artifactId>legend-pure-m2-store-relational-pure</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.finos.legend.pure</groupId>
<artifactId>legend-pure-runtime-java-engine-interpreted</artifactId>
Expand All @@ -100,6 +202,7 @@
<artifactId>legend-pure-runtime-java-engine-shared</artifactId>
</dependency>

<!-- Engine extensions -->
<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-pure-runtime-execution</artifactId>
Expand All @@ -115,7 +218,6 @@
<artifactId>legend-engine-pure-runtime-compiler</artifactId>
</dependency>


<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-extensions-collection-generation</artifactId>
Expand All @@ -127,14 +229,13 @@
<scope>runtime</scope>
</dependency>


<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-xt-elasticsearch-executionPlan-test</artifactId>
<scope>runtime</scope>
<version>${project.version}</version>
</dependency>

<!-- Engine extensions -->

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down Expand Up @@ -218,7 +319,6 @@
<scope>runtime</scope>
</dependency>


</dependencies>

<profiles>
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2343,6 +2343,11 @@
<artifactId>legend-pure-runtime-java-extension-interpreted-functions-json</artifactId>
<version>${legend.pure.version}</version>
</dependency>
<dependency>
<groupId>org.finos.legend.pure</groupId>
<artifactId>legend-pure-runtime-java-extension-interpreted-store-relational</artifactId>
<version>${legend.pure.version}</version>
</dependency>
<dependency>
<groupId>org.finos.legend.pure</groupId>
<artifactId>legend-pure-m2-dsl-path-pure</artifactId>
Expand Down

0 comments on commit fc0a448

Please sign in to comment.