How are you executing one build run that produces both artifacts? Are you
really deploying to a repository? I can't see how that would work, but I
could be missing something.

/Anders

On Thu, Apr 14, 2011 at 12:00, Jörg Schaible <joerg.schai...@scalaris.com>wrote:

> Hi Anders,
>
> Anders Hammar wrote:
>
> > I strongly recommend staying away from profiles (and having multiple
> > artifacts being produced by one Maven project). Sooner or later it will
> > bit you. Also, in a true Maven build, you only do one build (including
> > deploying to the repository) and therefore having different profiles
> being
> > activated based on the JDK the build is being done with doesn't fit well
> > (IMHO).
>
> this is the whole point: You don't have different dependecies, but
> different
> version numbers, therefore the profiles don't harm here. In the end it is
> not different of specifying a version in the depMgmt section to select a
> specific version.
>
> > Go with different modules!
>
> In this special case, I cannot recommend it.
>
> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to