Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Missing requirement: blah 1.0.0.SNAPSHOT requires 'package com.sun.management 0.0.0' but it could not be found

I found the two websites mentioned in that post, before I found the post. :) The only thing that is not clear to me is what packaging type do I specify in the pom.

TIA, ML.


On 14-03-21 02:46 PM, Igor Fedorenko wrote:
Simple search through this list shows

https://dev.eclipse.org/mhonarc/lists/tycho-user/msg00567.html

--
Regards,
Igor

On 2014-03-21, 17:41, V. Mark Lehky wrote:
I managed to get further with my eclipse-plugin build.

I am now facing the error: "Missing requirement:
net.sourceforge.genieos.executor 1.0.0.SNAPSHOT requires 'package
com.sun.management 0.0.0' but it could not be found". The problem is
described here:
https://stackoverflow.com/questions/2630069/com-sun-management-operatingsystemmxbean-use-in-an-osgi-bundle

which led me to this article:
http://spring.io/blog/2009/01/19/exposing-the-boot-classpath-in-osgi/
 From there, and browsing through the tycho code, I tried using:
<properties>

<org.osgi.framework.system.packages.extra>com.sun.*</org.osgi.framework.system.packages.extra>

</properties>
in my pom.xml, but this did not work.

In tycho build, how do I tell the OSGi framework to load these extra
packages?

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

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


Back to the top