lastest 0.9.9, Missing artifact activation:activation:jar:1.0.2:runtime

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

lastest 0.9.9, Missing artifact activation:activation:jar:1.0.2:runtime

Guofeng Zhang

Hi,

 

I just upgrade to last 0.9.9. I got the error “Missing artifact activation:activation:jar:1.0.2:runtime” when I import my project again.

 

This project works well using previous 0.9.9. it also build successfully with maven 2.2/2.1.

 

I check the dependencies with “project-info-reports:dependencies”. I do not find my project depends on activation 1.0.2, but javax.activation 1.1 (activation:activation:1.0.2 should be redirected to javax.activation).

 

How to solve it?

 

Thanks

 

Guofeng

 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lastest 0.9.9, Missing artifact activation:activation:jar:1.0.2:runtime

Olivier Lamy
Hi,
Relocation doesn't work currently with maven trunk [1].
--
Olivier
[1] http://jira.codehaus.org/browse/MNG-4197

2009/7/8 Guofeng Zhang <[hidden email]>:

> Hi,
>
>
>
> I just upgrade to last 0.9.9. I got the error “Missing artifact
> activation:activation:jar:1.0.2:runtime” when I import my project again.
>
>
>
> This project works well using previous 0.9.9. it also build successfully
> with maven 2.2/2.1.
>
>
>
> I check the dependencies with “project-info-reports:dependencies”. I do not
> find my project depends on activation 1.0.2, but javax.activation 1.1
> (activation:activation:1.0.2 should be redirected to javax.activation).
>
>
>
> How to solve it?
>
>
>
> Thanks
>
>
>
> Guofeng
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lastest 0.9.9, Missing artifact activation:activation:jar:1.0.2:runtime

Jason van Zyl-3
What Olivier is saying is use the proper groupId and artifactId. The  
artifact is here:

http://repo2.maven.org/maven2/javax/activation/activation/

groupId = javax.activation
artifactId = activation

On 8-Jul-09, at 3:44 AM, Olivier Lamy wrote:

> Hi,
> Relocation doesn't work currently with maven trunk [1].
> --
> Olivier
> [1] http://jira.codehaus.org/browse/MNG-4197
>
> 2009/7/8 Guofeng Zhang <[hidden email]>:
>> Hi,
>>
>>
>>
>> I just upgrade to last 0.9.9. I got the error “Missing artifact
>> activation:activation:jar:1.0.2:runtime” when I import my project  
>> again.
>>
>>
>>
>> This project works well using previous 0.9.9. it also build  
>> successfully
>> with maven 2.2/2.1.
>>
>>
>>
>> I check the dependencies with “project-info-reports:dependencies”.  
>> I do not
>> find my project depends on activation 1.0.2, but javax.activation 1.1
>> (activation:activation:1.0.2 should be redirected to  
>> javax.activation).
>>
>>
>>
>> How to solve it?
>>
>>
>>
>> Thanks
>>
>>
>>
>> Guofeng
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

Thanks,

Jason

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

You are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of
dogmas or goals, it's always because these dogmas or
goals are in doubt.

   -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lastest 0.9.9, Missing artifact activation:activation:jar:1.0.2:runtime

Henri Gomez
> What Olivier is saying is use the proper groupId and artifactId. The
> artifact is here:
>
> http://repo2.maven.org/maven2/javax/activation/activation/
>
> groupId = javax.activation
> artifactId = activation

Yes, but you should also locate where it is reference to exclude it.
I'm facing it right now :)

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lastest 0.9.9, Missing artifact activation:activation:jar:1.0.2:runtime

Henri Gomez
For example :

For one project I see :

