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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to