[jboss-jira] [JBoss JIRA] (DROOLS-397) Don't hard code versions in drools-osgi's drools-karaf-features's pom

Geoffrey De Smet (JIRA) issues at jboss.org
Tue Jan 14 16:45:33 EST 2014


Geoffrey De Smet created DROOLS-397:
---------------------------------------

             Summary: Don't hard code versions in drools-osgi's drools-karaf-features's pom
                 Key: DROOLS-397
                 URL: https://issues.jboss.org/browse/DROOLS-397
             Project: Drools
          Issue Type: Task
      Security Level: Public (Everyone can see)
            Reporter: Geoffrey De Smet
            Assignee: Mario Fusco


Historically, there we no versions available as properties from the ip-bom, so we hard coded them for karaff:
https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-osgi/drools-karaf-features/pom.xml#L23

So we did:

{code}
<karaf.version.org.apache.camel>2.10.3</karaf.version.org.apache.camel>
{code}

But we extend the jboss-integration-platform-parent, so they are available:
   https://github.com/jboss-integration/jboss-integration-platform-bom/blob/master/pom.xml#L90

So now do:
{code}
<karaf.version.org.apache.camel>${version.org.apache.camel}</karaf.version.org.apache.camel>
{code}

etc.

Note: there are still a few special ones (the wrapper ones in that karaf features pom) that you might want to keep hard coded to get osgi to work.

--
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


More information about the jboss-jira mailing list