maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@scalaris.com>
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.

Regards,
Jörg


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


Mime
View raw message