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 ..
That's not a good solution. IMO, a good Maven build should build
everything in one build execution so that it gets deployed to the
repo. A correctly repo manager should prevent redeploys. If you build
twice, the pom will be redeployed.
/Anders
On Fri, Mar 16, 2012 at 12:34, Tim Pizey wrote:
> On
On 16 March 2012 09:49, jerem wrote:
> Hi,
>
> I wonder if it would be possible with Maven to produce, from a same module
> sources, 2 different jars with classes compiled with different source and
> target values ?
>
> I'm up to using "-d " as compilerArgument of the
> maven-compiler-plugin, but
in context:
http://maven.40175.n5.nabble.com/Producing-2-jars-from-same-sources-with-different-java-version-tp5570446p5570975.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users
t classifiers if
possible.
Thanks for help,
Jeremie
--
View this message in context:
http://maven.40175.n5.nabble.com/Producing-2-jars-from-same-sources-with-different-java-version-tp5570446p5570446.html
Sent from the Maven - Users mailing l