[Commented] (MWAR-404) <filteringDeploymentDescriptors>true</> is not honored

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

[Commented] (MWAR-404) <filteringDeploymentDescriptors>true</> is not honored

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/MWAR-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15933332#comment-15933332 ]

Francis ANDRE commented on MWAR-404:

That's the same result with the 3.0.0 version
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building webapp Maven Webapp 0.0.1
[INFO] ------------------------------------------------------------------------
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ webapp ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ webapp ---
[INFO] Nothing to compile - all classes are up to date
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ webapp ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\MXW\DEMOS\MI-4.1.1\zsample.webapp\src\test\resources
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ webapp ---
[INFO] No sources to compile
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ webapp ---
[INFO] --- maven-war-plugin:3.0.0:war (default-war) @ webapp ---
[INFO] Packaging webapp
[INFO] Assembling webapp [webapp] in [C:\MXW\DEMOS\MI-4.1.1\zsample.webapp\target\webapp]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\MXW\DEMOS\MI-4.1.1\zsample.webapp\src\main\webapp]
[INFO] Webapp assembled in [130 msecs]
[INFO] Building war: C:\MXW\DEMOS\MI-4.1.1\zsample.webapp\target\webapp.war
[INFO] --- maven-install-plugin:2.4:install (default-install) @ webapp ---
[INFO] Installing C:\MXW\DEMOS\MI-4.1.1\zsample.webapp\target\webapp.war to C:\Users\FrancisANDRE\.m2\repository\zsample\webapp\0.0.1\webapp-0.0.1.war
[INFO] Installing C:\MXW\DEMOS\MI-4.1.1\zsample.webapp\pom.xml to C:\Users\FrancisANDRE\.m2\repository\zsample\webapp\0.0.1\webapp-0.0.1.pom
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.807 s
[INFO] Finished at: 2017-03-20T20:10:26+01:00
[INFO] Final Memory: 12M/300M
[INFO] ------------------------------------------------------------------------

> <filteringDeploymentDescriptors>true</> is not honored
> ------------------------------------------------------
>                 Key: MWAR-404
>                 URL: https://issues.apache.org/jira/browse/MWAR-404
>             Project: Maven WAR Plugin
>          Issue Type: Bug
>          Components: filtering
>    Affects Versions: 2.2
>         Environment: Win7 Pro SP1,
> C:\MXW\DEMOS\MI-4.1.1\MI_Install_Builder>C:\ASF\apache-maven-3.2.5\bin\mvn --version
> Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00)
> Maven home: C:\ASF\apache-maven-3.2.5
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_45\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Francis ANDRE
>         Attachments: zsample.webapp.zip
> In the zsample.webapp.zip project joined, the src/main/webapp/WEB-INF/geronimo-web.xml contains a filtered version as
> <version>${foo}</version>
> While the element <filteringDeploymentDescriptors>true</> is set in the pom and the foo property is set to 4.1.1, it appears that the resulting geronimo-web.xm is not filtered.

This message was sent by Atlassian JIRA