You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2007/09/02 19:18:11 UTC
[jira] Created: (MNG-3178) Talk with list about
distributionManagement/status. What is this actually for?
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
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
[jira] Work started: (MNG-3178) Talk with list about
distributionManagement/status. What is this actually for?
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on MNG-3178 started by Jason van Zyl.
> 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
[jira] Closed: (MNG-3178) Talk with list about
distributionManagement/status. What is this actually for?
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-3178.
-----------------------------
Resolution: Incomplete
not really an issue to be dealt with in maven...
> 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
[jira] Commented: (MNG-3178) Talk with list about
distributionManagement/status. What is this actually for?
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ 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