File tree Expand file tree Collapse file tree 3 files changed +241
-186
lines changed
Expand file tree Collapse file tree 3 files changed +241
-186
lines changed Original file line number Diff line number Diff line change 1+ name : Java CI (Maven, Java 8)
2+
3+ on :
4+ push :
5+ branches : [ main, master, toscaCodeGen ]
6+ pull_request :
7+ branches : [ main, master, toscaCodeGen ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ java : ['8']
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Set up JDK
18+ uses : actions/setup-java@v4
19+ with :
20+ distribution : ' temurin'
21+ java-version : ${{ matrix.java }}
22+ - name : Build with Maven
23+ run : mvn -B -DskipTests package
Original file line number Diff line number Diff line change 1+ CONTRIBUTING
2+
3+ Development setup
4+ -----------------
5+ This repository builds a Modelio 5.4.1 module (ToscaDesigner) and requires Java 8 for runtime compatibility with Modelio.
6+
7+ Requirements
8+ - Java 8 JDK (for running Modelio and for building modules targeting Modelio)
9+ - Maven 3.6+
10+
11+ Build instructions
12+ ------------------
13+ From the project root:
14+
15+ ``` powershell
16+ mvn -B -DskipTests package
17+ ```
18+
19+ This produces ` target/toscadesigner-<version>.jar ` and ` target/ToscaDesigner_<version>.jmdac ` .
20+
21+ Notes
22+ -----
23+ - The project compiles with ` maven-compiler-plugin ` configured to ` <release>8 ` to ensure bytecode compatibility with Modelio 5.4.1.
24+ - The ` MDAKit ` dependency is provided by the Modelio runtime; it is declared with ` scope=provided ` in ` pom.xml ` .
25+ - If you need to run checks that require the Modelio API, install Modelio and run integration steps inside its environment.
26+
27+ Contributing
28+ ------------
29+ - Fork the repo and create a feature branch.
30+ - Run the build locally and open a pull request.
31+ - For major changes, open an issue first to discuss the design.
32+
33+ CI
34+ --
35+ A GitHub Actions workflow (maven-java8.yml) is included to build with Java 8 on push and pull requests.
You can’t perform that action at this time.
0 commit comments