jira-importer commented on issue #1165:
URL: https://github.com/apache/maven-scm/issues/1165#issuecomment-2964649580

   **[Niels 
Basjes](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=nielsbasjes)**
 commented
   
   My current assessment is that I cannot fix this simply 'in' this project 
without effectively copying the entire 
https://github.com/apache/maven-plugin-testing in here too.
   
   The main problems I have bumped into
   * Because the tests all must extend AbstractMojoTestCase I cannot simply 
extend them from both classes.
   * Some methods need to be overridden in AbstractMojoTestCase but they are 
final
   * Some methods (like setupContainer()) can be overridden but the output is 
NOT a value. The output is directly written to a local property.
   
   So right now I see 3 viable routes (I assume there are more):
   * Change https://github.com/apache/maven-plugin-testing to support Junit 4 
(5?)
   * Copy much of https://github.com/apache/maven-plugin-testing into maven-scm 
and go from there
   * Use reflection to forcefully overwrite/override what needs to be changed.
   
   Please advise on hoe to proceed [Michael 
Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o) 
   
    
   


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