Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven plugin does not work with windows path #1544

Open
dibog opened this issue Oct 9, 2020 · 1 comment
Open

Maven plugin does not work with windows path #1544

dibog opened this issue Oct 9, 2020 · 1 comment
Labels
bug runner: Maven plugin An issue/PR related to Dokka's Maven plugin

Comments

@dibog
Copy link

dibog commented Oct 9, 2020

Describe the bug
If the configuration in the maven plugin contains the following fragment

                <sourceLinks>
                    <link>
                        <path>${project.basedir}</path>
                        <url>https://URL_TO_YOUR_SOURCECODE</url>
                        <lineSuffix>#L</lineSuffix>
                    </link>
                </sourceLinks>

the plugin fails with: Incorrect path property, only Unix based path allowed.

Expected behaviour
Running on windows it should just be able to work with windows paths.

To Reproduce
Use your example maven project and build it on windows.

Dokka configuration
see above

Installation

  • Operating system: Windows
  • Build tool: Maven
  • Dokka version: 1.4.10
@dibog dibog added the bug label Oct 9, 2020
@dibog dibog changed the title Maven plugin does not supports windows path Maven plugin does not work with windows path Oct 9, 2020
@MarcinAman MarcinAman added this to the Stable milestone Apr 26, 2021
@vmishenev vmishenev added the runner: Maven plugin An issue/PR related to Dokka's Maven plugin label Jan 11, 2022
@freya022
Copy link
Contributor

I've made a PR #3046 which should at least allow you to use relative paths for your Maven projects, since absolute paths on Windows would not work

@IgnatBeresnev IgnatBeresnev removed this from the Backlog milestone Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug runner: Maven plugin An issue/PR related to Dokka's Maven plugin
Projects
None yet
Development

No branches or pull requests

6 participants