diff --git a/log4j-samples-jlink/pom.xml b/log4j-samples-jlink/pom.xml index 1b80b60..975fea8 100644 --- a/log4j-samples-jlink/pom.xml +++ b/log4j-samples-jlink/pom.xml @@ -16,9 +16,7 @@ ~ limitations under the License. --> - 4.0.0 - org.apache.logging.log4j.samples log4j-samples @@ -30,64 +28,47 @@ Apache Log4j Samples: JLink custom JRE - 3.2.0 - - - - - - ${project.build.directory}/maven-jlink/default/bin/${project.artifactId}${jlink.launcher.suffix} + + ${project.build.directory}/maven-jlink/default/bin/log4j-samples-jlink + + ${jlink.launcher.path} + + - org.apache.logging.log4j log4j-api - org.apache.logging.log4j log4j-core + runtime - org.apache.logging.log4j.samples log4j-samples-configuration runtime - - org.junit.jupiter junit-jupiter test - - org.apache.maven.plugins - maven-antrun-plugin - - - prepare-integration-test-logs - - run - - pre-integration-test - - - - - - - - + maven-jlink-plugin + ${maven-jlink-plugin.version} + true + + log4j-samples-jlink=org.apache.logging.log4j.samples.jlink/org.apache.logging.log4j.samples.jlink.Main + @@ -100,59 +81,35 @@ exec - integration-test - - ${jlink.launcher.path} - ${project.build.directory}/logs/out.log + verify + + ${skipTests} + ${exec.launcher.cmd} + + ${exec.launcher.arg0} + ${exec.launcher.arg1} + + ${project.basedir} - - - org.apache.maven.plugins - maven-failsafe-plugin - - - integration-test - - integration-test - verify - - - - **/StandardIT.class - - - - - - - - org.apache.maven.plugins - maven-jlink-plugin - ${maven-jlink-plugin.version} - true - - log4j-samples-jlink=org.apache.logging.log4j.samples.jlink/org.apache.logging.log4j.samples.jlink.Main - - - - windows + windows-setup - Windows + windows - .exe + cmd + /c + ${jlink.launcher.path}.bat -