Value from Maven profile properties is not getting used in .properties file

后端 未结 1 1238
再見小時候
再見小時候 2020-12-12 06:38

I\'ve below pom.xml file


            
                ${basedir}
                

        
相关标签:
1条回答
  • 2020-12-12 07:08

    Your directory specification is wrong. Do not use ${basedir} but ${project.basedir}, then it works as expected:

    <directory>${project.basedir}</directory>
    

    Even better would be to stick with the standard Maven directory layout and put your resources here:

    <directory>src/main/resources</directory>
    
    0 讨论(0)
提交回复
热议问题