Problem with Maven Hello Plugin Example

2006-07-14 Thread Alexander Hars
Hi, I am getting a strange error when I try to create the simple Maven Hello Plugin example. When compiling it, I get the message: Cannot read file: GreetingMojo.java (Detailed error message is below). I don't get any error when I just change the packaging from maven-plugin to jar. Any

Re: Problem with Maven Hello Plugin Example

2006-07-14 Thread Dennis Lundberg
This works fine for me. Can you run it again like this (with debugging turned on): mvn -X compile and post the results. -- Dennis Lundberg Alexander Hars wrote: Hi, I am getting a strange error when I try to create the simple Maven Hello Plugin example. When compiling it, I get the

Re: Problem with Maven Hello Plugin Example

2006-07-14 Thread Eric Redmond
That is odd... does the account you're running mvn on have read access to that file? Is the file locked by an external program? Is the file still there (since its in a temp directory)? file.toURL().openStream() is throwing an IOException, so it looks to be a Java thing. Thanks; Eric On 7/14/06,

Re: Problem with Maven Hello Plugin Example

2006-07-14 Thread Alexander Hars
Dennis, Thanks for your quick response. I found the problem: The error occurs when the paths contains unusual characters. In my case: it was quite a long path that was c:\.\vc#\..\temp\... It is the '#' character that throws qdox of. -Alexander Dennis Lundberg wrote: This works fine