Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1364

RHPAM git import is not backward compatible

    XMLWordPrintable

    Details

    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      Go to business-central of RHPAM 7.0.1 -> Projects -> click on that kebab menu in the upper right corner -> Import project and try to import the attached git repo , i.e. file:///path/to/DMN.git

      This fails at my end with following UI error:
      https://ctrlv.cz/shots/2018/07/11/AGf0.png

      Show
      Go to business-central of RHPAM 7.0.1 -> Projects -> click on that kebab menu in the upper right corner -> Import project and try to import the attached git repo , i.e. file:///path/to/DMN.git This fails at my end with following UI error: https://ctrlv.cz/shots/2018/07/11/AGf0.png
    • Workaround Description:
      Hide

      Workaround was to change pom.xml like this:

      diff --git a/pom.xml b/pom.xml
      index 9e0473a..b2c6885 100644
      --- a/pom.xml
      +++ b/pom.xml
      @@ -18,13 +18,13 @@
           <dependency>
             <groupId>org.kie</groupId>
             <artifactId>kie-internal</artifactId>
      -      <version>7.7.0.Final-redhat-7</version>
      +      <version>7.7.0.Final-redhat-8</version>
             <scope>provided</scope>
           </dependency>
           <dependency>
             <groupId>org.optaplanner</groupId>
             <artifactId>optaplanner-core</artifactId>
      -      <version>7.7.0.Final-redhat-7</version>
      +      <version>7.7.0.Final-redhat-8</version>
             <scope>provided</scope>
           </dependency>
           <dependency>
      @@ -36,13 +36,13 @@
           <dependency>
             <groupId>org.optaplanner</groupId>
             <artifactId>optaplanner-persistence-jaxb</artifactId>
      -      <version>7.7.0.Final-redhat-7</version>
      +      <version>7.7.0.Final-redhat-8</version>
             <scope>provided</scope>
           </dependency>
           <dependency>
             <groupId>org.kie</groupId>
             <artifactId>kie-api</artifactId>
      -      <version>7.7.0.Final-redhat-7</version>
      +      <version>7.7.0.Final-redhat-8</version>
             <scope>provided</scope>
           </dependency>
         </dependencies>
      @@ -51,7 +51,7 @@
             <plugin>
               <groupId>org.kie</groupId>
               <artifactId>kie-maven-plugin</artifactId>
      -        <version>7.7.0.Final-redhat-7</version>
      +        <version>7.7.0.Final-redhat-8</version>
               <extensions>true</extensions>
             </plugin>
           </plugins>
      

      Then push the changes and reimport:

      10419  git clone DMN.git
      10421  cd DMN
      10423  open pom.xml
      10424  git status
      10426  git add pom.xml
      10427  git commit -m "come on"
      10428 git push
      

      Show
      Workaround was to change pom.xml like this: diff --git a/pom.xml b/pom.xml index 9e0473a..b2c6885 100644 --- a/pom.xml +++ b/pom.xml @@ -18,13 +18,13 @@ <dependency> <groupId>org.kie</groupId> <artifactId>kie-internal</artifactId> - <version>7.7.0.Final-redhat-7</version> + <version>7.7.0.Final-redhat-8</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.optaplanner</groupId> <artifactId>optaplanner-core</artifactId> - <version>7.7.0.Final-redhat-7</version> + <version>7.7.0.Final-redhat-8</version> <scope>provided</scope> </dependency> <dependency> @@ -36,13 +36,13 @@ <dependency> <groupId>org.optaplanner</groupId> <artifactId>optaplanner-persistence-jaxb</artifactId> - <version>7.7.0.Final-redhat-7</version> + <version>7.7.0.Final-redhat-8</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-api</artifactId> - <version>7.7.0.Final-redhat-7</version> + <version>7.7.0.Final-redhat-8</version> <scope>provided</scope> </dependency> </dependencies> @@ -51,7 +51,7 @@ <plugin> <groupId>org.kie</groupId> <artifactId>kie-maven-plugin</artifactId> - <version>7.7.0.Final-redhat-7</version> + <version>7.7.0.Final-redhat-8</version> <extensions>true</extensions> </plugin> </plugins> Then push the changes and reimport: 10419 git clone DMN.git 10421 cd DMN 10423 open pom.xml 10424 git status 10426 git add pom.xml 10427 git commit -m "come on" 10428 git push
    • Affects:
      Release Notes

      Description

      It is not possible import git repo created in RHPAM 7.0.0 into RHAPM 7.0.1

      It is because RHPAM 7.0.1 requires maven dependencies of KJAR pom.xml end in version 7.7.0.Final-redhat-8

      But of course, KJAR dependencies from 7.0.0 project are in version 7.7.0.Final-redhat-7

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aparedes Adriel Paredes
                  Reporter:
                  anton.giertli Anton Giertli
                  Tester:
                  Tomas David
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: