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: maven
Affects Versions: 2.2.0-alpha-2
Reporter: Karel Piwko
Assignee: Karel Piwko
Fix For: 2.2.0-beta-1
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.