Skip to content

Plugin failure on WindowsΒ #4

@rippling-rsistla

Description

@rippling-rsistla

The directory-maven-plugin plugin was failing for me on my Windows machine with the error "Cannot find a single highest directory for this project set": . I looked into the plugin code and investigated this further. The failure happened on HighestBasedirGoal.java: 109.

The issue seems to be due my windows environment. If I do:
cd c:\src\git\repo
mvn clean install

the maven plugin fails. If I do

cd C:\src\git\repo (note the case sensitivity of c)
mvn clean install

the maven command succeeds. Could this be due to a bug in the plugin? Instead of startsWith or String's compareTo, using File's compareTo - might have solved this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions