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
If you have already cloned the repository **without** submodules, you can initialize and update them afterwards with:
23
+
24
+
```bash
25
+
git submodule update --init --recursive
26
+
```
27
+
28
+
This ensures that all required submodules (e.g., test resources) are available and the project will build and test correctly
29
+
30
+
## 💡 Usage
31
+
32
+
### 📦 Getting Started
33
+
34
+
First, **clone this repository** to your local machine as explained in `⚙️ Setup`.
35
+
To use the Java-fm-metamodel, make sure you are in the project directory before running any further commands. Build the project with [Maven](https://maven.apache.org/):
17
36
18
37
```bash
19
38
mvn clean compile
20
39
```
21
40
22
-
More usage examples that also show how to use the acquired UVLModel object can be found in [src/main/java/de/vill/main/Example.java](https://github.com/Universal-Variability-Language/java-fm-metamodel/blob/main/src/main/java/de/vill/main/Example.java)
41
+
This will compile all sources and ensure all dependencies (including submodules) are available.
42
+
Now you can execute code for manipulating UVL feature models as shown in the `Examples` below
43
+
44
+
### 🧩 Using as a Maven Dependency
45
+
46
+
You can also use the Java-fm-metamodel as a dependency in your own Maven project.
Make sure that the version matches the latest release.
58
+
59
+
---
60
+
61
+
Now you can use the classes from this library in your own Java code!
62
+
63
+
## Examples
64
+
65
+
Some usage examples that show how to use the acquired UVLModel object can be found in [src/main/java/de/vill/main/Example.java](https://github.com/Universal-Variability-Language/java-fm-metamodel/blob/main/src/main/java/de/vill/main/Example.java)
0 commit comments