You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When packaging legend model to gitlab, we generate a multi module maven project. The project is built using specific legend SDLC and legend engine dependencies where version is hardcoded in the legend SDLC code.
private static final String LEGEND_ENGINE_VERSION = "2.37.0";
As a consequence, model built on a specific version of the runtime would not benefit from the latest runtime features at compile time.
Potential Solutions:
Capture the version of dependencies used for SDLC server and inject those exact version to pom.xml generation. This could be done by creating an application.properties file where versions are injected at compile time
If we were to follow your suggestion, we would need to implement a way for users to update to the latest sdlc/engine version, since if a user creates a project at different times they would generate a project with different sdlc/engine versions.
Thanks! I did not know those were updated at compile time. Makes perfect sense.
The problem I face is that I have a custom legend engine / pure this artifact depends on (see finos/legend-engine#312). Until that PR is approved, I won't be able to get any CI/CD and must manually update version to compile pure model. Any chance you could help with those active PRs?
Feature Request
Description of Problem:
When packaging legend model to gitlab, we generate a multi module maven project. The project is built using specific legend SDLC and legend engine dependencies where version is hardcoded in the legend SDLC code.
@see: https://github.com/finos/legend-sdlc/blob/master/legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/project/ProjectStructureV11Factory.java#L81
@see: https://github.com/finos/legend-sdlc/blob/master/legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/project/ProjectStructureV11Factory.java#L87
As a consequence, model built on a specific version of the runtime would not benefit from the latest runtime features at compile time.
Potential Solutions:
Capture the version of dependencies used for SDLC server and inject those exact version to pom.xml generation. This could be done by creating an
application.properties
file where versions are injected at compile timelegend-sdlc-server/src/main/resources/legend.properties
legend-sdlc-server/pom.xml
legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/project/ProjectStructureV11Factory.java
The text was updated successfully, but these errors were encountered: