I have a setup where a project has two subprojects A and B. A creates a jar in its build process and B creates another one. The jar created by B needs to refer to the jar created by A in its maniest Class-Path. How do I do that given wihtout hardcoding that name ?
When project B depends on A you should define a project dependency like this:
This dependency should automatically be generated into the Pom of the B.jar.