You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/03/24 01:18:53 UTC
[jira] Closed: (MAVEN-876) improve error when extending with a duplicate ID
Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Tue, 23 Mar 2004 7:17 PM
this works now
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-876
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-876
Summary: improve error when extending with a duplicate ID
Type: Bug
Status: Closed
Priority: Minor
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Fix Fors:
1.0-rc2
Versions:
1.0-rc1
Assignee: Brett Porter
Reporter: Brett Porter
Created: Wed, 1 Oct 2003 9:20 PM
Updated: Tue, 23 Mar 2004 7:17 PM
Description:
Case: extending a POM and give the same ID or don't override ID.
Problem: Maven gives obscure errors (such as "goal not found in multiproject"), and partical functionality (multiproject:clean succeeds, but doesn't clean)
Solution: this is not something you need to allow, so the simple solution is to fail with an error if pom.id = pom.parent.id during the inheritence code.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report 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