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
Describe the bug
During the build process in a Docker Container, the following error occurs:
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:
Then triggering the build with: docker build -t test .
Expected behavior
It should build and install the Operaton packages into the local maven repository