Skip to content

Commit

Permalink
test(jlink_plugin): force compiler release.
Browse files Browse the repository at this point in the history
  • Loading branch information
vpa1977 committed Sep 9, 2024
1 parent 5fbea13 commit 2a0421c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/spread/rockcraft/plugin-jlink/parts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ parts:
build-environment:
- JAVA_HOME: "/usr/lib/jvm/java-21-openjdk-${CRAFT_TARGET_ARCH}"
override-build: |
mvn package
mvn -Dmaven.compiler.release=8 package
mkdir -p ${CRAFT_PART_INSTALL}/jars
cp ${CRAFT_PART_BUILD}/target/*.jar ${CRAFT_PART_INSTALL}/jars
craftctl default
Expand Down

0 comments on commit 2a0421c

Please sign in to comment.