Reputation: 964
I do have a multi module project out of which one references few others in the workspace. When I do maven eclipse:eclipse, it generates the .classpath with references to dependent projects as folder names (given below).
I understand that to generate all the dependent projects to be available as jar files in the classpath, we have to use 'useProjectReferences'. However, I need the classpath entry for child-project1 to be available as path to the jar file in the m2_repo and leave the classpath entry to child-project2 as reference to the folder.
Upvotes: 0
Views: 66
Reputation: 59
Do a clean install of your referenced projects. Right click your parent project -> properties->maven, uncheck 'reference projects from workspace'. See if this works.
Upvotes: 1