Created
November 9, 2021 20:18
-
-
Save sachsgit/6a3c13e89696d81fc2412518bf151be6 to your computer and use it in GitHub Desktop.
Batch File to Create a Maven Project Param1 is Group Id and Param2 is Artifact ID
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SET GROUPID=%1 | |
SET ARTIFACTID=%2 | |
mvn archetype:generate^ | |
-DinteractiveMode=false^ | |
-DarchetypeArtifactId=maven-archetype-quickstart^ | |
-DgroupId=%GROUPID%^ | |
-DartifactId=%ARTIFACTID% | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment