jakartaee / platform-tck

Jakartaee-tck
Other
124 stars 103 forks source link

Staged JSP 4.0.0 TCK has missing dependency and unexpected Maven coordinates #1300

Closed markt-asf closed 1 month ago

markt-asf commented 1 month ago

Describe the bug The POM is missing the javatest dependeny

To Reproduce Steps to reproduce the behavior:

  1. Download the zip
  2. Extract the TCK JAR
  3. Use the Maven install plugin to add the JAR to your local repository
  4. Try and use the TCK JAR

Expected behavior Maven should be able to resolve all of the dependencies.

Additional context It looks like the staged JSP TCK was built using the wrong (or an old) POM. The current one in the TCK refactor branch looks to be correct.

markt-asf commented 1 month ago

Scratch that. The Pages TCK has been moved the to Pages project. I assume that makes fixing this a project issue.

pzygielo commented 1 month ago
markt-asf commented 1 month ago

Duplicate. The Web UI was playing up. I'l close that.

alwin-joseph commented 1 month ago

The javatest jar is present in https://github.com/jakartaee/platform-tck/blob/tckrefactor/lib/javatest.jar.

After migrating the TCK to pages project I had installed this jar to complete the TCK build. mvn install:install-file -Dfile=$WORKSPACE/platform-tck/lib/javatest.jar -DgroupId=javatest -DartifactId=javatest -Dversion=5.0 -Dpackaging=jar as some of the modules has this compile time dependency

I am using the jenkins job https://ci.eclipse.org/jakartaee-tck/job/11/job/standalone-tck/job/eftl-pages-standalonetck-build_from_pages_project to generate the latest TCK https://www.eclipse.org/downloads/download.php?file=/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-pages-tck-4.0.0.zip from pages project.

Please let me know if TCK need to be refreshed using above Jenkins job after any changes. Similar job can be created from https://ci.eclipse.org/jsp/ to copy the TCK at https://download.eclipse.org/ee4j/pages/ if time permits.