You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Benjamin Bentmann <be...@udo.edu> on 2008/07/26 21:35:14 UTC

Re: svn commit: r680030 - in /maven/plugins/trunk/maven-changes-plugin: ./ src/it/announcement-generate-custom-template/ src/it/announcement-generate-custom-template/src/ src/it/announcement-generate-custom-template/src/changes/ src/it/announcement-generat... - Olivier Lamy Jul 26, 2008; 09:13pm

Hi Oliver,

> Author: olamy
> Date: Sat Jul 26 12:13:48 2008
> New Revision: 680030
> 
> URL: http://svn.apache.org/viewvc?rev=680030&view=rev
> Log:
> [MCHANGES-118] AnnouncementMojo can only load velocity templates from src/main/resources
> 
> +        
> +        // MCHANGES-118 adding the user.dir path
> +        
> +        paths.add( System.getProperty( "user.dir" ) );

Are you sure this is what you want? "user.dir" can be quite anything 
[0], just assume somebody running a reactor build where the working 
directory is usually (but necessarily) the base directory of the 
execution root. Isn't it more the base directory of the current project 
one would want to use to resolve relative paths against?


Benjamin


[0] http://www.nabble.com/Common-Bugs-p14783703.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org