dev@glassfish.java.net

Re: v3 workspace refresh

From: Sahoo <sahoo_at_sun.com>
Date: Thu, 24 Jan 2008 09:46:54 +0530

Dinesh,

It was my mistake; I did not catch it in my environment as I had built
and installed Felix version 1.1.0-SNAPSHOT in my local maven repository.

Jerome,

Thanks for making that change to get the build going. I have now changed
the pom.xml so that we don't depend on Felix at all, we just depend on
org.osgi.osgi_R4_compendium version 1.0 for additional OSGi interfaces.

Sorry, if the broken build caused trouble to others.

Thanks,
Sahoo

Jerome Dochez wrote:
> I fixed it for now by using the 1.0.1 version
>
> On Jan 23, 2008, at 10:42 AM, Dinesh Patil wrote:
>
>> Sahoo, looks like HK2 will be updated in maven repository once the
>> HK2 build on Hudson completes, but currently its broken since Jan
>> 22'08 9:46pm (may be due to your large checkin) Its not able to
>> resolve the dependencies as below. Please fix this asap.
>> Path to dependency:
>> 1) com.sun.enterprise:osgi-adapter:jar:0.2-SNAPSHOT
>> 2) org.apache.felix:org.apache.felix.framework:jar:1.1.0-SNAPSHOT
>>
>> <red.gif> #459 Jan 22, 2008 9:46:36 PM
>> <http://kohsuke.sfbay/hudson/view/GFv3/job/hk2/459/>
>> <blue.gif> #458 Jan 18, 2008 3:01:44 PM
>> <http://kohsuke.sfbay/hudson/view/GFv3/job/hk2/458/>
>>
>>
>> http://kohsuke.sfbay/hudson/view/GFv3/job/hk2/459/console (internal link)
>> [HUDSON] Archiving /files/hudson/workspace/hk2/hk2/osgi-adapter/pom.xml
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) org.apache.felix:org.apache.felix.framework:jar:1.1.0-SNAPSHOT
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=org.apache.felix -DartifactId=org.apache.felix.framework \
>> -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>> Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.felix -DartifactId=org.apache.felix.framework \
>> -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
>> -Durl=[url] -DrepositoryId=[id]
>>
>> Path to dependency:
>> 1) com.sun.enterprise:osgi-adapter:jar:0.2-SNAPSHOT
>> 2) org.apache.felix:org.apache.felix.framework:jar:1.1.0-SNAPSHOT
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>> com.sun.enterprise:osgi-adapter:jar:0.2-SNAPSHOT
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2),
>> maven2-repository.dev.java.net (http://download.java.net/maven/2/),
>> maven-repository.dev.java.net (http://download.java.net/maven/1/)
>>
>>
>> Sahoo wrote:
>>> Some of the HK2 class names have been changed earlier today and
>>> corresponding changes have been made in GFv3 workspace. I don't know
>>> when HK2 bits are pushed to maven repository. If your maven local
>>> repository contains older HK2 classes and you refresh your v3
>>> workspace today, it might not build. You may have to check out and
>>> build HK2.
>>>
>>> Thanks,
>>> Sahoo
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>