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

Favor repositorySystemSession #138

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

labianchin
Copy link

I have observed the following warning:

[INFO] --- protoc-jar:3.11.4:run (default) @ project-foo ---
[WARNING] Parameter ‘localRepository’ is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to ‘${repositorySystemSession}’ expression and get LRM from it instead.

When using maven version:

❯ mvn --version
Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8)
Java version: 17.0.7, vendor: Amazon.com Inc., runtime: /Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk/Contents/Home
OS name: "mac os x", version: "13.3.1", arch: "x86_64", family: "mac"

--

I wonder if this change would address the above warning. I am not sure yet, still I leave a draft PR here open for comments and thoughts..

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

Successfully merging this pull request may close these issues.

1 participant