Hi Christopher,
as per pom always the hole classplath is used, it is not possible to
exclude the guava dependency when running the fornax-oaw-m2-plugin.
So you have to extract the fornax-oaw-m2-plugin in a separate pom that
can be placed in the same project and that specifies a dependency to
the former pom. The new created pom can define a classpath without the
guava library so the MWE Runner will use the google.collect 0.8
library instead.
Hope that helps.
Joerg
On 16 Jun., 13:02, Christopher Micallef <
krosmical...@gmail.com>
wrote:
> Hi all,
>
> I have the following problem in my project. One of my dependencies uses the
> Guava library which is a super set of the Google Collections library.
> The Google Collections library is a dependency of one of the Fornax plugins.
> When I run clean install on my project I get the following error:
>
> 12:23:07,290 INFO CompositeComponent:100 - Workflow: executing workflow
> sculptorworkflow.mwe in workflow.mwe:3
> 12:23:07,291 INFO CompositeComponent:100 - MweReader: loading file from
> classpath:/model.btdesign
> [ERROR] NoSuchMethodError occurred while running workflow:
> com.google.common.collect.Multimaps.newArrayListMultimap()Lcom/google/common/collect/ArrayListMultimap;