Uploaded image for project: 'Pax Construct'
  1. Pax Construct
  2. PAXCONSTRUCT-25

Allow management of maven dependencies using OBR

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: scripts
    • Labels:
      None

      Description

      In most cases, OSGi developer should not be worried figuring out which bundles that satisfies a particular import.

      The idea is:

      • pax-update-maven-dependencies (PUMD) will read the bnd file and figure out all the required import package.
      • PUMD reads the relevant OBR settings, and query each of the OBR.
      • When PUMD founds all bundles that satisfies particular import, checks, whether the URL is a maven repository.
        (e.g, strip off the file extension, and replace with .xml, to query the pom.xml of that bundle).
      • All the search results that are in Maven repositories are listed in the console for user to choose.
      • PUMD updates the dependencies by updating to either <dependencyManagement> or <dependencies> or both depending on the project structure.

      Note; We also need another jira issue for how to deploy the OBR repository xml.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              edward.yakop@gmail.com Edward Yakop
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: