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/02/04 22:54:59 UTC

[jira] Updated: (MAVEN-1150) maven.xml inheritance strangeness

The following issue has been updated:

    Updater: Sean Timm (mailto:stimm@proclarity.com)
       Date: Wed, 4 Feb 2004 4:53 PM
    Comment:
Here's the attachment demonstrating the problem.
    Changes:
             Attachment changed to inheritance.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1150&page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1150

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1150
    Summary: maven.xml inheritance strangeness
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             inheritance
   Versions:
             1.0-rc2

   Assignee: 
   Reporter: Sean Timm

    Created: Wed, 4 Feb 2004 4:52 PM
    Updated: Wed, 4 Feb 2004 4:53 PM

Description:
The attachment contains child/project.xml that extends project-base.xml.  There is a maven.xml file in the folder with project-base.xml as well as a maven.xml in the child folder.

If you go to the child folder and type "maven different", it will successfully output "ECHO".  If you type "maven" or "maven footest", you'll get a TargetInvocationException due to the echo call in the parent's maven.xml.  Note that other jelly tags work successfully in the parent...it appears to be an issue just with Ant tags.

Additionally, if you remove the maven.xml from the child folder, and then type "maven footest" in the child folder, you get a "no such goal" error rather than executing the inherited maven.xml goal.


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