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

Use per-package local Maven repositories for dependency declaration correctness on kie-tools #1506

Closed
tiagobento opened this issue Oct 2, 2024 · 2 comments · Fixed by apache/incubator-kie-tools#2635
Assignees

Comments

@tiagobento
Copy link

tiagobento commented Oct 2, 2024

To make sure packages can only consume what they declare as a dependency, leveraging maven.repo.local.tail is essential.

When building (I.e., mvn clean verify), Maven-based packages on kie-tools won't install their resulting JARs to maven.repo.local anymore, but instead to dist/1st-party-m2. This way, the "shared" (a.k.a head) local repository won't contain the artifacts produced by Maven-based packages, making it impossible to access modules that have not been declared as a dependency.

@tiagobento
Copy link
Author

I submitted

but it is currently blocked by

not being included in a Quarkus release yet.

Hopefully we'll get this on a upcoming 3.15 patch release, so we can upgrade kie-tools to Quarkus 3.15.x and unblock this work.

@tiagobento
Copy link
Author

tiagobento commented Feb 13, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant