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

Missing mvel2 version in maven repo breaks project build and project creation in business-central

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 7.5.0.GA
    • Fix Version/s: 7.6.0.GA
    • Component/s: Build and Assembly
    • Labels:
    • Environment:
      • RHPAM 7.5.0.GA
      • offline setup or proxied maven setup
    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      To reproduce the issue with a simple maven project:

      1. Follow the steps from the documentation on how to set up an offline repo
      2. Unzip the attached simple-drools-test.zip
      3. Edit simple-drools-test/settings.xml and set <url> to match the path of the offline repo
      4. Disconnect from the internet
      5. $ cd simple-drools-test
      6. $ mvn clean package -s settings.xml
      [ERROR] Failed to execute goal on project simple-drools-test: 
      Could not resolve dependencies for project com.redhat.gss:simple-drools-test:jar:1.0-SNAPSHOT: 
      Failed to collect dependencies at org.drools:drools-core:jar:7.26.0.Final-redhat-00005 -> 
      org.kie.soup:kie-soup-project-datamodel-commons:jar:7.26.0.Final-redhat-00005 -> 
      org.mvel:mvel2:jar:2.3.2.Final-redhat-1: 
      Failed to read artifact descriptor for org.mvel:mvel2:jar:2.3.2.Final-redhat-1: 
      Could not transfer artifact org.mvel:mvel2:pom:2.3.2.Final-redhat-1 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: 
      Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]
      

      To reproduce the issue using business-central:

      1. Follow the steps from the documentation on how to set up an offline repo
      2. Edit standalone-full.xml and add <property name="kie.maven.settings.custom" value="/path/to/settings.xml"/> (same content as in attached project)
      3. Start the server
      4. Create a new project
      ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (default task-1) Exception thrown: org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model
      [FATAL] Non-readable POM : input contained no data @ 
      
      Show
      To reproduce the issue with a simple maven project : Follow the steps from the documentation on how to set up an offline repo Unzip the attached simple-drools-test.zip Edit simple-drools-test/settings.xml and set <url> to match the path of the offline repo Disconnect from the internet $ cd simple-drools-test $ mvn clean package -s settings.xml [ERROR] Failed to execute goal on project simple-drools-test: Could not resolve dependencies for project com.redhat.gss:simple-drools-test:jar:1.0-SNAPSHOT: Failed to collect dependencies at org.drools:drools-core:jar:7.26.0.Final-redhat-00005 -> org.kie.soup:kie-soup-project-datamodel-commons:jar:7.26.0.Final-redhat-00005 -> org.mvel:mvel2:jar:2.3.2.Final-redhat-1: Failed to read artifact descriptor for org.mvel:mvel2:jar:2.3.2.Final-redhat-1: Could not transfer artifact org.mvel:mvel2:pom:2.3.2.Final-redhat-1 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1] To reproduce the issue using business-central : Follow the steps from the documentation on how to set up an offline repo Edit standalone-full.xml and add <property name="kie.maven.settings.custom" value="/path/to/settings.xml"/> (same content as in attached project) Start the server Create a new project ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (default task-1) Exception thrown: org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model [FATAL] Non-readable POM : input contained no data @
    • Sprint:
      2019 Week 47-49 (from Nov 18), 2019 Week 50-52 (from Dec 9), 2020 Week 01-03 (from Dec 30)

      Description

      The maven repo (both online and offline) is missing org.mvel:mvel2:jar:2.3.2.Final-redhat-1.

      In an environment that either uses a proxy to access the online maven repo, or is configured for offline usage, this breaks the following:

      1. mvn clean package of a project containing a drools dependency
      2. Creation of a new project in business-central

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                anstephe Ant Stephenson
                Reporter:
                mputz Martin Weiler
                Tester:
                Martin Cimbalek
              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: