diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2023-12-05 21:48:46 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2023-12-05 21:48:46 +0100 |
commit | 40bd44adeab5311dd854402396a322327bec8ebe (patch) | |
tree | a4b7fe89bb94bee57a626ad0f08bf5bca5f9886a /README.md | |
parent | 36019c82cbecbea4560a12e93853879bdbef4e53 (diff) |
jgvariant-tool: Add Maven exec plugin for direct execution.
Change-Id: I683100e55a9ba06028bc0d92af4087c5749ad4ad
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |