diff options
author | Evgeny Mandrikov <138671+Godin@users.noreply.github.com> | 2019-01-12 21:44:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-12 21:44:15 +0100 |
commit | 317da27c487349ae7d5e6993e97f1d0d8ff7959e (patch) | |
tree | 6f2e330ec710b0a7e27dddfca15a1c0d35b4f8f8 | |
parent | 9a4fa06206e83324b92177e08180d530a0c92b25 (diff) | |
download | platform_external_jacoco-317da27c487349ae7d5e6993e97f1d0d8ff7959e.tar.gz platform_external_jacoco-317da27c487349ae7d5e6993e97f1d0d8ff7959e.tar.bz2 platform_external_jacoco-317da27c487349ae7d5e6993e97f1d0d8ff7959e.zip |
Configure exec-maven-plugin to use selected JDK toolchain (#830)
-rw-r--r-- | org.jacoco.cli/pom.xml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/org.jacoco.cli/pom.xml b/org.jacoco.cli/pom.xml index 3a759819..82aa79b5 100644 --- a/org.jacoco.cli/pom.xml +++ b/org.jacoco.cli/pom.xml @@ -49,11 +49,15 @@ <execution> <phase>package</phase> <goals> - <goal>java</goal> + <goal>exec</goal> </goals> <configuration> - <mainClass>org.jacoco.cli.internal.XmlDocumentation</mainClass> + <toolchain>jdk</toolchain> + <executable>java</executable> <arguments> + <argument>-cp</argument> + <classpath/> + <argument>org.jacoco.cli.internal.XmlDocumentation</argument> <argument>${project.build.directory}/generated-documentation/cli.xml</argument> </arguments> </configuration> @@ -119,6 +123,6 @@ </execution> </executions> </plugin> - </plugins> + </plugins> </build> </project> |