Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-1995

filtering element in pom.xml ignore properties

    Details

      Description

      <jvanzyl> you can mention it0091 as the test case
      The following pom.xml does not end up filtering the resources:

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

      <modelVersion>4.0.0</modelVersion>
      <groupId>org.objectweb.celtix</groupId>
      <artifactId>test</artifactId>
      <packaging>jar</packaging>
      <version>1.0</version>
      <name>Test</name>

      <properties>
      <filter.resources>true</filter.resources>
      </properties>

      <build>
      <resources>
      <resource>
      <directory>src/main/resources</directory>
      <includes>
      <include>**</include>
      </includes>
      <filtering>${filter.resources}</filtering>
      </resource>
      </resources>
      </build>
      </project>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sisbell Shane Isbell
                Reporter:
                dkulp Daniel Kulp
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: