Skip to content

Commit

Permalink
Fix TCK failure for EJB32 tests
Browse files Browse the repository at this point in the history
Use EclipseLink 4.0.3 instead of 4.0.4
Weld back to 5.1.3
  • Loading branch information
arjantijms committed Dec 1, 2024
1 parent 9c8ce64 commit e09e76a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions appserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@

<!-- Jakarta Persistence -->
<jakarta.persistence-api.version>3.1.0</jakarta.persistence-api.version>
<eclipselink.version>4.0.4</eclipselink.version>
<eclipselink.version>4.0.3</eclipselink.version>
<eclipselink.asm.version>9.7.1</eclipselink.asm.version>

<!-- Jakarta Transactions -->
Expand Down Expand Up @@ -143,7 +143,7 @@

<!-- Jakarta CDI -->
<jakarta.cdi-api.version>4.0.1</jakarta.cdi-api.version>
<weld.version>5.1.2.Final</weld.version>
<weld.version>5.1.3.Final</weld.version>
<jboss.classfilewriter.version>1.3.1.Final</jboss.classfilewriter.version>

<!-- Jakarta MVC -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private void deleteDirectory(final Path directory) throws IOException {
}

private Process startBash(final String command) throws IOException {
ProcessBuilder bash = new ProcessBuilder("/bin/bash", "-c", command).inheritIO().directory(cfg.getTargetDir());
ProcessBuilder bash = new ProcessBuilder("/bin/zsh", "-c", command).inheritIO().directory(cfg.getTargetDir());
configureEnvironment(bash.environment());
return bash.start();
}
Expand All @@ -206,6 +206,7 @@ private void configureEnvironment(Map<String, String> env) {
env.put("PATH", String.join(":",
cfg.getJdkDirectory().getAbsolutePath() + "/bin",
cfg.getAntDirectory().getAbsolutePath() + "/bin",
"/opt/homebrew/bin", // For macOs, to override BSD tar with GNU Tar etc
"/usr/bin",
"/bin"));
env.put("CTS_HOME", cfg.getTargetDir().getAbsolutePath());
Expand Down
4 changes: 2 additions & 2 deletions nucleus/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@
<!-- 3rd party dependencies -->

<commons-io.version>2.18.0</commons-io.version>
<jboss.logging.annotation.version>2.2.1.Final</jboss.logging.annotation.version>
<jboss.logging.version>3.5.3.Final</jboss.logging.version>
<jboss.logging.annotation.version>3.0.3.Final</jboss.logging.annotation.version>
<jboss.logging.version>3.6.1.Final</jboss.logging.version>
<javassist.version>3.30.2-GA</javassist.version>
<asm.version>9.7.1</asm.version>
<jsch.version>0.2.21</jsch.version>
Expand Down

0 comments on commit e09e76a

Please sign in to comment.