Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build the codebase with mvnd 1.0.0 #41323

Open
rsvoboda opened this issue Jun 20, 2024 · 3 comments · May be fixed by #41648
Open

Unable to build the codebase with mvnd 1.0.0 #41323

rsvoboda opened this issue Jun 20, 2024 · 3 comments · May be fixed by #41648
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins kind/bug Something isn't working

Comments

@rsvoboda
Copy link
Member

rsvoboda commented Jun 20, 2024

Describe the bug

I'm unable to build this codebase with mvnd 1.0.0. I tried the latest main ed77ee2

Motivation: https://quarkus.io/blog/quarkus-3-11-3-released/ says there is compatibility with mvnd 1.0.0

Quarkus codebase builds well when using mvnd 1.0-m8-m39

mvnd 1.0.0 build fails with this error:

mvnd clean install -Dquickly -Prelocations  -Dno-test-modules
...
[ERROR] Failed to execute goal de.thetaphi:forbiddenapis:3.4:check (verify-forbidden-apis) on project 
  resteasy-reactive-common-processor: IO problem while reading files with API signatures.:
  /Users/rsvoboda/git/quarkus/independent-projects/resteasy-reactive/common/processor
  /${maven.multiModuleProjectDirectory}/.forbiddenapis/banned-signatures-common.txt
   (No such file or directory) -> [Help 1]

Expected behavior

Compilation of Quarkus main works without any error

Actual behavior

Compilation of Quarkus main works fails with [ERROR] Failed to execute goal de.thetaphi:forbiddenapis:3.4:check ... error

How to Reproduce?

sdk use mvnd 1.0.0
sdk use maven 3.9.8
mvnd clean install -Dquickly -Prelocations  -Dno-test-modules
mvnd -version
Apache Maven Daemon (mvnd) 1.0.0 darwin-aarch64 native client (0cb7cbcbed6fad010b14dcd05acdc0a59685d88d)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jni.osx.OsXNativePty
Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
Maven home: /Users/rsvoboda/.sdkman/candidates/mvnd/1.0.0/mvn
Java version: 21.0.2, vendor: Eclipse Adoptium, runtime: /Users/rsvoboda/.sdkman/candidates/java/21.0.2-tem
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "14.5", arch: "aarch64", family: "mac"

Output of uname -a or ver

macOS 14.5 Sonoma

Output of java -version

Java version: 21.0.2, vendor: Eclipse Adoptium, runtime: /Users/rsvoboda/.sdkman/candidates/java/21.0.2-tem

Quarkus version or git rev

ed77ee2

Build tool (ie. output of mvnw --version or gradlew --version)

mvnd 1.0.0

Additional information

No response

@rsvoboda rsvoboda added the kind/bug Something isn't working label Jun 20, 2024
@geoand geoand added area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins and removed triage/needs-triage labels Jun 21, 2024
@geoand
Copy link
Contributor

geoand commented Jun 21, 2024

@rsvoboda
Copy link
Member Author

Maybe @ppalaga could have a look too?

@ppalaga
Copy link
Contributor

ppalaga commented Jul 1, 2024

maven.multiModuleProjectDirectory does not exist anymore with mvnd 1.0.0. I have not seen any good solution yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins kind/bug Something isn't working
3 participants