on-internet
← Community

Jenkins/Maven build dying with "Could not find the selected project in the reactor" error

Stack Overflow ·

I’m using Jenkins on the Cloudbees build service and nave a multi-module Maven project. Recently, we removed a project from our parent pom, however, when we run the build in Jenkins with the following options … clean install -e -P qa -P cloudbees -DskipITs The artifacts are automatically stored into a Cloudbees snapshot repository attached to our account. However, the build ultimately fails with the below “Could not find the selected project in the reactor: org.mainco.subco:oldmodule” error. Is there a way to force the build to [subco] $ mvn initialize -N [INFO] Scanning for projects... [INFO]

Comments

Sign in or sign up to comment and upvote.

No comments yet.