From fdf022886a8992731312804e6d33de6a3c554dda Mon Sep 17 00:00:00 2001 From: "tibor.digana" Date: Thu, 24 Feb 2022 00:49:03 +0100 Subject: [PATCH] [documentation] use *Nix paths --- maven-surefire-plugin/src/site/apt/examples/logging.apt.vm | 2 +- maven-surefire-plugin/src/site/markdown/java9.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-surefire-plugin/src/site/apt/examples/logging.apt.vm b/maven-surefire-plugin/src/site/apt/examples/logging.apt.vm index bd857104e9..c6280d162a 100644 --- a/maven-surefire-plugin/src/site/apt/examples/logging.apt.vm +++ b/maven-surefire-plugin/src/site/apt/examples/logging.apt.vm @@ -47,7 +47,7 @@ Using Console Logs +---+ -[INFO] Surefire report directory: D:\vcs\project\target\surefire-reports +[INFO] Surefire report directory: /path/to/project/target/surefire-reports [INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider [INFO] parallel='none', perCoreThreadCount=true, threadCount=0, useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0, threadCountMethods=0, parallelOptimized=true Configuring TestNG with: TestNGMapConfigurator diff --git a/maven-surefire-plugin/src/site/markdown/java9.md b/maven-surefire-plugin/src/site/markdown/java9.md index 2b0ea03f01..cc4cbe1a24 100644 --- a/maven-surefire-plugin/src/site/markdown/java9.md +++ b/maven-surefire-plugin/src/site/markdown/java9.md @@ -128,7 +128,7 @@ For more information see the [chapter 'Selecting JDK by the Toolchains API in pl The plugin **maven-toolchains-plugin** should be used along with old versions of Surefire or Failsafe plugin. In this example you can see how to switch the JDK by Toolchain **(-t ...)** in the entire build (on Windows). - $ mvn -t D:\.m2\toolchains.xml test + $ mvn -t /path/to/.m2/toolchains.xml test Without **(-t ...)** the Toolchain should be located in **${user.home}/.m2/toolchains.xml**.