Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split tooling into CLI and class library #395

Merged
merged 3 commits into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ install:
script:
- ./scripts/test.sh
before_cache:
- rm -rf $HOME/.m2/repository/org/opencds/cqf/tooling
- rm -rf $HOME/.m2/repository/org/opencds/cqf/tooling*
after_success:
- ./scripts/deploy.sh
deploy:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This tooling provides various useful tools for building CQFramework related cont

## Usage

Building this project requires Java 9+ and Maven 3.5+. The resulting jar is compatible with Java 8+.
Building this project requires Java 11+ and Maven 3.8+. The resulting jar is compatible with Java 11+.

Build the project with:

Expand All @@ -20,17 +20,17 @@ Run a specific operation using (example running VSAC Spreadsheet conversion):

```bash
mvn exec:java \
-Dexec.mainClass="org.opencds.cqf.tooling.Main" \
-Dexec.mainClass="org.opencds.cqf.tooling.cli.Main" \
-Dexec.args="-VsacXlsxToValueSetBatch \
-ptsd=src/test/resources/org/opencds/cqf/tooling/terminology \
-op=target/test/resources/org/opencds/cqf/tooling/terminology/output \
-setname=true \
-vssrc=cms"
```

Executable jars are produced by the CI system on Maven Central: [Download executable jar](https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=org.opencds.cqf&a=tooling&c=jar-with-dependencies&v=LATEST)
Executable jars are produced by the CI system on Maven Central: [Download executable jar](https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=org.opencds.cqf&a=tooling-cli&v=LATEST)

This can be run with `java -jar tooling-1.4.0-jar-with-dependencies.jar -VsacXlsxToValueSetBatch`
This can be run with `java -jar tooling-cli-2.0.0.jar -VsacXlsxToValueSetBatch`

Documentation of the various operations is provided in the [Main](src/main/java/org/opencds/cqf/tooling/Main.java) class.

Expand All @@ -51,7 +51,7 @@ To release a new version of the tooling:
3. Create a Github Release (which creates a tag at the current commit of master)
1. Choose the "Auto-generate release notes" option
4. Travis does the release to Maven
1. Ensure binaries are published to https://oss.sonatype.org/#view-repositories;public~browsestorage~org/opencds/cqf/tooling
1. Ensure binaries are published to https://oss.sonatype.org/#view-repositories;public~browsestorage~org/opencds/cqf/tooling
5. Update master to vNext-SNAPSHOT
6. Close all issues included in the release

Expand Down
Loading