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

Runner JAR is not correctly generated using Maven 3.8.5 #25209

Closed
jpechane opened this issue Apr 28, 2022 · 5 comments
Closed

Runner JAR is not correctly generated using Maven 3.8.5 #25209

jpechane opened this issue Apr 28, 2022 · 5 comments
Labels
area/maven kind/bug Something isn't working triage/out-of-date This issue/PR is no longer valid or relevant

Comments

@jpechane
Copy link

Describe the bug

If I execute mvn clean install -DskipTests=true -DskipITs=true -Passembly on https://github.com/debezium/debezium there is a debezium-server/debezium-server-dist/target/debezium-server-dist-2.0.0-SNAPSHOT-runner.jar created.

This runner lacks io.debezium classes.

With Maven 3.8.4 the classes are there.

Expected behavior

The classes in question should be present.

Actual behavior

The classes in question are not present.

How to Reproduce?

See description

Output of uname -a or ver

Linux jpechane 5.14.0-1034-oem #37-Ubuntu SMP Tue Apr 19 14:13:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Output of java -version

openjdk version "17.0.3" 2022-04-19

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.8.2.Final

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

Maven 3.8.5

Additional information

No response

@jpechane jpechane added the kind/bug Something isn't working label Apr 28, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Apr 28, 2022

/cc @quarkusio/devtools

@geoand
Copy link
Contributor

geoand commented Apr 28, 2022

@famod is this a known Maven bug perhaps?

@famod
Copy link
Member

famod commented Jun 24, 2022

@jpechane can you try Maven 3.8.6 please?

That assembly profile contains many dependencies and there is a known issue in Maven 3.8.5 that affects Quarkus and was fixed in 3.8.6: https://issues.apache.org/jira/browse/MNG-7432

@jpechane
Copy link
Author

@famod Hi, yes I can confirm the issue is no longer present in 3.8.6.

@geoand geoand added triage/out-of-date This issue/PR is no longer valid or relevant triage/upstream labels Jun 27, 2022
@geoand
Copy link
Contributor

geoand commented Jun 27, 2022

Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/maven kind/bug Something isn't working triage/out-of-date This issue/PR is no longer valid or relevant
Projects
None yet
Development

No branches or pull requests

3 participants