Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11950

Resolve spring boot and webapp dependencies

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.14.0, 7.13.1, 7.14.0-alpha1
    • None
    • None
    • None

      After building 7.13.0 there are two failing jobs that need to be resolved:

      22:08:20 [INFO] ------------------------------------------------------------------------
      22:08:20 [INFO] Building camunda BPM - Spring Boot Starter - Webapps Core 7.14.0-SNAPSHOT
      22:08:20 [INFO] ------------------------------------------------------------------------
      ...
      [ERROR] Failed to execute goal on project camunda-bpm-spring-boot-starter-webapp-core: Could not resolve dependencies for project org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp-core:jar:7.14.0-SNAPSHOT: The following artifacts could not be resolved: org.camunda.bpm.webapp:camunda-webapp:jar:classes:7.14.0-SNAPSHOT, org.camunda.bpm.webapp:camunda-webapp-webjar:jar:7.14.0-SNAPSHOT: Could not find artifact org.camunda.bpm.webapp:camunda-webapp:jar:classes:7.14.0-SNAPSHOT in camunda-nexus (http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/) -> [Help 1]
      
      22:12:28 [7.13-webapp-DISTRO] $ /tmp/apache-maven-3.2.5/bin/mvn -f pom.xml -s /tmp/settings1588108881139656512.xml -Dmaven.repo.local=/home/work/workspace/7.13/7.13-webapp-DISTRO/.repository clean source:jar deploy com.mycila:license-maven-plugin:check -DaltStagingDirectory=/home/work/workspace/7.13/7.13-webapp-DISTRO/staging -DskipRemoteStaging=true -B
      22:12:30 [INFO] Scanning for projects...
      22:12:30 [INFO] Downloading: http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/org/camunda/bpm/camunda-database-settings/7.14.0-SNAPSHOT/maven-metadata.xml
      22:12:31 [INFO] Downloading: http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/org/camunda/bpm/camunda-database-settings/7.14.0-SNAPSHOT/camunda-database-settings-7.14.0-SNAPSHOT.pom
      22:12:36 [ERROR] The build could not read 1 project -> [Help 1]
      22:12:36 [ERROR]   
      22:12:36 [ERROR]   The project org.camunda.bpm.webapp:camunda-webapp:[unknown-version] (/home/work/workspace/7.13/7.13-webapp-DISTRO/pom.xml) has 1 error
      22:12:36 [ERROR]     Non-resolvable parent POM: Could not find artifact org.camunda.bpm:camunda-database-settings:pom:7.14.0-SNAPSHOT in camunda-nexus (http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/) and 'parent.relativePath' points at wrong local POM @ line 6, column 11 -> [Help 2]
      

      Issue:
      The webapp expects platform build with the new version, the platform fails due to missing new version of webapp.
      starter-webapp-core has dependency to the webapp project and the parent of webapp is database-settings so the jobs are going to fail on 7.13 and 7.14 until the cycle is resolved in some way. The issue occurs due to the merged spring boot repo to the platform.

        This is the controller panel for Smart Panels app

            [CAM-11950] Resolve spring boot and webapp dependencies

            Yana Vasileva created issue -
            Yana Vasileva made changes -
            Description Original: After building 7.13.0 there are two failing jobs that need to be resolved:
            * https://ci.cambpm.camunda.cloud/job/7.13/job/7.13-platform-ASSEMBLY/

            {noformat}
            22:08:20 [INFO] ------------------------------------------------------------------------
            22:08:20 [INFO] Building camunda BPM - Spring Boot Starter - Webapps Core 7.14.0-SNAPSHOT
            22:08:20 [INFO] ------------------------------------------------------------------------
            ...
            [ERROR] Failed to execute goal on project camunda-bpm-spring-boot-starter-webapp-core: Could not resolve dependencies for project org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp-core:jar:7.14.0-SNAPSHOT: The following artifacts could not be resolved: org.camunda.bpm.webapp:camunda-webapp:jar:classes:7.14.0-SNAPSHOT, org.camunda.bpm.webapp:camunda-webapp-webjar:jar:7.14.0-SNAPSHOT: Could not find artifact org.camunda.bpm.webapp:camunda-webapp:jar:classes:7.14.0-SNAPSHOT in camunda-nexus (http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/) -> [Help 1]
            {noformat}

            * https://ci.cambpm.camunda.cloud/job/7.13/job/7.13-webapp-DISTRO
            {noformat}
            22:12:28 [7.13-webapp-DISTRO] $ /tmp/apache-maven-3.2.5/bin/mvn -f pom.xml -s /tmp/settings1588108881139656512.xml -Dmaven.repo.local=/home/work/workspace/7.13/7.13-webapp-DISTRO/.repository clean source:jar deploy com.mycila:license-maven-plugin:check -DaltStagingDirectory=/home/work/workspace/7.13/7.13-webapp-DISTRO/staging -DskipRemoteStaging=true -B
            22:12:30 [INFO] Scanning for projects...
            22:12:30 [INFO] Downloading: http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/org/camunda/bpm/camunda-database-settings/7.14.0-SNAPSHOT/maven-metadata.xml
            22:12:31 [INFO] Downloading: http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/org/camunda/bpm/camunda-database-settings/7.14.0-SNAPSHOT/camunda-database-settings-7.14.0-SNAPSHOT.pom
            22:12:36 [ERROR] The build could not read 1 project -> [Help 1]
            22:12:36 [ERROR]
            22:12:36 [ERROR] The project org.camunda.bpm.webapp:camunda-webapp:[unknown-version] (/home/work/workspace/7.13/7.13-webapp-DISTRO/pom.xml) has 1 error
            22:12:36 [ERROR] Non-resolvable parent POM: Could not find artifact org.camunda.bpm:camunda-database-settings:pom:7.14.0-SNAPSHOT in camunda-nexus (http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/) and 'parent.relativePath' points at wrong local POM @ line 6, column 11 -> [Help 2]
            {noformat}

            {{starter-webapp-core}} has dependency to the webapp project and the parent of webapp is {{database-settings}} so the jobs are going to fail on 7.13 and 7.14 until the cycle is resolved in some way.
            The issue occurs due to the merged spring boot repo to the platform.
            New: After building 7.13.0 there are two failing jobs that need to be resolved:
            * https://ci.cambpm.camunda.cloud/job/7.13/job/7.13-platform-ASSEMBLY/

            {noformat}
            22:08:20 [INFO] ------------------------------------------------------------------------
            22:08:20 [INFO] Building camunda BPM - Spring Boot Starter - Webapps Core 7.14.0-SNAPSHOT
            22:08:20 [INFO] ------------------------------------------------------------------------
            ...
            [ERROR] Failed to execute goal on project camunda-bpm-spring-boot-starter-webapp-core: Could not resolve dependencies for project org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp-core:jar:7.14.0-SNAPSHOT: The following artifacts could not be resolved: org.camunda.bpm.webapp:camunda-webapp:jar:classes:7.14.0-SNAPSHOT, org.camunda.bpm.webapp:camunda-webapp-webjar:jar:7.14.0-SNAPSHOT: Could not find artifact org.camunda.bpm.webapp:camunda-webapp:jar:classes:7.14.0-SNAPSHOT in camunda-nexus (http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/) -> [Help 1]
            {noformat}

            * https://ci.cambpm.camunda.cloud/job/7.13/job/7.13-webapp-DISTRO

            {noformat}
            22:12:28 [7.13-webapp-DISTRO] $ /tmp/apache-maven-3.2.5/bin/mvn -f pom.xml -s /tmp/settings1588108881139656512.xml -Dmaven.repo.local=/home/work/workspace/7.13/7.13-webapp-DISTRO/.repository clean source:jar deploy com.mycila:license-maven-plugin:check -DaltStagingDirectory=/home/work/workspace/7.13/7.13-webapp-DISTRO/staging -DskipRemoteStaging=true -B
            22:12:30 [INFO] Scanning for projects...
            22:12:30 [INFO] Downloading: http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/org/camunda/bpm/camunda-database-settings/7.14.0-SNAPSHOT/maven-metadata.xml
            22:12:31 [INFO] Downloading: http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/org/camunda/bpm/camunda-database-settings/7.14.0-SNAPSHOT/camunda-database-settings-7.14.0-SNAPSHOT.pom
            22:12:36 [ERROR] The build could not read 1 project -> [Help 1]
            22:12:36 [ERROR]
            22:12:36 [ERROR] The project org.camunda.bpm.webapp:camunda-webapp:[unknown-version] (/home/work/workspace/7.13/7.13-webapp-DISTRO/pom.xml) has 1 error
            22:12:36 [ERROR] Non-resolvable parent POM: Could not find artifact org.camunda.bpm:camunda-database-settings:pom:7.14.0-SNAPSHOT in camunda-nexus (http://repository-ci-camunda-cloud.nexus:8081/content/groups/internal/) and 'parent.relativePath' points at wrong local POM @ line 6, column 11 -> [Help 2]
            {noformat}

            *Issue*:
            The webapp expects platform build with the new version, the platform fails due to missing new version of webapp.
            {{starter-webapp-core}} has dependency to the webapp project and the parent of webapp is {{database-settings}} so the jobs are going to fail on 7.13 and 7.14 until the cycle is resolved in some way. The issue occurs due to the merged spring boot repo to the platform.
            Yana Vasileva made changes -
            Mentioned Roles
            Yana Vasileva made changes -
            Mentioned Groups
            Yana Vasileva made changes -
            Assignee New: Thorben Lindhauer [ thorben.lindhauer ]
            Yana Vasileva made changes -
            Mentioned Roles
            Yana Vasileva made changes -
            Mentioned Groups
            Yana Vasileva made changes -
            Link New: This issue is depended on by INFRA-932 [ INFRA-932 ]
            Yana Vasileva made changes -
            Link Original: This issue is depended on by INFRA-932 [ INFRA-932 ]
            Yana Vasileva made changes -
            Link New: This issue is related to INFRA-932 [ INFRA-932 ]

              nikola.koevski Nikola Koevski
              yana.vasileva Yana Vasileva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: