blob: d0d74fcc1f62336eb2bea5663a9c1c5fb8bb1f6e [file] [log] [blame]
#! /bin/bash
function ebr () {
mvn ebr:create-recipe -DgroupId=$1 -DartifactId=$2 -Dversion=$3 -Dclassifier=$4 -DbundleSymbolicName=$5
}
# Edit these as needed
GID='org.apache.httpcomponents'
VERSIONS=(
4.4.9
4.5.5
4.5.5
)
ARTIDS=(
httpcore
httpclient
httpclient-win
)
BSNS=(
org.apache.httpcomponents.httpcore
org.apache.httpcomponents.httpclient
org.apache.httpcomponents.httpclient.win
)
for (( i=0; i< ${#ARTIDS[@]}; i++ )); do
ebr ${GID} ${ARTIDS[${i}]} ${VERSIONS[${i}]} "${CLASSIFIERS[${i}]}" ${BSNS[${i}]}
done