In this tutorial, i will give you an example how to create Artifact Id dynamically using maven.
below my pom.xml:
<groupId>sample-project</groupId> <artifactId>sampleproject--${your_parameter}</artifactId> <version>0.1.0</version> |
and my mvn command:
mvn clean -Dyour_parameter=YOUR_DYNAMIC_PARAM mvn install -Dyour_parameter=YOUR_DYNAMIC_PARAM |
CMIIW .
Leave a Reply