maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MCOMPILER-47) Inhertitance does not work when having more than one level
Date Tue, 15 Jan 2008 12:00:57 GMT

     [ http://jira.codehaus.org/browse/MCOMPILER-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Bentmann updated MCOMPILER-47:
---------------------------------------

    Attachment: MCOMPILER-47.zip

I tried to reproduce this issue with the attached project hierarchy (using Maven 2.0.8) without
success. The source/target elements from the top-level parent are properly inherited by the
child such that the compilation succeeds. 

> Inhertitance does not work when having more than one level
> ----------------------------------------------------------
>
>                 Key: MCOMPILER-47
>                 URL: http://jira.codehaus.org/browse/MCOMPILER-47
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>            Reporter: Emmanuel L├ęcharny
>         Attachments: MCOMPILER-47.zip
>
>
> If trying to build some projects in a hierarchy which is more than one level high, then
the top level configuration is not correctly used.
> Our project (Apache Directory Server) is structured this way :
> <top-level>
>   |
>   +--> apacheds
>             |
>            +--> mitosis (and any other subprojects)
> When we try to compile the whole projet, we launch mvn install in the top-level. For
some unknown reason, if we don't put compilation directives in the apacheds pom.xml (for instance,
the jdk version to use), then mitosis does not use the directive ut in the top-level pom.xml
> Each pom.xml correctly declare their parent pom.xml, ie mitosis depends on apacheds pom.xml,
and apacheds depends on top-level pom.xml

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

       

Mime
View raw message