You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Tamás Cservenák <ta...@cservenak.net> on 2013/09/11 13:41:02 UTC

Eclipse Aether is not filtered out from Plugin Class Realm

Hi,

it seems in 3.1.x, since Aether was swapped from Sonatype one to Eclipse
one, the filtering was not updated, and Eclipse Aether is getting into
plugin Class Realms...

See
https://github.com/apache/maven/blob/892b464683645bcdc1d28febf0bf3cc1c3181350/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java#L83

I just hit this problem, see aether-users list [1]
Created issue [2]

[1] http://dev.eclipse.org/mhonarc/lists/aether-users/msg00251.html
[2[ http://jira.codehaus.org/browse/MNG-5513

Thanks,
~t~

Re: Eclipse Aether is not filtered out from Plugin Class Realm

Posted by Jason van Zyl <ja...@tesla.io>.
Nice catch. I see  few others too. Thanks.

On Sep 11, 2013, at 7:41 AM, Tamás Cservenák <ta...@cservenak.net> wrote:

> Hi,
> 
> it seems in 3.1.x, since Aether was swapped from Sonatype one to Eclipse
> one, the filtering was not updated, and Eclipse Aether is getting into
> plugin Class Realms...
> 
> See
> https://github.com/apache/maven/blob/892b464683645bcdc1d28febf0bf3cc1c3181350/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java#L83
> 
> I just hit this problem, see aether-users list [1]
> Created issue [2]
> 
> [1] http://dev.eclipse.org/mhonarc/lists/aether-users/msg00251.html
> [2[ http://jira.codehaus.org/browse/MNG-5513
> 
> Thanks,
> ~t~

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------








Re: Eclipse Aether is not filtered out from Plugin Class Realm

Posted by Jason van Zyl <ja...@tesla.io>.
Tamas just gave word back that master is working for him now.

I'm going to try a few other things, and if nothing surfaces tonight I'll roll 3.1.1 again.

On Sep 14, 2013, at 9:07 PM, Jason van Zyl <ja...@tesla.io> wrote:

> Tamas,
> 
> Can you try master now. Do you have a plugin that you are testing that I can try? I assume that you are using Aether directly and saw an issue? The old and the new artifacts need to be filtered to prevent NoClassDefFound errors. I will make a sample plugin using Aether directly, can you let me know if master works for you?
> 
> On Sep 14, 2013, at 8:28 PM, Jason van Zyl <ja...@tesla.io> wrote:
> 
>> Thanks, running the ITs and there are failures so I'm taking a look now.
>> 
>> On Sep 11, 2013, at 7:41 AM, Tamás Cservenák <ta...@cservenak.net> wrote:
>> 
>>> Hi,
>>> 
>>> it seems in 3.1.x, since Aether was swapped from Sonatype one to Eclipse
>>> one, the filtering was not updated, and Eclipse Aether is getting into
>>> plugin Class Realms...
>>> 
>>> See
>>> https://github.com/apache/maven/blob/892b464683645bcdc1d28febf0bf3cc1c3181350/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java#L83
>>> 
>>> I just hit this problem, see aether-users list [1]
>>> Created issue [2]
>>> 
>>> [1] http://dev.eclipse.org/mhonarc/lists/aether-users/msg00251.html
>>> [2[ http://jira.codehaus.org/browse/MNG-5513
>>> 
>>> Thanks,
>>> ~t~
>> 
>> Thanks,
>> 
>> Jason
>> 
>> ----------------------------------------------------------
>> Jason van Zyl
>> Founder,  Apache Maven
>> http://twitter.com/jvanzyl
>> ---------------------------------------------------------
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> Thanks,
> 
> Jason
> 
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> ---------------------------------------------------------
> 
> 
> 
> 
> 
> 
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------








Re: Eclipse Aether is not filtered out from Plugin Class Realm

Posted by Jason van Zyl <ja...@tesla.io>.
Tamas,

Can you try master now. Do you have a plugin that you are testing that I can try? I assume that you are using Aether directly and saw an issue? The old and the new artifacts need to be filtered to prevent NoClassDefFound errors. I will make a sample plugin using Aether directly, can you let me know if master works for you?

On Sep 14, 2013, at 8:28 PM, Jason van Zyl <ja...@tesla.io> wrote:

> Thanks, running the ITs and there are failures so I'm taking a look now.
> 
> On Sep 11, 2013, at 7:41 AM, Tamás Cservenák <ta...@cservenak.net> wrote:
> 
>> Hi,
>> 
>> it seems in 3.1.x, since Aether was swapped from Sonatype one to Eclipse
>> one, the filtering was not updated, and Eclipse Aether is getting into
>> plugin Class Realms...
>> 
>> See
>> https://github.com/apache/maven/blob/892b464683645bcdc1d28febf0bf3cc1c3181350/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java#L83
>> 
>> I just hit this problem, see aether-users list [1]
>> Created issue [2]
>> 
>> [1] http://dev.eclipse.org/mhonarc/lists/aether-users/msg00251.html
>> [2[ http://jira.codehaus.org/browse/MNG-5513
>> 
>> Thanks,
>> ~t~
> 
> Thanks,
> 
> Jason
> 
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> ---------------------------------------------------------
> 
> 
> 
> 
> 
> 
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------








Re: Eclipse Aether is not filtered out from Plugin Class Realm

Posted by Jason van Zyl <ja...@tesla.io>.
Thanks, running the ITs and there are failures so I'm taking a look now.

On Sep 11, 2013, at 7:41 AM, Tamás Cservenák <ta...@cservenak.net> wrote:

> Hi,
> 
> it seems in 3.1.x, since Aether was swapped from Sonatype one to Eclipse
> one, the filtering was not updated, and Eclipse Aether is getting into
> plugin Class Realms...
> 
> See
> https://github.com/apache/maven/blob/892b464683645bcdc1d28febf0bf3cc1c3181350/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java#L83
> 
> I just hit this problem, see aether-users list [1]
> Created issue [2]
> 
> [1] http://dev.eclipse.org/mhonarc/lists/aether-users/msg00251.html
> [2[ http://jira.codehaus.org/browse/MNG-5513
> 
> Thanks,
> ~t~

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------