Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-1452

Backend of Dynamic POM Dependencies framework

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major Major
    • 7.28.0.Final
    • None
    • None
    • 2018 Week 42-44, 2018 Week 45-47, 2018 Week 48-50, 2019 Week 02-04, 2018 Week 51-01, 2019 Week 05-07, 2019 Week 08-10, 2019 Week 11-13, 2019 Week 14-16
    • 1
    • NEW
    • NEW

      The main goal of this task is to provide the backend of AF-1451. As soon as a dependency event is fired we should add this dependency for the pom.xml.
      process(@Observes PomDependency)

      { } Some reqs for the processing: In order to add the dependency : - we should look-up for a specific dependency version in a global properties file, yml or json. - for internal artifacts (org.appformer, org.dashbuilder, org.kie org.optaplanner (check if there no other ones) we should have a special rule in order to handle importing project of another 7 series versions: - Check if is already a dependency of this type; - If so, use them because all the kie dependencies should be aligned to the same original version i.e. kie.version=7.10.0-SNAPSHOT empty pom: {code:xml}

      <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-internal</artifactId>
      <version>7.10.0-SNAPSHOT</version>
      <scope>provided</scope>
      </dependency>

      
      
       pom with old dependency:
      
      kie.version=7.10.0-SNAPSHOT
      {code:xml}
         <dependency>
            <groupId>org.kie</groupId>
            <artifactId>kie-internal</artifactId>
            <version>7.9.0-SNAPSHOT</version>
            <scope>provided</scope>
          </dependency>
      
          <dependency>
            <groupId>org.optaplanner</groupId>
            <artifactId>optaplanner-core</artifactId>
            <version>7.9.0-SNAPSHOT</version>
            <scope>provided</scope>
          </dependency>
      

              mdessi-1 Massimiliano Dessi
              eignatow Eder Ignatowicz
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: