You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jerome lacoste <je...@gmail.com> on 2006/06/13 10:19:36 UTC

concurrently using maven 2.0.4 and 2.1-SNAPSHOT

Hi,

I am having issues running both branch and trunk versions simultaneously.

In particular, when I use 2.0.4, some jars from 2.1-SNAPSHOT get
picked up and I end up with incompatible classes in the CP.

I can try to use separate local repositories (using 2 settings.xml
pointing to 2 different local repos.), but wondered if guys used
another trick.

Jerome

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


Re: concurrently using maven 2.0.4 and 2.1-SNAPSHOT

Posted by Carlos Sanchez <ca...@apache.org>.
Shouldn't happen, all the libraries need to be backwards compatible.
You may have found an issue that needs to be fixed.

On 6/13/06, jerome lacoste <je...@gmail.com> wrote:
> On 6/13/06, Brett Porter <br...@apache.org> wrote:
> > I've only ever needed to set a different M2_HOME
>
> That didn't work...
>
> I had to remove the plugin which was causing an issue.
>
> rm -r ~/.m2/repository/org/apache/maven/plugins/maven-plugin-plugin/
>
> Maybe I had installed this plugin incorrectly?
>
> Jerome
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

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


Re: concurrently using maven 2.0.4 and 2.1-SNAPSHOT

Posted by jerome lacoste <je...@gmail.com>.
On 6/13/06, Brett Porter <br...@apache.org> wrote:
> I've only ever needed to set a different M2_HOME

That didn't work...

I had to remove the plugin which was causing an issue.

rm -r ~/.m2/repository/org/apache/maven/plugins/maven-plugin-plugin/

Maybe I had installed this plugin incorrectly?

Jerome

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


Re: concurrently using maven 2.0.4 and 2.1-SNAPSHOT

Posted by Brett Porter <br...@apache.org>.
I've only ever needed to set a different M2_HOME

jerome lacoste wrote:
> Hi,
> 
> I am having issues running both branch and trunk versions simultaneously.
> 
> In particular, when I use 2.0.4, some jars from 2.1-SNAPSHOT get
> picked up and I end up with incompatible classes in the CP.
> 
> I can try to use separate local repositories (using 2 settings.xml
> pointing to 2 different local repos.), but wondered if guys used
> another trick.
> 
> Jerome
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


-- 
Brett Porter <br...@apache.org>
Apache Maven - http://maven.apache.org/
Better Builds with Maven - http://library.mergere.com/

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