Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7979

Test doesn't specify its own settings.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.27.0.Final, 1.28.0.Final, 1.29.0.Final
    • DMN Engine
    • False
    • None
    • False
    • Hide
      1. Download Drools 8.27.0.Beta-redhat-00002 project sources from nexus
      2. Configure a settings.xml targeting internal repo
      3. mvn command to run the test [1] with -s as parameter to the settings file

      [1] org.kie.dmn.core.classloader.DMNRuntimeListenerTest.testBasicListenerFromKModule

      Show
      Download Drools 8.27.0.Beta-redhat-00002 project sources from nexus Configure a settings.xml targeting internal repo mvn command to run the test [1] with -s as parameter to the settings file [1] org.kie.dmn.core.classloader.DMNRuntimeListenerTest.testBasicListenerFromKModule
    • ---
    • ---
    • 2022 Week 38-40 (from Sept 19), 2022 Week 41-43 (from Oct 10), 2022 Week 44-46 (from Oct 31), 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12), 2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6), 2023 Week 09-11 (from Feb 27), 2023 Week 12-14 (from Mar 20), 2023 Week 15-17 (from Apr 10), 2023 Week 18-20 (from May 1), 2023 Week 21-23 (from May 22), 2023 Week 27-29 (from Jul 3), 2023 Week 30-32 (from Jul 24), 2023 Week 33-35 (from Aug 14), 2023 Week 36-38 (from Sep 4), 2023 Week 24-26 (from Jun 12)

      A specific test [1] is failing QE jobs because it cannot find the productized artifacts in Maven Central. It works in the community when the artifacts are published to Maven Central.

      
      [[Message [id=1, level=ERROR, path=pom.xml, line=0, column=0
      
      text=Unresolved dependency org.kie:kie-internal:8.27.0.Beta-redhat-00002], Message [id=2, level=ERROR, path=pom.xml, line=0, column=0
      
      text=Unresolved dependency org.kie:kie-dmn-api:8.27.0.Beta-redhat-00002], Message [id=3, level=ERROR, path=pom.xml, line=0, column=0
      
      text=Unresolved dependency org.kie:kie-dmn-model:8.27.0.Beta-redhat-00002], Message [id=4, level=ERROR, path=pom.xml, line=0, column=0
      
      text=Unresolved dependency org.kie:kie-api:8.27.0.Beta-redhat-00002]]]
      
      

      The test should use a settings.xml when downloading the artifacts (e.g. [2]).

      Stacktrace can be found at [3].

      [1]https://github.com/hellowdan/drools/blob/bd63114f1038ba2e4196e4590f3775d163032c49/kie-dmn/kie-dmn-core/src/test/java/org/kie/dmn/core/classloader/DMNRuntimeListenerTest.java#L104

      [2] https://github.com/hellowdan/drools/blob/7f0c67279b7034a5360a3b8ebb9a70b0d201f677/kie-ci/src/test/java/org/kie/scanner/embedder/MavenDeployTest.java#L139

      [3] https://gist.github.com/hellowdan/052c38560619630eae262c567f771923 

              drosabrno Daniel Rosa
              drosabrno Daniel Rosa
              Paolo Bizzarri Paolo Bizzarri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: