maven 3: Accessing version of “root” corporate POM

后端 未结 2 682
无人及你
无人及你 2020-12-03 16:30

Using Maven 3.0.4.

I am tasked with providing a corporate parent POM for our organization. My team will provide support for questions or issues developers have when

2条回答
  •  青春惊慌失措
    2020-12-03 16:58

    You can achieve property expansion in installed/deployed POM by using a combination of two plugins: - maven-resources-plugin to generate a filtered version of your pom.xml - maven-install-plugin and maven-deploy-plugin, using the install-file and deploy-file mojos, to install/deploy the filtered POM.

    This process could for instance be triggered during the releaser process

提交回复
热议问题