mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-24 02:56:02 +01:00
a5bfa86bca
Switched the project to Maven - you're now able to easily build ChestShop.
16 lines
520 B
Bash
16 lines
520 B
Bash
#!/bin/sh
|
|
|
|
echo "[Dependency installer]"
|
|
read -p "What is your dependency's file name? " filename
|
|
|
|
if [ "$filename" = "" ]; then
|
|
return
|
|
fi
|
|
|
|
read -p "What is your dependency's group ID? " groupID
|
|
read -p "What is your dependency's artifact ID? " artifactID
|
|
read -p "What is your dependency's version? " version
|
|
|
|
mvn install:install-file -DlocalRepositoryPath=repo -DcreateChecksum=true -Dpackaging=jar -Dfile=$filename -DgroupId=$groupID -DartifactId=$artifactID -Dversion=$version
|
|
|
|
echo "[Dependency installed!]" |