[ 
http://jira.codehaus.org/browse/MNG-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106593
 ] 

Carlos Sanchez commented on MNG-3178:
-------------------------------------

that was there since 2.0 to fail if a local pom has the 
<distributionManagement><status> value
The value is set by the deploy plugin. If the validation is needed it should be 
somewhere else

> Talk with list about distributionManagement/status. What is this actually for?
> ------------------------------------------------------------------------------
>
>                 Key: MNG-3178
>                 URL: http://jira.codehaus.org/browse/MNG-3178
>             Project: Maven 2
>          Issue Type: Task
>            Reporter: Jason van Zyl
>            Assignee: Jason van Zyl
>
> After pushing more exceptions up to the top this chunk of code is failing:
>         if ( checkDistributionManagementStatus )
>         {
>             if ( ( project.getDistributionManagement() != null ) && ( 
> project.getDistributionManagement().getStatus() != null ) )
>             {
>                 String projectId = safeVersionlessKey( project.getGroupId(), 
> project.getArtifactId() );
>                 throw new ProjectBuildingException( projectId,
>                     "Invalid project file: distribution status must not be 
> specified for a project outside of the repository" );
>             }
>         }
> And I don't think it's needed.

-- 
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

        

Reply via email to