You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jörg Schaible <Jo...@scalaris.com> on 2012/03/16 13:08:19 UTC
Re: Producing 2 jars from same sources with different java version?
jerem wrote:
> Well I managed that with a 3-modules solution ... One containing the
> source code, the 2 others copy the sources and compile them with different
> source and target values.
> I believe, even if possible, that it would be quite ugly (well, more) to
> stuck that in a unique module ...
>From your description I wonder why you need it. If the same source can be
compiled without modification for Java 5 or Java 6, simply target Java 5.
Regards,
Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org