Hi Tryvge,

Trygve Laugstøl wrote on Friday, July 08, 2005 10:02 AM:

> On Fri, Jul 08, 2005 at 09:53:19AM +0200, Jörg Schaible wrote:
[snip]
>> As long as the libraries are not incompatible to themselves, it
>> should be possible to use both. This might not be the use case for an
>> application, but building a framework supporting those different
>> versions. We are in the same situation in the Nano camp.
> 
> Maven has a strong concept of artifacts. A artifact is
> identified by the group id and the artifact id and it can have
> multiple versions. 
> 
> If a project has version 1 and version 2 artifacts that can
> exists in the same classpath at the same time they they are
> basically two different artifacts and should have different
> artifact ids. In the case of hibernate the artifacts should
> then be named something like this:
> 
>   | Group id         | Artifact id  | Version
>   | org.sf.hibernate | hibernate2   | 2.0
>   | org.sf.hibernate | hibernate3   | 3.0

Well, this is exactly what we did in M1 locally by introducing a different 
artifactId and using the override mechanism to point to a project relative 
version managed by the scm. But this is no longer possible in M2 and I am 
looking for a solution. The problem is, that there are quite some artifacts 
existing, where this situation applies. Hibernate is just one example.

- Jörg

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

Reply via email to