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 2003/09/21 02:13:10 UTC

[jira] Closed: (MAVEN-800) Test plugin doesn't copy resources correctly

Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-800


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-800
    Summary: Test plugin doesn't copy resources correctly
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: CANNOT REPRODUCE

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-test

   Assignee: 
   Reporter: Jason Chaffee

    Created: Tue, 9 Sep 2003 4:13 PM
    Updated: Sat, 20 Sep 2003 7:13 PM

Description:
The current plugin.jelly in CVS for the test plugin has changed from the last released version.  In particular, the "test-reources" goal has changed and no longer copies resources that aren't at the root level of the defined directory.

For example,  I have the following in my project.xml

    <unitTest>
      <includes>
        <include>**/*TestCase.java</include>
      </includes>
      <resources>
        <resource>
          <directory>src/test</directory>
          <includes>
            <include>**/*.messages</include>
            <include>**/*.xml</include>
          </includes>
        </resource>
      </resources>
    </unitTest>

and in src/test/com/foo/bar/ is the file test.xml

This file is NOT being copied to test-classes/com/foo/bar

old plugin.jelly:

        <resources:copy 
          resources="${pom.build.unitTest.resources}"
          todir="${maven.test.dest}" 
        />

current plugin.jelly:

          <maven:copy-resources
            resources="${pom.build.unitTest.resources}"
            todir="${maven.test.dest}"
          />


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