[ https://issues.apache.org/jira/browse/ARCHETYPE-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877754#comment-17877754 ]
Slawomir Jaranowski commented on ARCHETYPE-646: ----------------------------------------------- Will be resolved by ARCHETYPE-673 > "WARNING: Parameter 'localRepository' is deprecated" with Maven 3.9.1 > --------------------------------------------------------------------- > > Key: ARCHETYPE-646 > URL: https://issues.apache.org/jira/browse/ARCHETYPE-646 > Project: Maven Archetype > Issue Type: Bug > Components: Plugin > Affects Versions: 3.2.1 > Reporter: Wolfgang Knauf > Priority: Major > Fix For: 3.3.0 > > Attachments: archetype_build.png > > > When building > [this|https://github.com/wildfly/wildfly-archetypes/tree/master/wildfly-jakartaee-ear-archetype] > archetype with Maven 3.9.1, this warning is shown: > > {{[INFO] — archetype:3.1.2:integration-test (default-integration-test) @ > wildfly-jakartaee-ear-archetype ---}} > {{[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.}} > !archetype_build.png! > Happens also with "maven-archetype-plugin" version 3.2.1. > I didn't find a place where I use "localRepository" in the archetype project, > so it could be something inside the plugin? > > This is the change that caused the warning: > https://issues.apache.org/jira/browse/MNG-7706 > And here is a similar ticket for another plugin: > [https://github.com/mojohaus/flatten-maven-plugin/issues/345|https://github.com/mojohaus/flatten-maven-plugin/issues/345] -- This message was sent by Atlassian Jira (v8.20.10#820010)