Skip to content

Commit f988739

Browse files
committed
[releng] Fix surefire config
It made reference to an undefined variable `${workspace.root.folder}`. Correct would have been `${workspace.root.dir}`, defined in the maven configuration at .mvn/maven.config. However, even if corrected running JUnit tests in Eclipse doesn't work (undefined reference to `session.rootDirectory`) since there is no maven session. So fix this differently. As for all our Java projects the maven workspace root is at `${project.basedir}/..` let's use that. That works in Eclipse and on the command-line.
1 parent 794122f commit f988739

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@
12801280
<java.awt.headless>true</java.awt.headless>
12811281
<org.slf4j.simpleLogger.logFile>System.out</org.slf4j.simpleLogger.logFile>
12821282
<org.apache.sshd.test.timeout.factor>${sshd.tests.timeout.factor}</org.apache.sshd.test.timeout.factor>
1283-
<logback.configurationFile>${workspace.root.folder}${file.separator}sshd-common${file.separator}src${file.separator}test${file.separator}resources${file.separator}logback-test.xml</logback.configurationFile>
1283+
<logback.configurationFile>${project.basedir}${file.separator}..${file.separator}sshd-common${file.separator}src${file.separator}test${file.separator}resources${file.separator}logback-test.xml</logback.configurationFile>
12841284
</systemPropertyVariables>
12851285
<trimStackTrace>false</trimStackTrace>
12861286
<!-- lets re-run the failed test one more time, just to be sure -->

0 commit comments

Comments
 (0)