Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      When people start developing application for ServiceMix, they quickly find themselves defining version and dependencies for the different bits (Camel, ActiveMQ, ...) that have to be kept aligned every time they upgrade to a new version of ServiceMix. We should provide them with a convenience POM they can inherit from/import into their POMs to make it possible to upgrade by just altering that one POM.

      I don't think our current features' root POM, although it has all the dependencies in there, is a good match here because that also has a lot of stuff that is really specific to building ServiceMix itself rather than for building bundles for ServiceMix, so we should probably create a new POM especially for this goal from the information we have in our build.

      1. 0001-REmoved-unused-property.patch
        0.8 kB
        Joris Schoolmeesters
      2. find_unused_properties.rb
        3 kB
        Joris Schoolmeesters
      3. parent.xml
        41 kB
        Gert Vanthienen

        Activity

        Hide
        gertvanthienen Gert Vanthienen added a comment -

        parent.xml is a sample of what we should be able to provide : a POM that has managed dependencies and plugins for all the stuff people are using when they're building applications for ServiceMix

        I'm only struggling a bit with what the best way would be to get this included in the build: currently tinkering to create a 'parent' module that has this kind of pom and then let the root pom inherit from it and add the bits we require to build ServiceMix itself in the root pom.

        Show
        gertvanthienen Gert Vanthienen added a comment - parent.xml is a sample of what we should be able to provide : a POM that has managed dependencies and plugins for all the stuff people are using when they're building applications for ServiceMix I'm only struggling a bit with what the best way would be to get this included in the build: currently tinkering to create a 'parent' module that has this kind of pom and then let the root pom inherit from it and add the bits we require to build ServiceMix itself in the root pom.
        Hide
        gertvanthienen Gert Vanthienen added a comment -

        Added a parent/pom.xml which only has managed dependencies that end users can use in http://svn.apache.org/viewvc?view=revision&revision=1088708

        Show
        gertvanthienen Gert Vanthienen added a comment - Added a parent/pom.xml which only has managed dependencies that end users can use in http://svn.apache.org/viewvc?view=revision&revision=1088708
        Hide
        gertvanthienen Gert Vanthienen added a comment -

        The parent pom can be used

        • by using it as a parent for your own company ServiceMix POM - the benefit is that you can also access the properties that have been defined, but it does require you to override e.g. the SCM information and Apache specific information in that POM
        • by using 'import' scope to import all the managed dependencies from this POM into your own project - the benefit is that this allows the information to be mixed into any existing POM, but this approach does not allow you to access the properties that have been defined
        Show
        gertvanthienen Gert Vanthienen added a comment - The parent pom can be used by using it as a parent for your own company ServiceMix POM - the benefit is that you can also access the properties that have been defined, but it does require you to override e.g. the SCM information and Apache specific information in that POM by using 'import' scope to import all the managed dependencies from this POM into your own project - the benefit is that this allows the information to be mixed into any existing POM, but this approach does not allow you to access the properties that have been defined
        Hide
        jorissmt Joris Schoolmeesters added a comment -

        Hey, i've found another unused property with a little ruby script i wrote. Attaching the patch, and also the script.

        Show
        jorissmt Joris Schoolmeesters added a comment - Hey, i've found another unused property with a little ruby script i wrote. Attaching the patch, and also the script.
        Hide
        gertvanthienen Gert Vanthienen added a comment -

        Property has been removed - thanks for letting us know!
        I've also kept your script around in http://svn.apache.org/repos/asf/servicemix/scripts/ for future reference/use

        Show
        gertvanthienen Gert Vanthienen added a comment - Property has been removed - thanks for letting us know! I've also kept your script around in http://svn.apache.org/repos/asf/servicemix/scripts/ for future reference/use

          People

          • Assignee:
            gertvanthienen Gert Vanthienen
            Reporter:
            gertvanthienen Gert Vanthienen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development