The error output of the maven-bundle-plugin/bnd is not very helpful. But I
just had an idea.

mvn clean bundle:bundle     shows more error-output than     mvn clean
install -X

Now I just have to figure out why the package is empty.

[WARNING] Bundle mypackage:myproject:bundle:1.0.0.0 : Unused Private-Package
instructions, no such package(s) on the class
 path: [!*]
[WARNING] Bundle mypackage:myproject:bundle:1.0.0.0 : The JAR is empty: The
instructions for the JAR named mypackage did not cause any content to be
included, this is likely wrong
[ERROR] Bundle mypackage:myproject:bundle:1.0.0.0 : The default package '.'
is not permitted by the Import-Package syntax.

 This can be caused by compile errors in Eclipse because Eclipse creates
valid class files regardless of compile errors.
The following package(s) import from the default package null



--
View this message in context: 
http://apache-felix.18485.x6.nabble.com/Invalid-package-name-tp5004065p5004083.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to