[INFO] [dependency:tree]
[INFO] org.mycorp.sx.canopee:slib-jutils:jar:2.0.0-30-SNAPSHOT
[INFO] +- commons-logging:commons-logging-api:jar:1.1:compile
[INFO] +- log4j:log4j:jar:1.2.14:compile
[INFO] +- javax.servlet:servlet-api:jar:2.5:provided
[INFO] +- javax.servlet.jsp:jsp-api:jar:2.1:provided
[INFO] +- javax.xml.ws:jaxws-api:jar:2.1:compile
[INFO] |  +- javax.xml.bind:jaxb-api:jar:2.1:compile
[INFO] |  |  +- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO] |  |  \- (javax.activation:activation:jar:1.1:compile - omitted
for duplicate)
[INFO] |  +- javax.xml.soap:saaj-api:jar:1.3:compile
[INFO] |  |  \- (javax.activation:activation:jar:1.0.2:compile -
omitted for conflict with 1.1)
[INFO] |  +- javax.annotation:jsr250-api:jar:1.0:compile
[INFO] |  \- javax.jws:jsr181-api:jar:1.0-MR1:compile
[INFO] +- org.opensymphony.quartz:quartz:jar:1.6.1:compile
[INFO] +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] +- javax.mail:mail:jar:1.4:compile
[INFO] |  \- javax.activation:activation:jar:1.1:compile
[INFO] +- jgroups:jgroups:jar:2.7.0.GA:compile
[INFO] +- org.apache.tomcat:tribes:jar:6.0.18:compile
[INFO] |  \- org.apache.tomcat:juli:jar:6.0.18:compile
[INFO] +- net.sf.jt400:jt400-full:jar:6.5.1:compile
[INFO] \- junit:junit:jar:4.4:test

BTW, m2eclipse complains about about a missing activation:activation:1.0.2

No direct or indirect reference to activation:activation here ;(

>2009/7/9 Henri Gomez <[hidden email]>:
>> What Olivier is saying is use the proper groupId and artifactId. The
>> artifact is here:
>>
>> http://repo2.maven.org/maven2/javax/activation/activation/
>>
>> groupId = javax.activation
>> artifactId = activation
>
> Yes, but you should also locate where it is reference to exclude it.
> I'm facing it right now :)
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lastest 0.9.9, Missing artifact activation:activation:jar:1.0.2:runtime

Henri Gomez
The relocation is very deep :

1) activation:activation:jar:1.0.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=activation
-DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=activation
-DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
  1) or.mycorp.sx.canopee:slib-jutils:pom:pom:2.0.0-30-SNAPSHOT
  2) javax.xml.ws:jaxws-api:jar:2.1
  3) javax.xml.soap:saaj-api:jar:1.3
  4) activation:activation:jar:1.0.2



2009/7/9 Henri Gomez <[hidden email]>:

