You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use Maven with the quarkus-maven-plugin to build Quarkus applications on our CI system.
To improve caching, we attempted to use the enhanced local repository management (LRM) feature by separating the local repository for snapshots and releases (see Maven Local Repository Documentation).
Following the configuration guide here, we specified the following properties in the settings.xml:
The quarkus-maven-plugin or quarkus-maven-resolver should support all Maven artifact resolver options as outlined in this documentation.
Actual behavior
For most of the build process, this configuration works as expected, with artifacts resolving to either ~/.m2/repository/cached/releases or ~/.m2/repository/cached/snapshots.
However, during the quarkus:3.8.6:generate-code-tests phase, the build starts resolving all dependencies again under ~/.m2/repository/. We also attempted unsuccessfully to set these options in a .mvn/.jvm.config file in the project root.
Could you confirm if the quarkus-maven-plugin or quarkus-maven-resolver fully supports all Maven artifact resolver options?
How to Reproduce?
To reproduce this issue:
Configure Maven's settings.xml as shown above to split the local repository for snapshots and releases.
Add a sample Quarkus project with the quarkus-maven-plugin in the pom.xml, using version 3.8.6 or 3.15.1.
delete ~/.m2/repository/
Run the build command:
mvn clean install
Observe that during the generate-code-tests phase, dependencies are unexpectedly resolved under ~/.m2/repository/ instead of the configured split directories.
Output of uname -a or ver
No response
Output of java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version or gradlew --version)
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
We use Maven with the quarkus-maven-plugin to build Quarkus applications on our CI system.
To improve caching, we attempted to use the enhanced local repository management (LRM) feature by separating the local repository for snapshots and releases (see Maven Local Repository Documentation).
Following the configuration guide here, we specified the following properties in the settings.xml:
Expected behavior
The quarkus-maven-plugin or quarkus-maven-resolver should support all Maven artifact resolver options as outlined in this documentation.
Actual behavior
For most of the build process, this configuration works as expected, with artifacts resolving to either ~/.m2/repository/cached/releases or ~/.m2/repository/cached/snapshots.
However, during the quarkus:3.8.6:generate-code-tests phase, the build starts resolving all dependencies again under ~/.m2/repository/. We also attempted unsuccessfully to set these options in a .mvn/.jvm.config file in the project root.
Could you confirm if the quarkus-maven-plugin or quarkus-maven-resolver fully supports all Maven artifact resolver options?
How to Reproduce?
To reproduce this issue:
mvn clean install
Observe that during the generate-code-tests phase, dependencies are unexpectedly resolved under ~/.m2/repository/ instead of the configured split directories.
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: