Here is an extract of my pom.xml, I do not have activation-1.0.2 in my
dependency list


                <dependency>
                        <groupId>javamail</groupId>
                        <artifactId>javamail</artifactId>
                        <version>1.3.2</version>
                </dependency>



Once I remove the above depencies in pom.xml, everything works fine but I do
need this jar.

This is the only depency causing the problem below to happen. I cannot
understand why it is requesting to download activation-1.0.2




$ mvn install
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Unnamed - com.tenzeng.lge:MMS_IA:jar:1.0-SNAPSHOT
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
  This artifact has been relocated to javax.activation:activation:1.0.2.


[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
  This artifact has been relocated to javax.activation:activation:1.0.2.


Downloading:
file://J:/maven/repository//javax.activation/jars/activation-1.0.2.jar
[WARNING] Unable to get resource from repository J Drive
(file://J:/maven/repository/)
Downloading:
http://www.ibiblio.org/maven//javax.activation/jars/activation-1.0.2.jar
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Error transferring file
  javax.activation:activation:1.0.2:jar

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  ibiblio (http://www.ibiblio.org/maven/),
  J Drive (file://J:/maven/repository/)
Path to dependency:
        1) com.tenzeng.lge:MMS_IA:jar:1.0-SNAPSHOT
        2) javamail:javamail:jar:1.3.2
        3) javax.activation:activation:jar:1.0.2



Caused by I/O exception: Connection timed out: connect

[INFO]
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 23 seconds
[INFO] Finished at: Mon Nov 14 16:15:26 EST 2005
[INFO] Final Memory: 3M/6M
[INFO]
----------------------------------------------------------------------------



Reply via email to