> For example :
>
> For one project I see :
>
> [INFO] [dependency:tree]
> [INFO] org.mycorp.sx.canopee:slib-jutils:jar:2.0.0-30-SNAPSHOT
> [INFO] +- commons-logging:commons-logging-api:jar:1.1:compile
> [INFO] +- log4j:log4j:jar:1.2.14:compile
> [INFO] +- javax.servlet:servlet-api:jar:2.5:provided
> [INFO] +- javax.servlet.jsp:jsp-api:jar:2.1:provided
> [INFO] +- javax.xml.ws:jaxws-api:jar:2.1:compile
> [INFO] |  +- javax.xml.bind:jaxb-api:jar:2.1:compile
> [INFO] |  |  +- javax.xml.stream:stax-api:jar:1.0-2:compile
> [INFO] |  |  \- (javax.activation:activation:jar:1.1:compile - omitted
> for duplicate)
> [INFO] |  +- javax.xml.soap:saaj-api:jar:1.3:compile
> [INFO] |  |  \- (javax.activation:activation:jar:1.0.2:compile -
> omitted for conflict with 1.1)
> [INFO] |  +- javax.annotation:jsr250-api:jar:1.0:compile
> [INFO] |  \- javax.jws:jsr181-api:jar:1.0-MR1:compile
> [INFO] +- org.opensymphony.quartz:quartz:jar:1.6.1:compile
> [INFO] +- commons-collections:commons-collections:jar:3.2.1:compile
> [INFO] +- javax.mail:mail:jar:1.4:compile
> [INFO] |  \- javax.activation:activation:jar:1.1:compile
> [INFO] +- jgroups:jgroups:jar:2.7.0.GA:compile
> [INFO] +- org.apache.tomcat:tribes:jar:6.0.18:compile
> [INFO] |  \- org.apache.tomcat:juli:jar:6.0.18:compile
> [INFO] +- net.sf.jt400:jt400-full:jar:6.5.1:compile
> [INFO] \- junit:junit:jar:4.4:test
>
> BTW, m2eclipse complains about about a missing activation:activation:1.0.2
>
> No direct or indirect reference to activation:activation here ;(
>
>>2009/7/9 Henri Gomez <[hidden email]>:
>>> What Olivier is saying is use the proper groupId and artifactId. The
>>> artifact is here:
>>>
>>> http://repo2.maven.org/maven2/javax/activation/activation/
>>>
>>> groupId = javax.activation
>>> artifactId = activation
>>
>> Yes, but you should also locate where it is reference to exclude it.
>> I'm facing it right now :)
>>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lastest 0.9.9, Missing artifact activation:activation:jar:1.0.2:runtime

Henri Gomez
In reply to this post by Jason van Zyl-3
The relocation problem is a serious problem.

We could use the correct artifact or exclude a 'relocated' one but how
could we do when the 'bad' artifact is defined in a maven plugin ?

 Path to dependency:
       1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.11
       2) com.sun.xml.ws:jaxws-tools:jar:2.1.5
       3) com.sun.xml.ws:jaxws-rt:jar:2.1.5
       4) javax.xml.ws:jaxws-api:jar:2.1
       5) javax.xml.soap:saaj-api:jar:1.3
       6) activation:activation:jar:1.0.2

2009/7/8 Jason van Zyl <[hidden email]>:

> What Olivier is saying is use the proper groupId and artifactId. The
> artifact is here:
>
> http://repo2.maven.org/maven2/javax/activation/activation/
>
> groupId = javax.activation
> artifactId = activation
>
> On 8-Jul-09, at 3:44 AM, Olivier Lamy wrote:
>
>> Hi,
>> Relocation doesn't work currently with maven trunk [1].
>> --
>> Olivier
>> [1] http://jira.codehaus.org/browse/MNG-4197
>>
>> 2009/7/8 Guofeng Zhang <[hidden email]>:
>>>
>>> Hi,
>>>
>>>
>>>
>>> I just upgrade to last 0.9.9. I got the error “Missing artifact
>>> activation:activation:jar:1.0.2:runtime” when I import my project again.
>>>
>>>
>>>
>>> This project works well using previous 0.9.9. it also build successfully
>>> with maven 2.2/2.1.
>>>
>>>
>>>
>>> I check the dependencies with “project-info-reports:dependencies”. I do
>>> not
>>> find my project depends on activation 1.0.2, but javax.activation 1.1
>>> (activation:activation:1.0.2 should be redirected to javax.activation).
>>>
>>>
>>>
>>> How to solve it?
>>>
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>> Guofeng
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>   http://xircles.codehaus.org/manage_email
>>
>>
>
> Thanks,
>
> Jason
>
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> http://twitter.com/SonatypeNexus
> http://twitter.com/SonatypeM2E
> ----------------------------------------------------------
>
> You are never dedicated to something you have complete confidence in.
> No one is fanatically shouting that the sun is going to rise tomorrow.
> They know it is going to rise tomorrow. When people are fanatically
> dedicated to political or religious faiths or any other kind of
> dogmas or goals, it's always because these dogmas or
> goals are in doubt.
>
>  -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lastest 0.9.9, Missing artifact activation:activation:jar:1.0.2:runtime

Yongxu Cui
This post has NOT been accepted by the mailing list yet.
In reply to this post by Guofeng Zhang
Thanks
Welcome to http://www.heppy1.com, enjoy music heart to see
Loading...