Wouter Born created KARAF-7685:
----------------------------------

             Summary: 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


When using Maven 3.9.1 the following warnings are logged when using the 
karaf-maven-plugin:

{{[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.}}

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)

Reply via email to