As I recall, there were several changes that broke and then put this back. I 
suspect your use of file: before the property could be causing the replication. 
Try using just the property and see if this works. Either way, please write an 
issue with a sample project and we'll fix it in .10 and include the IT to make 
sure it doesn't break again.

-----Original Message-----
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 21, 2008 11:23 AM
To: Maven Users List
Subject: Re: pom.build.sourceDirectory in Maven 2.0.9: it doesn't work 
anymore!!!

It's a shame that you didn't try one of the 9 RCs that we released  
over a period of two weeks which helps us validate there are no  
regressions.

Please give us a representative build which expresses the problem, and  
we'll fix it if it's a regression.

On 21-Apr-08, at 7:46 AM, Sebastien ARBOGAST wrote:
> On one of my projects, I have the following property:
>
> <model.uri>file:${project.build.sourceDirectory}/myapp.xmi</model.uri>
>
>
> Knowing that in the same POM, sourceDirectory is configured that way:
>
>
> <sourceDirectory>${project.basedir}/src/main/uml</sourceDirectory>
>
>
> With Maven 2.0.8, model.uri was correctly mapped to
> /Users/sarbogast/dev/myapp/src/main/uml/myapp.xmi
> But with Maven 2.0.9, now it's mapped to
> /Users/sarbogast/dev/myapp/Users/sarbogast/dev/myapp/src/main/uml/ 
> myapp.xmi,
> which is not good at all.
>
>
> Is it a known bug? What has changed in Maven 2.0.9 that makes it work
> differently on that?
>
> -- 
> Sébastien Arbogast
>
> http://sebastien-arbogast.com

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

Three people can keep a secret provided two of them are dead.

-- Unknown 




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


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

Reply via email to