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.
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.