You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2013/02/16 15:10:13 UTC

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

     [ https://jira.codehaus.org/browse/MNG-864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MNG-864.
------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: Issues to be reviewed for 3.x)
         Assignee: Robert Scholte

This is superseded by the Maven Enforcer Plugin, http://maven.apache.org/enforcer/enforcer-rules/
It has the {{requireEnvironmentVariable}}, so you have full control over which variables are required and what the message should be.

                
> Fail the build with a nice error message if a property to be interpolated in pom.xml is not defined
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MNG-864
>                 URL: https://jira.codehaus.org/browse/MNG-864
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0-alpha-3
>            Reporter: Vincent Massol
>            Assignee: Robert Scholte
>            Priority: Minor
>
> 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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira