Created
May 3, 2020 19:19
-
-
Save enesusta/3d8173f4a18210f7323cd091a66faa57 to your computer and use it in GitHub Desktop.
mvn generate
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
#!/bin/bash | |
create() { | |
mvn archetype:generate \ | |
-DgroupId=$1 \ | |
-DartifactId=$2 \ | |
-DpackageName=$3 \ | |
-Dversion=1.0.0 | |
} | |
echo "GroupID" | |
read group | |
echo "ArtifactID" | |
read artifact | |
echo "Package Name" | |
read package | |
create $group $artifact $package |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment