From 02395b82eeeebddcc40f063f8f82dfb317a00f4d Mon Sep 17 00:00:00 2001 From: Jayashree Huttanagoudar Date: Wed, 13 Mar 2024 23:52:48 +0530 Subject: [PATCH] Delete OPENJDK-1548 as this is moved to new application source repository as OPENJDK-1549. For both ubi8 and ubi9 OPENJDK-1549 will serve the pupose Signed-off-by: Jayashree Huttanagoudar --- tests/OPENJDK-1548/README.md | 18 ------------------ tests/OPENJDK-1548/pom.xml | 35 ----------------------------------- 2 files changed, 53 deletions(-) delete mode 100644 tests/OPENJDK-1548/README.md delete mode 100644 tests/OPENJDK-1548/pom.xml diff --git a/tests/OPENJDK-1548/README.md b/tests/OPENJDK-1548/README.md deleted file mode 100644 index 31b8ec67..00000000 --- a/tests/OPENJDK-1548/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Test for OPENJDK-1548 - - - -This is a minimal Maven project for which the `validate` target will fail -if the environment variable `MAVEN_ARGS` is defined. - -This is achieved using the Enforcer plugin. We could not use the -`requireEnvironmentVariable` built-in rule as it can only fail if a variable -is undefined, rather than if it is. Instead we use `evaluateBeanshell` and -a very short Beanshell expression. - -Maven expands strings of the form `${env.foo}` within the POM only if the -variable is defined. That is, when `MAVEN_ARGS` is not defined in the -environment, the string `${env.MAVEN_ARGS}` is passed through unaltered. -If the variable is defined (including defined but empty), Maven will expand -it. Some string concatenation trickery is needed to match against the -un-expanded form. diff --git a/tests/OPENJDK-1548/pom.xml b/tests/OPENJDK-1548/pom.xml deleted file mode 100644 index 12307721..00000000 --- a/tests/OPENJDK-1548/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - 4.0.0 - org.acme - getting-started - 1.0.0-SNAPSHOT - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.3.0 - - - - - enforce-beanshell - - enforce - - - - - "${env.MAVEN_ARGS}".equals("${env."+"MAVEN_ARGS}") - - - true - - - - - - - -