You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (Jira)" <ji...@apache.org> on 2022/08/15 13:39:00 UTC
[jira] [Resolved] (SLING-11542) sling-maven-plugin: GenerateAdapterMetadataMojoTest fails under Windows
[ https://issues.apache.org/jira/browse/SLING-11542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert resolved SLING-11542.
------------------------------------
Resolution: Fixed
fixed: https://github.com/apache/sling-maven-plugin/commit/dbf3040b5e0cd49089ce1a8086e4e8361375b805
> sling-maven-plugin: GenerateAdapterMetadataMojoTest fails under Windows
> -----------------------------------------------------------------------
>
> Key: SLING-11542
> URL: https://issues.apache.org/jira/browse/SLING-11542
> Project: Sling
> Issue Type: Bug
> Components: Maven Plugins and Archetypes
> Affects Versions: Sling Maven Plugin 3.0.0
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Trivial
> Fix For: Sling Maven Plugin 3.0.2
>
>
> with release 3.0.0, this unit test fails on windows:
> {noformat}
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.856 s <<< FAILURE! - in org.apache.sling.maven.bundlesupport.GenerateAdapterMetadataMojoTest
> [ERROR] org.apache.sling.maven.bundlesupport.GenerateAdapterMetadataMojoTest.testExecute Time elapsed: 1.856 s <<< ERROR!
> java.nio.file.InvalidPathException: Illegal char <:> at index 2: /D:/Develop/OpenSource/sling-git/sling-maven-plugin/target/test-classes/
> at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
> at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
> ...
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)