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

S2I build failure when assembly plugin is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.5.0.GA
    • 7.4.0.GA
    • Cloud
    • RHPAM 7.4.0
      template rhpam74-prod-immutable-kieserver.yaml

    • 2019 Week 32-34, 2019 Week 35-37, 2019 Week 41-43 (from Okt 7)

    Description

      If pom file in git project contains maven-assembly-plugin and some dependencies then S2I build fails.
      The failure is caused by scripts [1] [2] expecting "${JAR}/META-INF/maven" folder to contain only one pom.xml file. In case the folder contains several pom.xml files (which are brought by maven-assembly-plugin) then scripts don't detect artifact as jar file and don't install it to local Maven registry.

      [1] https://github.com/jboss-container-images/jboss-kie-modules/blob/master/jboss-kie-kieserver/added/launch/kieserver-install.sh#L61
      [2] https://github.com/jboss-container-images/jboss-kie-modules/blob/master/os.kieserver.launch/added/kieserver-install.sh#L33

      Attachments

        Activity

          People

            dward-se-jboss David Ward
            ksuta Karel Suta
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: