toolchains

On 3 August 2010 12:20, René Krell <[email protected]> wrote:

> Hi all,
>
> is there anybody who has a good example or can refer to a good
> example project using Maven, which compiles and also deploys to different
> jars using for instance JDK 1.5 and 1.6 one after the other. I found many
> suggestions on the web, but they haven't been sufficient.
>
> Just switching
> the maven-compile-plugin to use different targets or local JDKs is not
> enough because it basically makes one deployment, either for JDK 1.5 or JDK
> 1.6, regardless of other pitfalls of this solution.
>
> I'd like to setup a
> deployment for both JDKs in one deployment, deploying two or more different
> JAR files (*-jdk16.jar and *-jdk15.jar), best withou switching profiles,
> including some approach of a compatibility layer or lets say module which
> might wrap code which cannot be compiled in a older JDK.
>
> What is the best
> way to achieve this?
>
> Thx,
> René
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to