• Home
  • Raw
  • Download

Lines Matching +full:maven +full:- +full:bin

1 #!/bin/bash -eu
8 # http://www.apache.org/licenses/LICENSE-2.0
22 GEOMETRY_MODULE="commons-geometry-io-euclidean"
25 cd $SRC/commons-$project
26 …MAVEN_ARGS="-Dmaven.test.skip=true -Djavac.src.version=15 -Djavac.target.version=15 -Djdk.version=…
27 CURRENT_VERSION=$($MVN org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate \
28 -Dexpression=project.version -q -DforceStdout)
31 # commons-geometry is a multi-module project and requires special handling in order
32 # to build and extract the proper module (commons-geometry-io-euclidean)
33 …$MVN package org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade -am -pl $GEOMETRY_MODULE $MAV…
34 cp "$GEOMETRY_MODULE/target/$GEOMETRY_MODULE-$CURRENT_VERSION.jar" $OUT/commons-$project.jar
36 $MVN package org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade $MAVEN_ARGS
37 cp "target/commons-$project-$CURRENT_VERSION.jar" $OUT/commons-$project.jar
40 ALL_JARS="commons-$project.jar"
42 # The classpath at build-time includes the project jars in $OUT as well as the
44 BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
47 RUNTIME_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "\$this_dir/%s:"):\$this_dir
49 for fuzzer in $(find $SRC -iname "$project"'*Fuzzer.java'); do
50 fuzzer_basename=$(basename -s .java $fuzzer)
51 javac -cp $BUILD_CLASSPATH $fuzzer
55 echo "#!/bin/sh
59 \$this_dir/jazzer_driver --agent_path=\$this_dir/jazzer_agent_deploy.jar \
60 --cp=$RUNTIME_CLASSPATH \
61 --target_class=$fuzzer_basename \
62 --jvm_args=\"-Xmx2048m;-Djava.awt.headless=true\" \