Roland Weiglhofer created FELIX-4205:
----------------------------------------
Summary: Misleading error message
Key: FELIX-4205
URL: https://issues.apache.org/jira/browse/FELIX-4205
Project: Felix
Issue Type: Bug
Components: Maven Bundle Plugin
Affects Versions: maven-bundle-plugin-2.4.0
Reporter: Roland Weiglhofer
Priority: Minor
An empty <Bundle-Activator></Bundle-Activator> clause causes following error:
[INFO] [bundle:bundle {execution: default-bundle}]
in default pack?
[WARNING] Bundle mygroupId:myartifactId:mybundle:1.0.0.0 : Invalid package
name: '*'
[ERROR] Bundle mygroupId:myartifactId:mybundle: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
[ERROR] Error(s) found in bundle configuration
It would be easier to understand if the error message would be something like
this: "It is not allowed to specify an empty Bundle-Activtor clause. Check your
POM in line xxx!"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira