mojohaus / mojohaus/exec-maven-plugin
Plugin does not use jdk from toolchains plugin
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 191
- Forks
- 111
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 4
Description
I'm trying execute JDK9 java code using the exec:exec goal. The executabe is the java executable from the JDK9 with Jigsaw. Maven itself runs with a JDK8 JVM.
Although I configured the JDK9 via jdk toolchain, exec-maven-plugin keeps using the jdk8-java-executable.
Within the very same pom.xml I am using the maven-compiler-plugin, which recognizes the toolchain and correctly uses the version 9 javacexecutable.
What am I doing wrong?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the POM configuration using exec:exec and the JDK toolchain, then compare it with the maven-compiler-plugin configuration that selects javac from JDK 9. Reproduce the build with Maven running on JDK 8 and verify that exec:exec selects the configured JDK 9 java executable; done means the plugin honors that toolchain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100