How to replace a value in web.xml with a Maven property?

前端 未结 6 492
滥情空心
滥情空心 2020-12-03 06:35

I have a Maven project that downloads some test files into its build directory ./target/files. These files should then be available to a servlet, which I can ea

6条回答
  •  猫巷女王i
    2020-12-03 07:07

    I think you can use maven-war-plugin's filteringDeploymentDescriptors option to filter deployment descriptors -

    
        true
    
    

提交回复
热议问题