Bug 747718 - Latest SOA plugins have invalid plugin versions
Summary: Latest SOA plugins have invalid plugin versions
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.2
Hardware: Unspecified
OS: Unspecified
urgent
unspecified vote
Target Milestone: ---
: ---
Assignee: Len DiMaggio
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-20 20:30 UTC by Charles Crouch
Modified: 2015-02-01 23:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-04 09:00:06 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3509 0 Blocker Closed Latest SOA plugins have invalid plugin versions 2013-09-04 08:59:39 UTC

Description Charles Crouch 2011-10-20 20:30:01 UTC
If you open the META-INF/rhq-plugin.xml files inside the latest SOA plugins

soa-p-5.2.0.ER5-rhq-jbossesb-plugin-as4.jar
soa-p-5.2.0.ER5-rhq-jbossesb-plugin-as5.jar

You will see the version property specified in the plugin descriptor is "SOA-5.2.0". This does not match the OSGI versioning scheme we use for plugin versions, described here: http://www.osgi.org/javadoc/r4v43/org/osgi/framework/Version.html#Version%28java.lang.String%29

The consequence of this invalid plugin version is that it breaks version comparisons, e.g. if you compare "2.0.0"  with "SOA-5.2.0" then "2.0.0" will be determined to be greater, i.e. the more recent version

The solution is to drop the "SOA-" portion from the version string.


Going forward we're planning to make our plugin deployment rules tighter so you won't even be able to deploy plugins with bad versions strings. This is covered in  https://bugzilla.redhat.com/show_bug.cgi?id=747702

Comment 1 Julian Coleman 2011-10-21 17:03:06 UTC
Resolved with revision 658 of:

  repos/mead/patches/org.jboss.jbossesb-jbosssoa/branches/esb-4.10

Commit message:

  SOA-3509
  BZ#747718
  Remove the "SOA-" prefix from the ESB JON plugin version.

Comment 2 Heiko W. Rupp 2013-09-04 09:00:06 UTC
Closing as outdated.


Note You need to log in before you can comment on or make changes to this bug.