From 87e6b3d60de6f1f7639e8a06ba6fe597f4091bb8 Mon Sep 17 00:00:00 2001 From: Stefan Kapferer Date: Tue, 28 Nov 2023 08:42:11 +0100 Subject: [PATCH] Update CML version and README --- README.md | 26 ++------------------------ gradle.properties | 2 +- 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 543abe8..d7fb7d2 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ 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:** @@ -16,7 +16,7 @@ implementation 'org.contextmapper:context-mapper-dsl:6.8.0' org.contextmapper context-mapper-dsl - 6.8.0 + 6.10.0 ``` 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 CML file - -o,--output output folder - -p,--template freemarker template - -t,--type 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. diff --git a/gradle.properties b/gradle.properties index 8c8e9af..d46dcc9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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