Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10062

properties on custom settings are not available on kie server deploys

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.70.0.Final
    • None
    • KieServer
    • None
    • False
    • False
    • NEW
    • NEW
    • 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" />  

      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)
              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: