You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/11/22 14:05:36 UTC

[GitHub] [maven] AlexanderAshitkin edited a comment on pull request #607: [MNG-7129] Import maven caching system

AlexanderAshitkin edited a comment on pull request #607:
URL: https://github.com/apache/maven/pull/607#issuecomment-975559444


   > Yes, I have the same problem. The `ClassCastException` happens when adding the following to the pom.xml:
   > 
   > ```
   >       <dependency>
   >           <groupId>org.apache.maven.scm</groupId>
   >           <artifactId>maven-scm-manager-plexus</artifactId>
   >           <version>1.12.0</version>
   >       </dependency>
   > ```
   
   Provided scope seems to be the right one for this xtension. The cache is supposed to be a wrapper over core maven logic. If execution will be provided by separate dependency from a seprate classloader - it seems not right and could lead to different executions from extension and without it. Though question of using dependencies is a good one on it's own, it seems that the right way of using maven core from the extension is the provided scope


-- 
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-unsubscribe@maven.apache.org

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