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:03:53 UTC

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

AlexanderAshitkin commented 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 the xtension. it is supposed to be a wrapper over core maven logic and if execution will be provided by separately dependency from a seprate classloader - it seems not right. Though question of using dependencies is a good onw on it's own, it seems thta th right way of using maven core from extension in this case 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