Support for library definitions (libd)

Description

The Springsource Enterprise Bundle repository has a concept of a library definition (http://www.springsource.com/repository/app/library).

In maven the spring library dependency would become.

<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.spring-library</artifactId>
<type>libd</type>
<version>2.5.6.SEC01</version>
</dependency>

Which points to http://repository.springsource.com/ivy/libraries/release/org.springframework/org.springframework.spring-library/2.5.6.SEC01/org.springframework.spring-library-2.5.6.SEC01.libd

Library-SymbolicName: org.springframework.spring
Library-Version: 2.5.6.SEC01
Library-Name: Spring Framework
Import-Bundle:
org.springframework.aop;version="[2.5.6.SEC01, 2.5.6.SEC01]",
org.springframework.aspects;version="[2.5.6.SEC01, 2.5.6.SEC01]";import-scope:=application,
org.springframework.beans;version="[2.5.6.SEC01, 2.5.6.SEC01]",
org.springframework.context;version="[2.5.6.SEC01, 2.5.6.SEC01]",
org.springframework.context.support;version="[2.5.6.SEC01, 2.5.6.SEC01]",
org.springframework.core;version="[2.5.6.SEC01, 2.5.6.SEC01]",
org.springframework.jdbc;version="[2.5.6.SEC01, 2.5.6.SEC01]",
org.springframework.jms;version="[2.5.6.SEC01, 2.5.6.SEC01]",
org.springframework.orm;version="[2.5.6.SEC01, 2.5.6.SEC01]",
org.springframework.transaction;version="[2.5.6.SEC01, 2.5.6.SEC01]",
org.springframework.web;version="[2.5.6.SEC01, 2.5.6.SEC01]",
org.springframework.web.servlet;version="[2.5.6.SEC01, 2.5.6.SEC01]",
com.springsource.org.aopalliance;version="[1.0.0, 1.0.0]"

Pax construct skips these definitions as non-bundle artifacts, but it would be very convenient to re-use the maven dependencies in pax construct without a fallback to the corresponding profiles.

Environment

None

Activity

Show:
Leen Toelen
September 15, 2009, 12:49 PM
StuartS
September 16, 2009, 8:08 AM

Initial support added in r16201 by adding transitive dependencies to the list of potential bundle artifacts.

Leen Toelen
September 16, 2009, 8:41 AM

The attached patch adds support for libd transient dependencies. Is this still needed after the initial support?

StuartS
September 16, 2009, 8:48 AM

The patch to add knowledge of "libd" artifacts is no longer required with the switch to transitive dependencies.

Assignee

Unassigned

Reporter

Leen Toelen

Labels

None

Components

Fix versions

Priority

Major
Configure