Skip to content

Commit

Permalink
move readme to the top level, remove unneeded step from the runner
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <[email protected]>
  • Loading branch information
lukasj committed Feb 29, 2024
1 parent 00379d0 commit 621ebaf
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 51 deletions.
23 changes: 0 additions & 23 deletions tck/docs/tck-runner/README

This file was deleted.

19 changes: 0 additions & 19 deletions tck/docs/tck-runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,25 +95,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<goals>
<goal>unpack</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>jakarta.annotation</groupId>
<artifactId>${tck.artifactId}</artifactId>
<version>${tck.version}</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-server</id>
<goals>
Expand Down
11 changes: 2 additions & 9 deletions tck/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
<source>${project.basedir}/src/main/resources/LICENSE_${license}.md</source>
<destName>LICENSE.md</destName>
</file>
<file>
<source>${project.basedir}/src/main/resources/jakarta.annotation.sig_3.0</source>
<destName>jakarta.annotation.sig_3.0</destName>
</file>
</files>
<fileSets>
<fileSet>
Expand Down Expand Up @@ -78,11 +74,8 @@
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/artifacts</directory>
<outputDirectory>artifacts</outputDirectory>
<includes>
<include>**/*.sh</include>
</includes>
<directory>${project.basedir}/src/main/dist</directory>
<outputDirectory>.</outputDirectory>
<filtered>false</filtered>
</fileSet>
</fileSets>
Expand Down
23 changes: 23 additions & 0 deletions tck/src/main/dist/README
Original file line number Diff line number Diff line change
@@ -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-<version>.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`
File renamed without changes.

0 comments on commit 621ebaf

Please sign in to comment.