File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1616
1717FROM gcr.io/oss-fuzz-base/base-builder-jvm
1818
19- RUN curl -L https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip -o maven.zip && \
19+ ARG MAVEN_VERSION=3.9.11
20+
21+ RUN curl -L https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.zip -o maven.zip && \
2022 unzip maven.zip -d $SRC/maven && \
2123 rm -rf maven.zip
2224
23- ENV MVN $SRC/maven/apache-maven-3.6.3 /bin/mvn
25+ ENV MVN $SRC/maven/apache-maven-$MAVEN_VERSION /bin/mvn
2426
2527RUN git clone --depth 1 https://github.com/google/fuzzing && \
2628 cat fuzzing/dictionaries/html.dict \
Original file line number Diff line number Diff line change 1818# Move seed corpus and dictionary.
1919mv $SRC /{* .zip,* .dict,* .options} $OUT
2020
21- MAVEN_ARGS=" -Dmaven.test.skip=true -Djavac.src.version=15 -Djavac.target.version=15 "
22- $MVN package org.apache.maven.plugins:maven-shade-plugin:3.2.4 :shade $MAVEN_ARGS
23- CURRENT_VERSION=$( $MVN org.apache.maven.plugins:maven-help-plugin:3.2.0 :evaluate \
21+ MAVEN_ARGS=" -Dmaven.test.skip=true -Djavac.src.version=17 -Djavac.target.version=17 "
22+ $MVN package org.apache.maven.plugins:maven-shade-plugin:3.6.1 :shade $MAVEN_ARGS
23+ CURRENT_VERSION=$( $MVN org.apache.maven.plugins:maven-help-plugin:3.5.1 :evaluate \
2424 -Dexpression=project.version -q -DforceStdout)
2525cp " target/jsoup-$CURRENT_VERSION .jar" $OUT /jsoup.jar
2626
You can’t perform that action at this time.
0 commit comments