thanks Jo, but it's not a maven 2 feature?

On 21/05/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
Hi,

If you are making multiple artifacts from one module, you should definitely
use classifiers for the build artifacts.
Otherwise, they get mixed up and you end up with garbage.

You can configure the maven-jar-plugin or the maven-assembly-plugin to add
classifiers to the artifacts when their profiles are active.

There's some decent material on the sonatype website that explains it:
http://www.sonatype.com/book/profiles.html#Classifiers

Cheers
Jo

On 5/21/07, emerson cargnin <[EMAIL PROTECTED]> wrote:
>
> Hi all
>
> I'm using maven 1.1.
> I have two multi-build projects that depend on same jars. But one is
> to be compiled in 1.4 and the other in 1.5.  The thing is that the 1.4
> one  tries to dowload from the maven repository, as it has a newer
> date (as it was run by cruisecontrol) and ends up having
> incompatibility. Besides disabling cruisecontrol to upload the
> generated files, how could I manage this sharing of jar in two
> different versions?
>
> thanks
> emerson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to