maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "qianxuechao (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-5054) parent pom and it's children
Date Thu, 24 Mar 2011 04:06:22 GMT
parent pom and it's children
----------------------------

                 Key: MNG-5054
                 URL: http://jira.codehaus.org/browse/MNG-5054
             Project: Maven 2 & 3
          Issue Type: Wish
          Components: POM
    Affects Versions: 3.0.1
         Environment: windows 2003,jdk1.6
            Reporter: qianxuechao


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

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