sarmahdi wrote:

> Hello all,
> 
> I mavenized my project just fine and it is working. and I updated my maven
> to 3.0.4 from 3.0.3 and its working fine. I started helping out on another
> project to be mavenized and we dowanloaded 3.0.4 and started to mavenize
> the project. for some plugins and jars they were downloaded but then the
> error came on activation.jar 1.0.2, and one more jar (given below). the
> error happens for both the jars.
> <dependency>
> <groupId>javax.activation</groupId>
> <artifactId>activation</artifactId>
> <version>1.0.2</version>
> </dependency>
>             <dependency>
>           <groupId>javax.xml</groupId>
>           <artifactId>xmldsig</artifactId>
>           <version>1.0</version>
> </dependency>
> 
>  as we all know activation.jar is very common. it just said artifact not
> found. So i added a depndency tag from the site mavenrepo.com for the same
> jar and tried to do it again. Again it gave the same error.

[snip]

This is normal and it will stay so, because Sun/Oracle never granted 
distribution rights for those artifacts as separate downloads. You will have 
to download them from Oracle, accepting their license, and add them to a 
local repository manager.

In case of javax.activation:activation though, you might simply exclude the 
dependency, because it is part of the JDK since Java 6.

Cheers,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to