Hi,

I wonder whether these is a portable way of activating a profile iff
toolchains are properly configured, i.e., if either ~/.m2/toolchains.xml
is present or, if -t is used, the file specified thereby.

I would like to use toolchains (execute toolchain:toolchain and set the
tycho-compiler-plugin:compile's <useJDK> parameter accordingly) if the
user has configured them but fall back to not-using toolchains if not.
IMHO, *requiring* everyone setting up toolchains is to big a burden, but
if someone has done so the build should automatically take advantage of it.

The problem seems to be finding out whether -t was use and, if so, to
what file it points. Any ideas?

Best wishes,

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to