cstamas commented on code in PR #1009:
URL: https://github.com/apache/maven/pull/1009#discussion_r1115514268


##########
maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java:
##########
@@ -40,7 +40,7 @@
  * <tr><td><code>session</code></td>           <td></td>               <td>the 
actual {@link MavenSession}</td></tr>
  * <tr><td><code>session.*</code></td>         <td>(since Maven 
3)</td><td></td></tr>
  * <tr><td><code>localRepository</code></td>   <td></td>
- *                                             <td>{@link 
MavenSession#getLocalRepository()}</td></tr>
+ *                                             <td>{@link 
MavenSession#getLocalRepository()} DEPRECATED: Avoid use of {@link 
org.apache.maven.artifact.repository.ArtifactRepository} type. If you need 
access to local repository, switch to '${repositorySystemSession}' expression 
and get LRM from it instead.</td></tr>

Review Comment:
   Updated javadoc, added link to the issue. Issue updated with "how to fix" 
https://issues.apache.org/jira/browse/MNG-7706



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to