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

    • Release Notes
    • CR1
    • Hide

      Workaround was to change pom.xml like this:

      Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      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: Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml 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
    • 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

      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

              aparedes@redhat.com Adriel Paredes
              rhn-support-agiertli Anton Giertli
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: