Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven Eclipse volume label syntax error

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

like image 209
Jeff Storey Avatar asked Jun 22 '09 17:06

Jeff Storey


1 Answers

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.

like image 129
VonC Avatar answered Sep 29 '22 15:09

VonC