Skip to content

operaton-qa-integration-tests-webapps-shared-engine: failed to execute goal install #226

@hauptmedia

Description

@hauptmedia

Describe the bug

During the build process in a Docker Container, the following error occurs:

685.5 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.3:install (default-install) on project operaton-qa-integration-tests-webapps-shared-engine: The packaging plugin for project operaton-qa-integration-tests-webapps-shared-engine did not assign a file to the build artifact -> [Help 1]

685.5 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.3:install (default-install) on project operaton-qa-integration-tests-webapps-shared-engine: The packaging plugin for project operaton-qa-integration-tests-webapps-shared-engine did not assign a file to the build artifact

(...)

685.5 Caused by: org.apache.maven.plugin.MojoExecutionException: The packaging plugin for project operaton-qa-integration-tests-webapps-shared-engine did not assign a file to the build artifact

(...)

On my MacBook this is actually working, the error only occurs when trying to build a container with a fresh checkout.

To Reproduce
I created a docker container that checkouts the main branch and does a fresh mvn clean install like so:

FROM maven:3-eclipse-temurin-17 AS builder
WORKDIR /home/maven

RUN apt-get update && apt-get install -y git

# install operaton
RUN git clone https://github.com/operaton/operaton.git /home/maven/operaton && \
    cd /home/maven/operaton && \
    git checkout dbbfe94 && \
    ./mvnw clean install -DskipTests=true

Then triggering the build with: docker build -t test .

Expected behavior
It should build and install the Operaton packages into the local maven repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildChanges related to the build system, including Maven configurations, GitHub Actions workflowsreleasedIssue has been released

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions