Let's consider the following projects:
- Project1: uses
Eclipse
P2 Target Definition for dependencies - Project2: uses
Maven
repositories for dependencies
The problem: project1 requires a dependency which is present in project2 which comes from a Maven
repository (and is not available in p2).
My workaround up to now is that I am exporting project2 as a jar with dependencies. Then, I add this jar to project1 and can access the dependency from there.
How could I do this in a better way?