maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] (MRESOURCES-142) Filter does not process sources
Date Thu, 23 Feb 2012 22:29:03 GMT

     [ https://jira.codehaus.org/browse/MRESOURCES-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Lundberg updated MRESOURCES-142:
---------------------------------------

    Description: 
Filter does not process sources.

pom.xml:
{code}
...
   <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>
...
{code}


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


  was:
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".


    
> Filter does not process sources
> -------------------------------
>
>                 Key: MRESOURCES-142
>                 URL: https://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:
> {code}
> ...
>    <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>
> ...
> {code}
> 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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message