This might be a bug in maven. I've bookmarked this workaround some time ago:
I found a handy way to reference the
Java system property ${user.home}
within a Maven build that supports
Windows' ridiculous path name to
home/profile directories:
c:\Documents and Settings\foobar.
The problem is, when using Maven, this
parameterized property doesn't get
passed through as one property value,
but as three, because somewhere in the
build Maven chokes on the spaces or
back-slashes and interprets it as
either three arguments:
"c:\Documents", "and", "Settings\foobar"
or treats the windows back-slash as an
escape character and removes them so
my parameterized user.home becomes:
"c:Documents and Settingsfoobar"
[...]
However, on Windows XP, unless I set
the user.home on the build path every
time, the back-slash escaping or space
issues cause the files to not be
found.
To fix it, add this profile to the
$M2_HOME/conf/settings.xml
file:
<profile>
<id>laptop-xp</id>
<properties>
<user.home>C:/Documents and Settings/${user.name}</user.home>
</properties>
</profile>
Then add an appropriate entry to the
activeProfiles:
<activeProfile>laptop-xp</activeProfile>
Now every user will be able to use the
user.home
property to reference
their home path correctly on the
Windows box.
Or, you're just another victim of this bug: http://bugs.sun.com/view_bug.do?bug_id=4787931. It's a very old bug (more than 6 years old) that affects all versions up till Java 1.6.x.