If you modify your settings so the path to your local repository uses
a DOS-style path, it should solve this problem.

http://maven.apache.org/ref/2.0.8/maven-settings/settings.html

Matt

On 3/18/08, Rajeev Goel <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am evaluating Appfuse for my project and I am new to it.
>
> configuration:
> Using Appfuse 2.0.1 on win xp.
>
> Problem:
> Execution of mvn -e appfuse:gen -Dentity=Person goal fails.
>
> AS the default maven repo is on c:/docuemtns and settings/... (notice th
> spaces), ant task fails.
> Exception msg: Caused by: java.net.URISyntaxException: Illegal character in
> path at index 18: file:/C:/Documents and Settings/rajeev/.
>  m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
>
> I shifted the repo to c:/dev/.m2/repository and updated maven config file.
> After this the command runs fine.
> However I am using the maven plugin for eclipse - which hard-codes the maven
> repo location to c:/documetns.../<username>
>
> So I am stuck with two options:
> A. If I shift the maven repo - can't use Eclipse.
> B. If I don't shift maven repo (as maven eclipse plugin demans it) - code
> generation is a pain.
>
>
> Any pointers ?
>
> regards,
> RAjeev
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to