You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/01/19 11:50:04 UTC

[GitHub] eolivelli commented on issue #1003: Bookkeeper-server shaded artifact test fail on branch-4.6

eolivelli commented on issue #1003: Bookkeeper-server shaded artifact test fail on branch-4.6
URL: https://github.com/apache/bookkeeper/issues/1003#issuecomment-358533859
 
 
   odd fact:
   if I run the tests inside this directory, all runs fine
   bookkeeper/tests/backward
   
   so this fails
   ```
   cd bookkeeper/tests
   mvn test
   ```
   
   this does not fail
   ```
   cd bookkeeper/tests/backward
   mvn test
   ```
   
   this does not fail
   ```
   cd bookkeeper/tests
   mvn test -pl backward-test
   ```
   
   
   I think it is due to the use of Maven Reactor
   
   when running tests inside "tests" all modules will load dependencies from "target/classes" directory, which is empty for bookkeeper-server-compat-4.0.0 (and other directories)
   
   when running a single project dependencies are taken from local maven repository (.mn2 directory)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services