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 2020/07/01 11:57:58 UTC

[GitHub] [maven-shared-io] elharo commented on pull request #5: limit maven-compat to test scope

elharo commented on pull request #5:
URL: https://github.com/apache/maven-shared-io/pull/5#issuecomment-652375598


   Some of the tests use it. I'm trying to figure out how to eliminate it from tests here and elsewhere, but at least this will keep this artifact from slipping compat into the transitive dependency tree of everything that depends on shared-io. 
   
   ```
   [ERROR] testShouldNotResolveWhenArtifactResolutionExceptionThrown(org.apache.maven.shared.io.location.ArtifactLocatorStrategyTest)  Time elapsed: 0.001 s  <<< ERROR!
   java.lang.NoClassDefFoundError: org/apache/maven/artifact/factory/ArtifactFactory
   	at org.apache.maven.shared.io.location.ArtifactLocatorStrategyTest.setUp(ArtifactLocatorStrategyTest.java:52)
   
   [ERROR] testShouldFailToResolveSpecWithTwoTokens(org.apache.maven.shared.io.location.ArtifactLocatorStrategyTest)  Time elapsed: 0 s  <<< ERROR!
   java.lang.NoClassDefFoundError: org/apache/maven/artifact/factory/ArtifactFactory
   	at org.apache.maven.shared.io.location.ArtifactLocatorStrategyTest.setUp(ArtifactLocatorStrategyTest.java:52)
   ```


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

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