Skip to content

Commit

Permalink
Update CML version and README
Browse files Browse the repository at this point in the history
stefan-ka committed Nov 28, 2023
1 parent cea5ffb commit 87e6b3d
Showing 2 changed files with 3 additions and 25 deletions.
26 changes: 2 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -8,15 +8,15 @@ The Context Mapper DSL library releases are available via the Maven central repo

**Gradle:**
```gradle
implementation 'org.contextmapper:context-mapper-dsl:6.8.0'
implementation 'org.contextmapper:context-mapper-dsl:6.10.0'
```

**Maven:**
```xml
<dependency>
<groupId>org.contextmapper</groupId>
<artifactId>context-mapper-dsl</artifactId>
<version>6.8.0</version>
<version>6.10.0</version>
</dependency>
```
If you want to use our SNAPSHOT's built from the master branch ([context-mapper-dsl](https://github.com/ContextMapper/context-mapper-dsl)) you have to use the following repository: https://oss.sonatype.org/content/repositories/snapshots
@@ -38,28 +38,6 @@ This example project contains the following example classes written in Java whic
For details about the generators and the CML language please consult our [online documentation](https://contextmapper.org/docs) (currently we have no further documentation how to use the tools on code level in standalone applications).
If you have questions how to use specific features within your standalone Java application don't hesitate to [create an issue](https://github.com/ContextMapper/context-mapper-standalone-example/issues) or [contact us](https://contextmapper.org/getting-involved/).

## CLI
This example project also contains a `jar` that can be used from a CLI. To use it, you can build the project using any IDE, and use the generated `jar`. The available arguments are:
```
-f,--file <arg> CML file
-o,--output <arg> output folder
-p,--template <arg> freemarker template
-t,--type <arg> type of generator
```

The `file` and `type` arguments are mandatory. If you don't specify an `output` it uses `src-gen` folder.

The `type` of generators available are:
* `contextmap`
* `generic`
* `mdsl`
* `plantuml`

As example, to run from a command line:
```
java -jar context-mapper-standalone-example-1.0.0-SNAPSHOT.jar -f Insurance-Example-Model.cml -t contextmap
```

## Contributing
Contribution is always welcome! Here are some ways how you can contribute:
* Create Github issues if you find bugs or just want to give suggestions for improvements.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# dependency versions
cmlVersion=6.8.0
cmlVersion=6.10.0
xtendLibVersion=2.29.0
junitVersion=5.9.1
commonsLangVersion=2.6

0 comments on commit 87e6b3d

Please sign in to comment.