Usage of maven ${basedir} in multi-module setup

后端 未结 2 1979
我在风中等你
我在风中等你 2021-02-03 19:12

I am using a local repository as described in Maven: add a dependency to a jar by relative path.

The repository-url is defined in the topmost pom.xml as

2条回答
  •  失恋的感觉
    2021-02-03 19:35

    How about having multiple repos?

    
        
            ibm-jars-bundle-lv0
            file://${basedir}/ibm-jars-bundle/repo
        
        
            ibm-jars-bundle-lv1
            file://${basedir}/../ibm-jars-bundle/repo
        
        
            ibm-jars-bundle-lv2
            file://${basedir}/../../ibm-jars-bundle/repo
        
    
    

提交回复
热议问题