#! /bin/bash | |
function ebr () { | |
mvn ebr:create-recipe -DgroupId=$1 -DartifactId=$2 -Dversion=$3 -DbundleSymbolicName=$4 | |
} | |
# Edit these as needed | |
GID='org.apache.ant' | |
VERSION='1.10.9' | |
ARTIDS=( | |
ant | |
) | |
BSNS=( | |
org.apache.ant | |
) | |
for (( i=0; i< ${#ARTIDS[@]}; i++ )); do | |
ebr ${GID} ${ARTIDS[${i}]} ${VERSION} ${BSNS[${i}]} | |
done |