views:

458

answers:

1

When I do a clean all on my maven project in Eclipse, it always comes back with the following error:

The filename, directory name, or volume label syntax is incorrect

I have the maven builder and java bulider enabled. Does anyone know what this error means?

thanks,

Jeff

+2  A: 

It could be related to bug MECLIPSE-269: the full error message might help as this " "java.io.IOException: The filename, directory name, or volume label syntax is incorrect" is actually the root cause of "org.apache.maven.lifecycle.LifecycleExecutionException: Can't canonicalize system path".

I get a "Can't canonicalize system path" error using the goal eclispse:eclipse when the <warSourceDirectory> of the maven-war-plugin starts with ${basedir}.
If I remove the ${basedir}, the build is successful. If, as it appears, the war plugin uses different rules related to the prefixing a path with ${basedir}, then I consider it a bug because the configuration of <warSourceDirectory> is inconsistent with similar tags.

VonC
yeah, i think that solved this problem. I'm still having some other groovy maven plugins, but thanks for this help.
Jeff Storey
@Jeff: you are welcome. You can also post a more detailed feedback about what you had to change/update in order to get rid of that specific issue.
VonC
I think I had some version mismatches. I cleared out my entire local repository and updated to all of the latest groovy libraries and gmaven libraries, and all seems to be working now. Thanks again.
Jeff Storey