mvn eclipse:eclipse – Cant canonicalize system path: {0}

While restructuring a maven project I began getting this error when running mvn eclipse:eclipse.

[INFO] Final Memory: 19M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse (default-cli) on project odlp-client:
Cant canonicalize system path: {0}: The filename, directory name, or volume label syntax is incorrect -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

I searched for a resolution and the posts that I found having similar issues recommended removing ${project.basedir} from any paths and use a relative path instead.

<resources>
   <resource>
   <!-- Include handlechain.xml and others. -->
   <directory>${project.basedir}/src/main/resources</directory>
   <includes>
      <include>**/*.xml</include>
      <include>**/*.properties</include>
      <include>**/*.jks</include>
      <include>**/*.vm</include> 
   </includes>
   </resource>
</resources>

Unfortunately, this did not solve my problem. Only one project was getting this error.

I tried mvn eclipse:eclipse -X That did give me more info but not enough to point to the culprit. After some more digging I found this problem was with a cxf plugin.

<plugin>     
<groupId>org.apache.cxf</groupId>     
<artifactId>cxf-codegen-plugin</artifactId>     
<version>2.7.7</version>
...
</plugin>

Changing the version from 2.7.7 to 2.7.10 resolved the issue.