Skip to content

Commit

Permalink
Configure exec-maven-plugin to use selected JDK toolchain (bazelbuild…
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin authored Jan 12, 2019
1 parent 9a4fa06 commit 317da27
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions org.jacoco.cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -119,6 +123,6 @@
</execution>
</executions>
</plugin>
</plugins>
</plugins>
</build>
</project>

0 comments on commit 317da27

Please sign in to comment.