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