You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating Allure reports using the Allure Maven Plugin, the index.html file is correctly placed in the specified directory on Windows. However, on macOS, the same process results in the creation of a directory named with a trailing double quote ("), which contains the index.html file.
Steps to Reproduce
Set up a Maven project with the following configurations:
Java Version: 23
Allure Version: 2.29.0
Allure Maven Plugin Version: 2.15.2
Execute the build process on a macOS machine running macOS 15.1.
Observe the creation of the allure-maven-plugin" directory (note the trailing double quote) containing the index.html file.
Expected Behaviour
The index.html file should be generated in the specified directory (target/site/allure-maven-plugin) without creating any unintended directories, regardless of the operating system.
Screenshots or Additional Context
On macOS, a directory named allure-maven-plugin" (with a trailing double quote) is created, containing the index.html file.
Environment:
Java Version: 23
Operating Systems:
Windows 11 23H2
macOS 15.1
Allure Version: 2.29.0
Allure Maven Plugin Version: 2.15.2
Console Output:
[INFO] Allure installation directory /Users/username/Desktop/repo/reponame/.allure [INFO] Try to finding out allure 2.30.0 [INFO] Generate Allure report (report) with version 2.30.0 [INFO] Generate Allure report to /Users/username/Desktop/repo/reponame/target/site/allure-maven-plugin [INFO] Found results directory /Users/username/Desktop/repo/reponame/target/allure-results [INFO] Can't find information about categories [INFO] Generate report to /Users/username/Desktop/repo/reponame/target/site/allure-maven-plugin Report successfully generated to "/Users/username/Desktop/repo/reponame/target/site/allure-maven-plugin" [INFO] Report generated successfully.
Additional Context:
This issue appears to be related to how file paths are handled differently between Windows and macOS. Ensuring consistent path handling across platforms is crucial for cross-platform compatibility.
What Language are you using?
Java
What Framework/Allure Integration you are using?
allure-cucumber7-jvm
What version of Allure Integration you are using?
2.29.0
What version of Allure Report you are using?
2.30.0
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
This is what I've added under reporting: <reporting> <excludeDefaults>true</excludeDefaults> <plugins> <plugin> <groupId>io.qameta.allure</groupId> <artifactId>allure-maven</artifactId> <version>2.15.2</version> <configuration> <reportVersion>${allure.version}</reportVersion> </configuration> </plugin> </plugins> </reporting>
Describe the Bug
When generating Allure reports using the Allure Maven Plugin, the
index.html
file is correctly placed in the specified directory on Windows. However, on macOS, the same process results in the creation of a directory named with a trailing double quote ("
), which contains theindex.html
file.Steps to Reproduce
allure-maven-plugin"
directory (note the trailing double quote) containing theindex.html
file.Expected Behaviour
The
index.html
file should be generated in the specified directory (target/site/allure-maven-plugin) without creating any unintended directories, regardless of the operating system.Screenshots or Additional Context
On macOS, a directory named allure-maven-plugin" (with a trailing double quote) is created, containing the index.html file.
Environment:
Console Output:
[INFO] Allure installation directory /Users/username/Desktop/repo/reponame/.allure [INFO] Try to finding out allure 2.30.0 [INFO] Generate Allure report (report) with version 2.30.0 [INFO] Generate Allure report to /Users/username/Desktop/repo/reponame/target/site/allure-maven-plugin [INFO] Found results directory /Users/username/Desktop/repo/reponame/target/allure-results [INFO] Can't find information about categories [INFO] Generate report to /Users/username/Desktop/repo/reponame/target/site/allure-maven-plugin Report successfully generated to "/Users/username/Desktop/repo/reponame/target/site/allure-maven-plugin" [INFO] Report generated successfully.
Additional Context:
This issue appears to be related to how file paths are handled differently between Windows and macOS. Ensuring consistent path handling across platforms is crucial for cross-platform compatibility.
What Language are you using?
Java
What Framework/Allure Integration you are using?
allure-cucumber7-jvm
What version of Allure Integration you are using?
2.29.0
What version of Allure Report you are using?
2.30.0
Code of Conduct
The text was updated successfully, but these errors were encountered: