aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2023-12-05 21:48:46 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2023-12-05 21:48:46 +0100
commit40bd44adeab5311dd854402396a322327bec8ebe (patch)
treea4b7fe89bb94bee57a626ad0f08bf5bca5f9886a /README.md
parent36019c82cbecbea4560a12e93853879bdbef4e53 (diff)
jgvariant-tool: Add Maven exec plugin for direct execution.
Change-Id: I683100e55a9ba06028bc0d92af4087c5749ad4ad
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index 07558b0..962810b 100644
--- a/README.md
+++ b/README.md
@@ -89,13 +89,16 @@ You can build the tool either as a shaded JAR or as a native executable.
To build and run a shaded JAR:
$ mvn package -pl jgvariant-tool -am -Pshade
- $ java -jar /home/mulk/Arbeitskasten/jgvariant/jgvariant-tool/target/jgvariant-tool-*.jar
+ $ java -jar /home/mulk/Arbeitskasten/jgvariant/jgvariant-tool/target/jgvariant-tool-*.jar ...
To build and run a native executable:
$ mvn package -pl jgvariant-tool -am -Pnative
- $ ./jgvariant-tool/target/jgvariant
+ $ ./jgvariant-tool/target/jgvariant ...
+You can also run the tool directly with Maven using the `exec` profile:
+
+ $ mvn verify -pl jgvariant-tool -am -Pexec -Dexec.args="..."
## Library installation