dev@glassfish.java.net

Error building v3 trunk

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Mon, 24 Mar 2008 10:31:05 -0700

I just checked out GF v3 trunk and trying to build gives this error
while building ee apis:

[INFO] Building Java EE dependent public APIs of Glassfish V3
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://download.java.net/maven/glassfish/javax/activation/activation/1.0.2/activation-1.0.2.jar
Downloading:
http://maven.dyndns.org/glassfish//javax/activation/activation/1.0.2/activation-1.0.2.jar
Downloading:
https://maven-repository.dev.java.net/nonav/repository/javax.activation/jars/activation-1.0.2.jar
Downloading:
http://repo1.maven.org/maven2/javax/activation/activation/1.0.2/activation-1.0.2.jar
Downloading:
http://download.java.net/maven/2/javax/activation/activation/1.0.2/activation-1.0.2.jar
Downloading:
https://maven2-repository.dev.java.net/nonav/repository/javax/activation/activation/1.0.2/activation-1.0.2.jar
Downloading:
http://repo1.maven.org/maven2/javax/activation/activation/1.0.2/activation-1.0.2.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) javax.activation:activation:jar:1.0.2

[snip]

  Path to dependency:
        1) org.glassfish.common:glassfish-ee-api:hk2-jar:10.0-SNAPSHOT
        2) javax.javaee:javaee:jar:5.0-SNAPSHOT
        3) javax.xml.soap:saaj-api:jar:1.3
        4) javax.activation:activation:jar:1.0.2


I think the root of the problem is that saaj-1.3.jar is hosted at two
different places. One at java.net maven1 repo that depends on
activation-1.1.jar[1]. There is another saaj-1.3.jar[2] at
repo1.maven.org and that depends on activation-1.0.2.jar,except for the
fact that there is no activation-1.0.2.jar in maven.

During build saaj-1.3.api is resolved from the one at repo1.maven.org
and tries to find activation-1.0.2.jar and fails!

Does anyone know how we can fix this?

-vivek.

[1]http://download.java.net/maven/1/javax.xml.soap/poms/saaj-api-1.3.pom
[2]http://repo1.maven.org/maven2/javax/xml/soap/saaj-api/1.3/saaj-api-1.3.pom