[jira] [Commented] (KARAF-7685) karaf-maven-plugin uses deprecated "localRepository" expression
[ https://issues.apache.org/jira/browse/KARAF-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712185#comment-17712185 ] Jean-Baptiste Onofré commented on KARAF-7685: - Yes, I saw that too. I will fix that. > karaf-maven-plugin uses deprecated "localRepository" expression > --- > > Key: KARAF-7685 > URL: https://issues.apache.org/jira/browse/KARAF-7685 > Project: Karaf > Issue Type: Bug > Components: karaf >Affects Versions: 4.4.3 > Environment: Karaf 4.4.3 > Maven 3.9.1 > Temurin-17.0.6+10 > Ubuntu 22.04.2 >Reporter: Wouter Born >Assignee: Jean-Baptiste Onofré >Priority: Minor > > When using Maven 3.9.1 the following warnings are logged when using the > karaf-maven-plugin: > {{[WARNING] Parameter 'localRepo' 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.}} > The deprecated expression is used in > [MojoSupport|https://github.com/apache/karaf/blob/a4d055ab4a3bfc9f2f05145c6b0a436ba0b28efd/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/MojoSupport.java#L80-L81] > which is used as parent of the Mojos. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (KARAF-7685) karaf-maven-plugin uses deprecated "localRepository" expression
[ https://issues.apache.org/jira/browse/KARAF-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17711042#comment-17711042 ] Robert Varga commented on KARAF-7685: - This relates to MNG-7706, i.e. indicates the plugin needs to be updated to use new Maven Resolver APIs. > karaf-maven-plugin uses deprecated "localRepository" expression > --- > > Key: KARAF-7685 > URL: https://issues.apache.org/jira/browse/KARAF-7685 > Project: Karaf > Issue Type: Bug > Components: karaf >Affects Versions: 4.4.3 > Environment: Karaf 4.4.3 > Maven 3.9.1 > Temurin-17.0.6+10 > Ubuntu 22.04.2 >Reporter: Wouter Born >Priority: Minor > > When using Maven 3.9.1 the following warnings are logged when using the > karaf-maven-plugin: > {{[WARNING] Parameter 'localRepo' 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.}} > The deprecated expression is used in > [MojoSupport|https://github.com/apache/karaf/blob/a4d055ab4a3bfc9f2f05145c6b0a436ba0b28efd/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/MojoSupport.java#L80-L81] > which is used as parent of the Mojos. -- This message was sent by Atlassian Jira (v8.20.10#820010)