Maven multi module project cannot find sibling module

后端 未结 2 1456
心在旅途
心在旅途 2020-12-06 16:54

I can\'t seem to get Maven to find a sibling\'s module in a multi-module project.

I\'ve run mvn clean install in all modules.

Here\'s the setu

2条回答
  •  借酒劲吻你
    2020-12-06 17:28

    I noticed MagniCompCommon pom doesnt specify a version

    
    MagniCompCommon
    jar
    

    And in Product pom, you're referencing version 1.0

    
        com.magnicomp
        MagniCompCommon
        1.0
    
    

    Have you tried specifying version 1.0 in MagniCompCommon pom?

提交回复
热议问题