Karel Piwko created SHRINKRES-205:
-------------------------------------
Summary: Try to fork and use javac from path in MavenImporter if compiler is
not found
Key: SHRINKRES-205
URL:
https://issues.jboss.org/browse/SHRINKRES-205
Project: ShrinkWrap Resolvers
Issue Type: Enhancement
Components: impl-maven
Affects Versions: 2.2.0-alpha-2
Reporter: Karel Piwko
In cases MavenImporter does not find Javac class, IDE is probably set to run on top of JRE
instead of JDK. In such cases, MavenImporter can emit a warning and modify configuration
to fork and use javac from $PATH.
Such approach will make compilation more robust.
See
https://gist.github.com/kpiwko/626ed1c04ac28354137d for a quick idea how it could
work.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)