Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
23 changes: 23 additions & 0 deletions .github/workflows/maven-java8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Java CI (Maven, Java 8)

on:
push:
branches: [ main, master, toscaCodeGen ]
pull_request:
branches: [ main, master, toscaCodeGen ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['8']
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B -DskipTests package
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# Ignore everything in the target directory
ToscaDesigner/target/*
# But don't ignore these specific files
!ToscaDesigner/target/ToscaDesigner_0.0.00.jmdac
!ToscaDesigner/target/toscadesigner-0.0.00.jar
/target/
File renamed without changes.
35 changes: 35 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
CONTRIBUTING

Development setup
-----------------
This repository builds a Modelio 5.4.1 module (ToscaDesigner) and requires Java 8 for runtime compatibility with Modelio.

Requirements
- Java 8 JDK (for running Modelio and for building modules targeting Modelio)
- Maven 3.6+

Build instructions
------------------
From the project root:

```powershell
mvn -B -DskipTests package
```

This produces `target/toscadesigner-<version>.jar` and `target/ToscaDesigner_<version>.jmdac`.

Notes
-----
- The project compiles with `maven-compiler-plugin` configured to `<release>8` to ensure bytecode compatibility with Modelio 5.4.1.
- The `MDAKit` dependency is provided by the Modelio runtime; it is declared with `scope=provided` in `pom.xml`.
- If you need to run checks that require the Modelio API, install Modelio and run integration steps inside its environment.

Contributing
------------
- Fork the repo and create a feature branch.
- Run the build locally and open a pull request.
- For major changes, open an issue first to discuss the design.

CI
--
A GitHub Actions workflow (maven-java8.yml) is included to build with Java 8 on push and pull requests.
1 change: 0 additions & 1 deletion ToscaDesigner/.gitignore

This file was deleted.

215 changes: 0 additions & 215 deletions ToscaDesigner/pom.xml

This file was deleted.

Binary file removed ToscaDesigner/src/main/conf/toscadesigner.ramc
Binary file not shown.

This file was deleted.

Loading
Loading