You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/10/08 19:16:11 UTC

[jira] Reopened: (MNG-864) Fail the build with a nice error message if a property to be interpolated in pom.xml is not defined

     [ http://jira.codehaus.org/browse/MNG-864?page=all ]
     
Brett Porter reopened MNG-864:
------------------------------

     Assign To:     (was: Brett Porter)

This is the desired behaviour, however there are too many crappy poms in the repo and an issue with the timing of executing the interpolation (I don't think the profiles are all resolved, so you may rely on a property that is only needed for a profile which is not acceptable)


> Fail the build with a nice error message if a property to be interpolated in pom.xml is not defined
> ---------------------------------------------------------------------------------------------------
>
>          Key: MNG-864
>          URL: http://jira.codehaus.org/browse/MNG-864
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-core
>     Versions: 2.0-alpha-3
>     Reporter: Vincent Massol
>     Priority: Minor
>      Fix For: 2.1

>
>
> There are uses cases with  pom.xml requiring an environment-specific property to be defined. If those property are not provided by the user in a settings.xm, profiles.xml or a command-line system property then m2 should fail the build with a nice error explaiing the reason.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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