[jboss-jira] [JBoss JIRA] (DROOLS-1129) osgi bundle have wrong metadata info
Petr Široký (JIRA)
issues at jboss.org
Wed Apr 27 07:12:00 EDT 2016
[ https://issues.jboss.org/browse/DROOLS-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197692#comment-13197692 ]
Petr Široký edited comment on DROOLS-1129 at 4/27/16 7:11 AM:
--------------------------------------------------------------
Fixed by defining property {{osgi.Bundle-SymbolicName}} which is then used by both {{maven-bundle-plugin}} and {{maven-jar-plugin}}.
MANIFEST entries now look like this:
* drools-compiler binary jar: Bundle-SymbolicName == org.drools.compiler
* drools-compiler sources jar: Bundle-SymbolicName == org.drools.compiler.source and Eclipse-SourceBundle == org.drools.compiler
was (Author: psiroky):
Fixed by defining property {{osgi.Bundle-SymbolicName}} which is then used by both {{maven-bundle-plugin}} and {{maven-jar-plugin}}.
The headers now look like this:
* drools-compiler binary jar: Bundle-SymbolicName == org.drools.compiler
* drools-compiler sources jar: Bundle-SymbolicName == org.drools.compiler.source and Eclipse-SourceBundle == org.drools.compiler
> osgi bundle have wrong metadata info
> ------------------------------------
>
> Key: DROOLS-1129
> URL: https://issues.jboss.org/browse/DROOLS-1129
> Project: Drools
> Issue Type: Bug
> Components: integration
> Affects Versions: 6.4.0.Final
> Reporter: Hiep Lq
> Assignee: Petr Široký
> Fix For: 7.0.0.Beta1
>
>
> 1. bundle reteoo have wrong Bundle-SymbolicName.
> now is Bundle-SymbolicName: org.drools.core
> it should is Bundle-SymbolicName: org.drools.reteoo
> 2. base in standard of P2 repository. almost source bundle have wrong value at Bundle-SymbolicName and Eclipse-SourceBundle
> example:drools-compiler-6.4.0.Final-sources
> current value of: Bundle-SymbolicName = drools-compiler.source
> should be:Bundle-SymbolicName = org.drools.compiler.source
> current value of: Eclipse-SourceBundle=drools-compiler
> should be:Eclipse-SourceBundle=org.drools.compiler
> or we can keep source bundle, and change at binary bundle
> example change Bundle-SymbolicName of org.drools.compiler to drools-compiler
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list