maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <>
Subject Re: Producing 2 jars from same sources with different java version?
Date Fri, 16 Mar 2012 12:08:19 GMT
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message