我試圖添加一個模塊到現有的osgi框架(www.ogema.org)。 我必須使用依賴於javax.smartcardio的庫。我將庫添加到本地存儲庫,似乎工作。 但是,當我要開始使用該庫的包我得到的錯誤:如何在使用maven構建時在osgi包中導入javax.smartcardio?
The bundle "org.ogema.examples.securitymodule-app_1.1.1 [12]" could not be resolved. Reason: Missing Constraint: Import-Package: javax.smartcardio; version="0.0.0"
我如何添加javax.smartcardio的依賴?