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

properties on custom settings are not available on kie server deploys

XMLWordPrintable

    • False
    • False
    • Release Notes
    • CR1
    • Hide

      Define this properties on system properties (-D or standalone*.xml system-properties)
       

      <property name="version.org.kie" value="7.48.0.Final-redhat-00006"/> <property name="version.org.optaplanner" value="${version.org.kie}"/> <property name="version.junit" value="4.13.1"/> <property name="version.com.thoughtworks.xstream" value="1.4.14.redhat-00001"/>

       

      Show
      Define this properties on system properties (-D or standalone*.xml system-properties)   <property name= "version.org.kie" value= "7.48.0.Final-redhat-00006" /> <property name= "version.org.optaplanner" value= "${version.org.kie}" /> <property name= "version.junit" value= "4.13.1" /> <property name= "version.com.thoughtworks.xstream" value= "1.4.14.redhat-00001" />  
    • 2022 Week 14-16 (from Apr 4), 2022 Week 17-19 (from Apr 25), 2022 Week 20-22 (from May 16), 2022 Week 23-25 (from Jun 6), 2022 Week 26-28 (from Jun 27), 2022 Week 29-31 (from Jul 18)

      if properties are defined in maven settings (custom kie.maven.settings.custom or default user ~/.m2/settings.xml):
       
       

      <version.org.kie>7.48.0.Final-redhat-00006</version.org.kie>
      <version.org.optaplanner>${version.org.kie}</version.org.optaplanner>
      <version.junit>4.13.1</version.junit>
      <version.com.thoughtworks.xstream>1.4.14.redhat-00001</version.com.thoughtworks.xstream>  

       
      for version of dependencies
       

      <dependency>
        <groupId>org.kie</groupId>
        <artifactId>kie-api</artifactId>
        <version>${version.org.kie}</version>
        <scope>compile</scope>
      </dependency>

       
      that works at build time, but on deployment resolve dependencies is failing with:

      08:05:05,254 ERROR [org.kie.server.services.impl.KieServerImpl] (default task-1) Error updating releaseId for container 'helloworld_1.0.0-SNAPSHOT': java.lang.RuntimeException: org.eclipse.aether.collection.DependencyCollectionException: Failed to collect dependencies at com.myspace:helloworld:jar:1.0.0-SNAPSHOT -> org.kie:kie-api:jar:${version.org.kie}  

       

              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              afanjula@redhat.com Alberto Fanjul Alonso
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: