mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
6f59627551
and not into project root. With this appraoch the root folder get not filled with temporary content.
9 lines
266 B
Bash
Executable File
9 lines
266 B
Bash
Executable File
#!/bin/bash
|
|
|
|
d=$(dirname "$0")
|
|
[ ! -z "$d" ] && d="$d/"
|
|
|
|
export CLASSPATH_FILE='target/cp.txt'
|
|
mvn compile dependency:build-classpath -Dmdep.outputFile=${CLASSPATH_FILE} > /dev/null 2>&1
|
|
groovy -cp "target/classes:$(cat $CLASSPATH_FILE)" "${d}createDocu" "${@}"
|