#! /bin/bash | |
function ebr () { | |
mvn ebr:create-recipe -DgroupId=$1 -DartifactId=$2 -Dversion=$3 -Dclassifier=$4 -DbundleSymbolicName=$5 | |
} | |
# Edit these as needed | |
GID='commons-codec' | |
VERSIONS=( | |
1.10 | |
) | |
ARTIDS=( | |
commons-codec | |
) | |
BSNS=( | |
commons-codec | |
) | |
for (( i=0; i< ${#ARTIDS[@]}; i++ )); do | |
ebr ${GID} ${ARTIDS[${i}]} ${VERSIONS[${i}]} "${CLASSIFIERS[${i}]}" ${BSNS[${i}]} | |
done |