Skip to content

ST6RI-970 Bundles maven artifacts have a dependency to build environment path - #828

Merged
seidewitz merged 1 commit into
masterfrom
ST6RI-970
Nov 16, 2026
Merged

seidewitz merged 1 commit into
masterfrom
ST6RI-970

Conversation

@ylussaud

@ylussaud ylussaud commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

This PR resolves a problem building the implementation for use outside of Eclipse.

Background

Building the implementation as a standalone application (outside of Eclipse) for parsing SysML v2 triggered the following error:

[ERROR] Failed to execute goal on project myartifact: Could not resolve dependencies for project mygroup:myartifact:jar:0.0.1-SNAPSHOT
[ERROR] dependency: org.omg.sysml:org.omg.sysml.model.bundle.jars.extra.classpath:jar:lib/org.omg.sysml.model-0.63.0-SNAPSHOT.jar:0.63.0-SNAPSHOT (system)
[ERROR] 	Could not find artifact org.omg.sysml:org.omg.sysml.model.bundle.jars.extra.classpath:jar:lib/org.omg.sysml.model-0.63.0-SNAPSHOT.jar:0.63.0-SNAPSHOT at specified path /home/runner/work/SysML-v2-Pilot-Implementation/SysML-v2-Pilot-Implementation/org.omg.sysml.model.bundle/lib/org.omg.sysml.model-0.63.0-SNAPSHOT.jar
[ERROR] dependency: org.omg.sysml:org.omg.sysml.logic.bundle.jars.extra.classpath:jar:lib/org.omg.sysml.logic-0.63.0-SNAPSHOT.jar:0.63.0-SNAPSHOT (system)
[ERROR] 	Could not find artifact org.omg.sysml:org.omg.sysml.logic.bundle.jars.extra.classpath:jar:lib/org.omg.sysml.logic-0.63.0-SNAPSHOT.jar:0.63.0-SNAPSHOT at specified path /home/runner/work/SysML-v2-Pilot-Implementation/SysML-v2-Pilot-Implementation/org.omg.sysml.logic.bundle/lib/org.omg.sysml.logic-0.63.0-SNAPSHOT.jar

The cause of this error was a JAR file referenced using its absolute path on the CI system used to build org.omg.sysml.model.bundle and org.omg.sysml.logic.bundle. This dependency was added by the maven org.eclipse.m2e:lifecycle-mapping that maps dependencies form the Eclipse world (MANIFEST.MF and build.properties files) to the Maven world (pom.xml). This maven dependence was added because of the jars.extra.classpath property in the build.properties file of each bundle project.

Change

  • Removed property jars.extra.classpath from file build.properties in the projects org.omg.sysml.model.bundle and org.omg.sysml.logic.bundle.

…ent path

Signed-off-by: Yvan Lussaud <yvan.lussaud@obeo.fr>
@ylussaud ylussaud added this to the 2026-10 milestone Nov 12, 2026
@seidewitz seidewitz added the bug Something isn't working label Nov 16, 2026

@seidewitz seidewitz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked that the proposed changes also don't affect building and running inside Eclipse.

@seidewitz
seidewitz merged commit 82d26f1 into master Nov 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants