dev@glassfish.java.net

Re: Error building v3 trunk

From: V B Kumar Jayanti <Vbkumar.Jayanti_at_Sun.COM>
Date: Mon, 24 Mar 2008 23:24:17 +0530

Vivek Pandey wrote:

> Nevermind, looks like my .m2 was interfering, removing $HOME/.m2 fixed
> this.
>
Here is what the pom.xml for SAAJ API looks like (so may be kohsuke
can help remove the one which may have got published with dependency on
1.0.2 ?).

saaj-api

> -vivek.
> Vivek Pandey wrote:
>
>> 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
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>