Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Resolve external bundle dependencies

Does springsource provide their bundles via a p2 repository?

--
Regards,
Igor

On 11-10-18 3:34 AM, De Backer Frederik (DBB) wrote:
Dear,

I am a new user to tycho and I am faced with the following problem.

I have developped an OSGi bundle in Eclipse and this bundle has a
dependency on com.springsource.org.apache.commons.io. This is a bundle
which is present in the SpringSource Enterprise bundle repository.

In the manifest of my bundle is the following :
*Require-Bundle*:
com.springsource.org.apache.commons.io;/bundle-version/="1.4.0"

I use tycho 0.13.0 to do the build of this bundle via maven. However I
get the following error when doing a mvn clean install

Bundle com.dexia.sample.HelloService - Missing Constraint:
Require-Bundle: co
m.springsource.org.apache.commons.io; bundle-version="1.4.0"

What is the recommended way to resolve this dependency? I see things
like p2 repositories and target platform definitions but I don't quite
understand well of any of these concepts need to be used to solve this
problem.

We are using nexus to manage our repositories and the springsource
bundle repositories have been added to nexus.

Thx a lot for the assistance,

Frederik.

------------------------------------------------------------------------- Dexia
disclaimer: http://www.dexia.com/maildisclaimer.htm
-------------------------------------------------------------------------



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top