[ 
https://issues.apache.org/jira/browse/OAK-10288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17735230#comment-17735230
 ] 

Julian Reschke commented on OAK-10288:
--------------------------------------

So the difference is that "mvn test" in the subproject pulls the shaded-guava 
jar from the local M2 repo, while when run from the reactor pom, it adds 
"oak-shaded-guava/target/classes" to the class path. And that folder does not 
contain any class files. (Why?)

> mvn test for oak-commons fails in top level directory, but not in project 
> directory
> -----------------------------------------------------------------------------------
>
>                 Key: OAK-10288
>                 URL: https://issues.apache.org/jira/browse/OAK-10288
>             Project: Jackrabbit Oak
>          Issue Type: Test
>          Components: commons
>            Reporter: Manfred Baedke
>            Priority: Minor
>
> While
> {code:java}
> mvn clean install{code}
> is running fine,
> {code:java}
> mvn test{code}
> is failing due to
> {code:java}
> java.lang.ClassNotFoundException: 
> org.apache.jackrabbit.guava.common.collect.Sets{code}
> , but only when run in the top level directory. It will succeed when run in 
> the oak-commons project directory.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to