Skip to content

Conversation

@vytautas-astrauskas-sensmetry

Currently, creating KerML Project Archive (KPAR) files is a manual and tedious process, which prevents us from releasing the new set of KPARs with each release of the Pilot. This PR is the first step towards automating the release process of KPARs. It contains the following key changes:

  1. Modified Maven's pom.xml to automatically build standard library's KPARs during each build (currently, only for the textual notation).
  2. Modified the release workflow to automatically attach the KPARs to the GitHub release as artifact. An example can be seen in my fork here.

To be able to build KPARs, Sysand needs to know the location of each library. This PR uses the concept of a workspace common in other package managers (for example, Cargo) to group all projects of the standard library so that it is easier to manage them. File sysml.library/.workspace.json maps project IRIs to their locations in the repository (relatively to the .workspace.json file).

Finally, this PR corrects two typos in .meta.json files.

I tested the PR in two ways:

  1. Ran ./mvnw -B clean verify --file pom.xml on my laptop. It succeeded and produced KPARs in sysml.library/output folder.
  2. Created a release on my fork of this repository. Unfortunately, I could not test the workflow without additional changes. However, these changes are about making the existing workflow to work on my fork and should be orthogonal to the changes in this PR.

Signed-off-by: Vytautas Astrauskas <vytautas.astrauskas@sensmetry.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants