Message:

  The following issue has been deleted from JIRA.

---------------------------------------------------------------------

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-442
    Summary: Reactor does not correctly find resources
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: INCOMPLETE

 Original Estimate: 0 minutes
 Time Spent: Unknown
  Remaining: 0 minutes

    Project: maven

   Assignee: Jason van Zyl
   Reporter: Bruce Chenoweth

    Created: Fri, 23 May 2003 3:00 PM
    Updated: Sat, 28 Jun 2003 8:09 AM
Environment: Win2K

Description:
When building sub-projects via the reactor, it appears as though Maven does not 
process java:jar-resource or test:test-resources correctly.

Example:
Suppose the subproject POM contains:
    <resources>
      <resource>
        <directory>src</directory>
        <includes>
          <include>**/*.properties</include>
          <include>**/*.cfg</include>
        </includes>
      </resource>
    </resources>

When running maven directly from the subproject's base directory, any resource 
matching the include expressions will be copied from the src directory to the 
corresponding target location per maven.build.dest.

However, if the same subproject is called via the reactor, these properties will NOT 
be copied before executing the JUnit testing.

It appears Maven attempts to locate these resources using the base directory of the 
parent project.

I tried specifying the resource directories using 
<directory>${basedir}/src</directory>, but that causes problems with other targets 
when executing maven from the subproject's directory.


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to