AnsweredAssumed Answered

Module depends on another one

Question asked by dreambitc on Oct 19, 2014
Latest reply on Oct 20, 2014 by dreambitc
Hi all!

I have two maven projects, each of them represents alfresco module. Let's call first one Core-module and another one Workflow-module for example. Both modules are packaged to amp.
The first one contains a couple of abstract Java classes which i wanna use in Workflow-module, extend them etc.
I add core-module as dependency to workflow-module and set dependency type amp, but when i trying to build workflow-module maven(java compiler) does not see classes in core and i have compilation error.
When i don't specify dependency type (jar as default) i also have an error because of maven looking for jar dependency which does not exist.


Does anyone have an idea how to resolve this problem?