'parent.relativePath' points at my com.mycompany:MyProject instead of org.apache:apache - Why?

前端 未结 5 1472
情书的邮戳
情书的邮戳 2020-12-23 02:53

What is true is that Solr project directory is inside MyProject parent directory (but there\'s no module or any maven relationship between the 2, just FS convenience). Do I

5条回答
  •  伪装坚强ぢ
    2020-12-23 03:23

    Add an empty to so that it resolves the parent pom from the repositories.

      
        org.apache
        apache
        8
        
      
    

    Here is the relevant doc.

    This feature is only for enhancing the development in a local checkout of that project. Set the value to an empty string in case you want to disable the feature and always resolve the parent POM from the repositories.
    Default value is: ../pom.xml.

提交回复
热议问题