From 621ebaf4ebec08ab526a4e37b3f79647a578c203 Mon Sep 17 00:00:00 2001 From: Lukas Jungmann Date: Fri, 1 Mar 2024 00:17:21 +0100 Subject: [PATCH] move readme to the top level, remove unneeded step from the runner Signed-off-by: Lukas Jungmann --- tck/docs/tck-runner/README | 23 ------------------- tck/docs/tck-runner/pom.xml | 19 --------------- tck/src/main/assembly/assembly.xml | 11 ++------- tck/src/main/dist/README | 23 +++++++++++++++++++ .../{ => dist}/artifacts/artifact-install.sh | 0 5 files changed, 25 insertions(+), 51 deletions(-) delete mode 100644 tck/docs/tck-runner/README create mode 100644 tck/src/main/dist/README rename tck/src/main/{ => dist}/artifacts/artifact-install.sh (100%) diff --git a/tck/docs/tck-runner/README b/tck/docs/tck-runner/README deleted file mode 100644 index 2f96ab3..0000000 --- a/tck/docs/tck-runner/README +++ /dev/null @@ -1,23 +0,0 @@ -//TODO: Update this file for any incomplete/incorrect information - -The pom.xml in this folder can be used to run the Jakarta Annotations Standalone TCK -against Glassfish 8.0.0 - - -Below are the instructions to run the Jakarta Annotations TCK - -1. Install Java17+ , set JAVA_HOME -2. Install Maven 3.6+ set M2_HOME -3. SET PATH : add M2_HOME/bin, JAVA_HOME/bin -eg: export PATH=$ANT_HOME/bin:$M2_HOME/bin:$JAVA_HOME/bin: - -4. Install the tck jar jakarta-annotations-tck-.jar available at artifacts folder in \ -jakarta-annotations-tck-.zip using below mvn install command: -`mvn install:install-file -DcreateChecksum=true -Dpackaging=jar --Dfile=jakarta-annotations-tck-.jar -DgroupId=jakarta.tck --DartifactId=jakarta-annotations-tck -Dversion=` - - -5. Use the sample tck-runner/pom.xml available in the annotations-tck/, -to run the test with Glassfish, verify the system properties set. -Run `mvn clean verify` from the current directory. diff --git a/tck/docs/tck-runner/pom.xml b/tck/docs/tck-runner/pom.xml index aec2eaa..eb096bf 100644 --- a/tck/docs/tck-runner/pom.xml +++ b/tck/docs/tck-runner/pom.xml @@ -95,25 +95,6 @@ org.apache.maven.plugins maven-dependency-plugin - - unpack - - unpack - - generate-resources - - - - jakarta.annotation - ${tck.artifactId} - ${tck.version} - zip - true - ${project.build.directory} - - - - unpack-server diff --git a/tck/src/main/assembly/assembly.xml b/tck/src/main/assembly/assembly.xml index 96b8506..dee4f7e 100644 --- a/tck/src/main/assembly/assembly.xml +++ b/tck/src/main/assembly/assembly.xml @@ -31,10 +31,6 @@ ${project.basedir}/src/main/resources/LICENSE_${license}.md LICENSE.md - - ${project.basedir}/src/main/resources/jakarta.annotation.sig_3.0 - jakarta.annotation.sig_3.0 - @@ -78,11 +74,8 @@ - ${project.basedir}/src/main/artifacts - artifacts - - **/*.sh - + ${project.basedir}/src/main/dist + . false diff --git a/tck/src/main/dist/README b/tck/src/main/dist/README new file mode 100644 index 0000000..fb429f7 --- /dev/null +++ b/tck/src/main/dist/README @@ -0,0 +1,23 @@ +The pom.xml in this folder can be used to run the Jakarta Annotations Standalone TCK +against Glassfish 8.0.0 + + +Below are the instructions to run the Jakarta Annotations TCK + +1. Install Java17+ , set JAVA_HOME + +2. Install Maven 3.6+ set M2_HOME + +3. set environment variables: + SET PATH : add M2_HOME/bin, JAVA_HOME/bin +eg: export PATH=$M2_HOME/bin:$JAVA_HOME/bin:$PATH + SET ANNOTATIONS_TCK_HOME : root folder of the TCK installation +eg: export ANNOTATIONS_TCK_HOME=. + +4. Install the tck jar jakarta-annotations-tck-.jar available + in the annotations-tck/artifacts folder using artifact-install.sh script +eg: cd $ANNOTATIONS_TCK_HOME/artifacts && ./artifact-install.sh + +5. Use the sample pom.xml available in the annotations-tck/tck-runner, +to run the test with Glassfish, verify the system properties set. +eg: `mvn clean verify -f $$ANNOTATIONS_TCK_HOME/tck-runner/pom.xml` diff --git a/tck/src/main/artifacts/artifact-install.sh b/tck/src/main/dist/artifacts/artifact-install.sh similarity index 100% rename from tck/src/main/artifacts/artifact-install.sh rename to tck/src/main/dist/artifacts/artifact-install.sh