Skip to content

Commit

Permalink
Merge pull request #162 from arjantijms/tck.authentication.url
Browse files Browse the repository at this point in the history
Set tck.authentication.url to final location and document
  • Loading branch information
arjantijms committed May 1, 2022
2 parents 5f6aaee + d3918d8 commit dea122b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
8 changes: 8 additions & 0 deletions tck-dist/userguide/src/main/jbake/content/config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ From the tck/old-tck-runner module, execute the following command:

This will unpack the legacy TCK at tck/old-tck-runner/target/authentication-tck.

By default the legacy TCK is retrieved from

```
https://download.eclipse.org/jakartaee/authentication/3.0/jakarta-authentication-tck-3.0.0.zip
```

An alternative location can be specified using the `tck.authentication.url` maven property.

[[GBFWN]][[TCAUT00012]][[to-configure-your-environment-for-the-jaspic-tck]]

4.2.2 Configure Your Environment for the Legacy Jakarta Authentication TCK
Expand Down
6 changes: 6 additions & 0 deletions tck-dist/userguide/src/main/jbake/content/using-examples.inc
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ When doing testing with staged dependencies, you may need to add the -Pstaging p
----
mvn -Pstaging -Pglassfish-ci-managed clean test surefire-report:report
----

When doing testing with the legacy TCK in staging, you may need to specify that staging location:

----
mvn -Pglassfish-ci-managed clean test surefire-report:report -Dtck.authentication.url=https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-authentication-tck-3.0.0.zip
----
14 changes: 10 additions & 4 deletions tck/old-tck-runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,17 @@
<ant.zip.url>https://archive.apache.org/dist/ant/binaries/apache-ant-${ant.version}-bin.zip</ant.zip.url>
<ant.version>1.10.11</ant.version>
<tck.home>${project.build.directory}/authentication-tck</tck.home>
<tck.tests.home>${tck.home}/src/com/sun/ts/tests/jaspic</tck.tests.home>
<tck.authentication.url>https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-authentication-tck-3.0.0.zip</tck.authentication.url>
<tck.tests.home>${tck.home}/src/com/sun/ts/tests/jaspic</tck.tests.home>

<!-- Use the below url of promoted bundle once the TCK is final -->
<!--tck.authentication.url>https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/promoted/eftl/jakarta-authentication-tck-3.0.0.zip</tck.authentication.url-->
<!--
Final location, set to staged or promoted for testing. E.g.
https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-authentication-tck-3.0.0.zip
https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/promoted/eftl/jakarta-authentication-tck-3.0.0.zip
-->
<tck.authentication.url>https://download.eclipse.org/jakartaee/authentication/3.0/jakarta-authentication-tck-3.0.0.zip</tck.authentication.url>

<glassfish.home>${project.build.directory}/glassfish7</glassfish.home>
<glassfish.version>7.0.0-M4</glassfish.version>
Expand Down

0 comments on commit dea122b

Please sign in to comment.