This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch amq6 in repository https://gitbox.apache.org/repos/asf/tomee.git
commit 71354a23d47b3dcfaf72b21622dbfca8f089c764 Author: Markus Jung <ju...@apache.org> AuthorDate: Fri Apr 12 07:40:19 2024 +0200 Add ScriptEngine implementation for js on Java 15+ --- examples/testing-security-4/pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/examples/testing-security-4/pom.xml b/examples/testing-security-4/pom.xml index 3ae6b9b38f..2b6e8ffb1c 100644 --- a/examples/testing-security-4/pom.xml +++ b/examples/testing-security-4/pom.xml @@ -96,4 +96,21 @@ <url>file://${basedir}/target/snapshot-repo/</url> </snapshotRepository> </distributionManagement> + + <profiles> + <profile> + <id>jdk15+</id> + <activation> + <jdk>[15,)</jdk> + </activation> + <dependencies> + <dependency> + <groupId>org.openjdk.nashorn</groupId> + <artifactId>nashorn-core</artifactId> + <version>15.4</version> + <scope>test</scope> + </dependency> + </dependencies> + </profile> + </profiles> </project>