Filter does not process sources
-------------------------------

                 Key: MRESOURCES-142
                 URL: http://jira.codehaus.org/browse/MRESOURCES-142
             Project: Maven 2.x Resources Plugin
          Issue Type: Bug
    Affects Versions: 2.5
            Reporter: Rainer Flicker


Filter does not process sources.

pom.xml:
...
   <build>
     <resources>
       <resource>
         <directory>src/main/java</directory>
         <filtering>true</filtering>
         <targetPath>../filtered-sources/java</targetPath>
       </resource>
       <resource>
         <directory>src/main/resources</directory>
         <filtering>true</filtering>
         <excludes>
           <exclude>**/persistence-test.xml</exclude>
         </excludes>
       </resource>
     </resources>
     <sourceDirectory>target/filtered-sources/java</sourceDirectory>
...
---

mvn clean install -Djavamail.jndi="java:Mail"

With version 2.5, filtered sources contains ${javamail.jndi}, while with 
version 2.4.3,
they contain "java:Mail".


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

        

Reply via email to