Skip to content

Commit

Permalink
Add target package prefix
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Chan <[email protected]>
  • Loading branch information
arthurscchan committed Aug 22, 2023
1 parent 168244c commit aaa205c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/apache-poi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ unzip maven.zip -d $SRC/maven-3.6.3 && \
rm -rf maven.zip

ENV MVN $SRC/maven-3.6.3/apache-maven-3.6.3/bin/mvn
ENV TARGET_PACKAGE_PREFIX org.apache.poi.*:org.apache.xmlbeans.*

RUN curl -L https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u382-b05/OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz -o OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz && \
tar xvf OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz && \
Expand All @@ -42,4 +43,4 @@ RUN git clone --depth 1 https://github.com/apache/poi.git

ADD pom.xml build.sh ${SRC}/
ADD src/ ${SRC}/src/
WORKDIR ${SRC}/poi
WORKDIR ${SRC}/poi

0 comments on commit aaa205c

Please sign in to comment.