Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5054

parent pom and it's children

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.0.1
    • None
    • POM
    • None
    • windows 2003,jdk1.6

    Description

      in parent pom:
      <resources>
      <resource>
      <directory>main/src</directory>
      <includes>
      <include>*/.*</include>
      </includes>
      </resource>
      </resources>

      and in child pom:
      <resource>
      <directory>main/resources</directory>
      <includes>
      <include>*/.*</include>
      </includes>
      </resource>

      what really i want is :
      <resource>
      <directory>main/resources</directory>
      <includes>
      <include>*/.*</include>
      </includes>
      </resource>
      <resource>
      <directory>main/src</directory>
      <includes>
      <include>*/.*</include>
      </includes>
      </resource>

      but the fact is that what i declared in parent pom does not work.
      but when child pom does not contain the "resource", it works

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              qianxuechao qianxuechao
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: