blob: 2f96ab33179147645b02a913c186d2a84bf19f79 [file] [log] [blame]
//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-<version>.jar available at artifacts folder in \
jakarta-annotations-tck-<version>.zip using below mvn install command:
`mvn install:install-file -DcreateChecksum=true -Dpackaging=jar
-Dfile=jakarta-annotations-tck-<version>.jar -DgroupId=jakarta.tck
-DartifactId=jakarta-annotations-tck -Dversion=<version>`
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.