blob: d09ad53f3e4b75ac72d6d6ff22b1c009a76582e8 [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='com.github.jnr'
VERSIONS=(
0.9.15
0.25
2.1.12
3.0.54
0.28
1.0.2
1.2.23
1.2.23
)
ARTIDS=(
jnr-constants
jnr-enxio
jnr-ffi
jnr-posix
jnr-unixsocket
jnr-x86asm
jffi
jffi-native
)
BSNS=(
com.github.jnr.constants
com.github.jnr.enxio
com.github.jnr.ffi
com.github.jnr.posix
com.github.jnr.unixsocket
com.github.jnr.x86asm
com.github.jnr.jffi
com.github.jnr.jffi.native
)
CLASSIFIERS[7]=native
for (( i=0; i< ${#ARTIDS[@]}; i++ )); do
ebr ${GID} ${ARTIDS[${i}]} ${VERSIONS[${i}]} "${CLASSIFIERS[${i}]}" ${BSNS[${i}]}
done