Hello Karl-Heinz,

you may take a look at
https://github.com/mfriedenhagen/org.jacoco.filteringsamples. These
are some code samples for JDK5, 6, 7 and 8, which will be asmified
(decompiled) to see differences in byte code produced by different
JDKs.

This is how the maven-compiler-plugin uses the toolchain:
https://github.com/apache/maven-plugins/blob/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java#L430

Regards
Mirko
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/


On Wed, Feb 19, 2014 at 7:17 PM, Anders Hammar <and...@hammar.net> wrote:
> One thing it can be used for is to define a different JDK to be used (than
> the one used for executing Maven itself). More info here:
> http://maven.apache.org/guides/mini/guide-using-toolchains.html
>
> /Anders
>
>
> On Wed, Feb 19, 2014 at 7:12 PM, Karl Heinz Marbaise <khmarba...@gmx.de>wrote:
>
>> Hi,
>>
>> maybe i didn't see a thing, but can someone explain me the intention of
>> the maven toolchain in relationship with a plugin ...
>>
>> Currently i only see that it can find some kind of executable which is
>> configured in somekind of buildcontext...which i currently don't understand
>> how to configure (I've taken a look into the maven-toolchains-plugin which
>> didn't enlighten me)...
>>
>> But what are the advantages / disadvantages of that ?
>>
>> May be i just be blockhead ...;-(
>>
>>
>> Kind regards
>> Karl Heinz Marbaise
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>> For additional commands, e-mail: dev-h...@maven.apache.org
>>
>>

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

Reply via email to