On 28 Jun 2011, at 21:16, Emily Jiang wrote:

> http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-osgi.jar
>  returns 404. Did I miss anything?

I believe that should be:

   
http://grid.sonatype.org:9000/nexus/content/repositories/central/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-osgi.jar
 

ie. for a given artifact on maven central, replace 
"http://repo1.maven.org/maven2/"; with 
"http://grid.sonatype.org:9000/nexus/content/repositories/central/"; and add 
"-osgi"

> Regards
> Emily
> 
> On Tue, Jun 28, 2011 at 9:09 PM, Emily Jiang <[email protected]> wrote:
> It is a great idea. When I tried to access the osgi-ed common logging, 
> http://grid.sonatype.org:9000/nexus/content/shadows/central-obr/.meta/obr.xml.
>  I got 404 error. 
> 

Could you try it again? I tried downloading the obr.xml file a few minutes ago 
from an external location with curl and it downloaded OK

> Regards
> Emily
> 
> 
> On Mon, Jun 27, 2011 at 8:54 PM, Pete Carapetyan <[email protected]> 
> wrote:
> Hi Alin, this is a great development and I plan to use it as soon as I can 
> get a breather.
> 
> I've had all my dependencies set up in a maven repo for half a year now, and 
> have missed some deadlines so won't take the time to access this until I get 
> caught up with my deadlines.
> 
> Thanks for moving this forward. Really going to be helpful.
> 
> On Mon, Jun 27, 2011 at 11:51 AM, Alin Dreghiciu <[email protected]> wrote:
> I pinged you on gtalk many times... ;)
> 
> On Mon, Jun 27, 2011 at 5:33 PM, Toni Menzel <[email protected]> wrote:
> > Alin
> > Is
> > Alive
> > !!
> >
> > On Jun 2, 2011 3:37 PM, "Alin Dreghiciu" <[email protected]> wrote:
> >> Hi,
> >>
> >> If anyone interested in OSGi version of any of Maven Central artifacts
> >> (jars) you can now get them by using the
> >> http://grid.sonatype.org:9000/nexus/content/repositories/central/
> >> repository.
> >> The osgi bundles are created on demand, meaning that the jar will be
> >> OSGi-fyed as soon as the first request for it. The generated OSGi
> >> bundle will have the same Maven coordinates (group/artifact/version)
> >> as the original non OSGI jar but it will have and "osgi" classifier.
> >>
> >> You can use the bundle in a Maven build as for example:
> >> <dependency>
> >> <groupId>commons-logging</groupId>
> >> <artifactId>commons-logging</artifactId>
> >> <version>1.1.1</version>
> >> <classifier>osgi</classifier>
> >> </dependency>
> >>
> >> If you want to directly download the bundle, the URL is similar to
> >> original (non OSGi) version of jar with an additional "-osgi" added in
> >> front of ".jar" extension as in the following example:
> >>
> >> Original jar URL:
> >>
> >> http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
> >>
> >> OSGi bundle URL:
> >>
> >> http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-osgi.jar
> >>
> >> If using Pax Maven URL (Pax runner, Karaf, ...) you can access the bundle
> >> as:
> >> mvn:commons-logging/commons-logging/1.1.1/jar/osgi or
> >> mvn:commons-logging/commons-logging/1.1.1//osgi
> >>
> >> Of course that if the jar is already an OSGi bundle it will not be
> >> transformed.
> >>
> >> All of this automatically transformed bundles and all existing bundles
> >> accessed via the above mentioned repository are available also via OBR
> >> at:
> >>
> >>
> >> http://grid.sonatype.org:9000/nexus/content/shadows/central-obr/.meta/obr.xml
> >>
> >> Soon I will als make this bundles available as an P2 repository.
> >>
> >> Note that this is an "lab" project for now so things might change and
> >> will have downtimes as I will upgrade them with latest builds of Nexus
> >> plugins we develop for OSGi.
> >>
> >> Feel free to send me your feedback about it so I can improve/fix it if
> >> needed. Also same features could be enabled for other Maven
> >> repositories out there.
> >>
> >> --
> >> Alin Dreghiciu
> >> Software Developer
> >> My profile: http://www.linkedin.com/in/alindreghiciu
> >> My blog: http://adreghiciu.wordpress.com
> >> http://sonatype.com - Sonatype - The Maven Company
> >> http://www.ops4j.org - New Energy for OSS Communities - Open
> >> Participation Software.
> >>
> >> _______________________________________________
> >> general mailing list
> >> [email protected]
> >> http://lists.ops4j.org/mailman/listinfo/general
> >
> > _______________________________________________
> > general mailing list
> > [email protected]
> > http://lists.ops4j.org/mailman/listinfo/general
> >
> >
> 
> 
> 
> --
> Alin Dreghiciu
> Software Developer
> My profile: http://www.linkedin.com/in/alindreghiciu
> My blog: http://adreghiciu.wordpress.com
> http://sonatype.com - Sonatype - The Maven Company
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> 
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
> 
> 
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
> 
> 
> 
> 
> -- 
> Thanks
> Emily
> =================
> Emily Jiang
> [email protected]
> 
> 
> 
> 
> -- 
> Thanks
> Emily
> =================
> Emily Jiang
> [email protected]
> 
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to