fix(qa): ensure webapp artifacts are built before integration-tests-webapps#2653
Merged
Conversation
…egration-tests-webapps Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com> Agent-Logs-Url: https://github.com/operaton/operaton/sessions/941cb193-d469-4af2-b2b1-e3361b77b2c4
Copilot
AI
changed the title
[WIP] Fix CI integration failure due to missing web app
fix(qa): ensure webapp artifacts are built before integration-tests-webapps
Mar 25, 2026
|
kthoms
approved these changes
Mar 25, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Ensures Maven reactor ordering so the QA webapps integration-test module builds only after the relevant webapp WAR artifacts are produced, preventing maven-dependency-plugin:copy from failing due to missing/uninstalled WARs during the build phase.
Changes:
- Add a
provided-scoped WAR dependency onoperaton-webapp-tomcatin thetomcatprofile to force upstream build order. - Add a
provided-scoped WAR dependency onoperaton-webapp-jbossin thewildflyprofile to force upstream build order.
kthoms
added a commit
that referenced
this pull request
Mar 25, 2026
…s-webapps (#2653) --------- Agent-Logs-Url: https://github.com/operaton/operaton/sessions/941cb193-d469-4af2-b2b1-e3361b77b2c4 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com> (cherry picked from commit 390f2ee)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Maven had no dependency edge from
qa/integration-tests-webappsto the webapp WAR modules, so the reactor could scheduleOperaton - QA Integration Tests - Webapps ITsbeforeOperaton - Webapp - JBoss/Operaton - Webapp - Tomcat, causingmaven-dependency-plugin:copyto fail with an unresolvable artifact error.Changes
qa/integration-tests-webapps/pom.xml— addedprovided-scopedwardependencies in each server profile to force correct reactor ordering:wildflyprofile:org.operaton.bpm.webapp:operaton-webapp-jboss:wartomcatprofile:org.operaton.bpm.webapp:operaton-webapp-tomcat:warSame pattern already used for the runtime modules (
operaton-qa-wildfly-runtime,operaton-qa-tomcat-runtime).With
-Pwildfly,webapps-integration,Operaton - Webapp - JBossnow precedesOperaton - QA Integration Tests - Webapps ITsin the reactor build order.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
repository.jboss.org/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -classpath /home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/boot/plexus-classworlds-2.8.0.jar -Dclassworlds.conf=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/bin/m2.conf -Dmaven.home=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1 -Dlibrary.jansi.path=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/operaton/operaton org.codehaus.plexus.classworlds.launcher.Launcher -DskipTests -Pdistro,distro-webjar,h2-in-memory,tomcat,distro-tomcat validate(dns block)/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -classpath /home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/boot/plexus-classworlds-2.8.0.jar -Dclassworlds.conf=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/bin/m2.conf -Dmaven.home=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1 -Dlibrary.jansi.path=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/operaton/operaton org.codehaus.plexus.classworlds.launcher.Launcher -DskipTests -Pwildfly validate(dns block)/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -classpath /home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/boot/plexus-classworlds-2.8.0.jar -Dclassworlds.conf=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/bin/m2.conf -Dmaven.home=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1 -Dlibrary.jansi.path=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/operaton/operaton org.codehaus.plexus.classworlds.launcher.Launcher -DskipTests -Pwildfly,webapps-integration validate(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This section details on the original issue you should resolve
<issue_title>Integration on CI failing due to missing web app</issue_title>
<issue_description>## What needs to be done?
The integration tests are failing since some days.
To reproduce run
The build has to make sure that the webapp modules that are copied by
maven-dependencies-pluginare built before theqa/integration-tests-webappsmodule. This must be ensured by that module.Additional context
Logs
Build order:
Operaton - Webapp - JBossis built afterOperaton - QA Integration Tests - Webapps ITs