You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Patrick Reinhart (Jira)" <ji...@apache.org> on 2023/09/19 18:12:00 UTC

[jira] [Created] (MRESOURCES-301) nonFilteredFileExtension not taken into account

Patrick Reinhart created MRESOURCES-301:
-------------------------------------------

             Summary: nonFilteredFileExtension not taken into account
                 Key: MRESOURCES-301
                 URL: https://issues.apache.org/jira/browse/MRESOURCES-301
             Project: Maven Resources Plugin
          Issue Type: Bug
    Affects Versions: 3.3.1
            Reporter: Patrick Reinhart


Specified
{code:java}
<nonFilteredFileExtension>jar</
nonFilteredFileExtension>{code}
not taken into account.

Eventhough specified within the config block the extension {{jar}} is not taken into account:

Debug output:
{code:java}
...
[DEBUG] Copying file border8.png
[DEBUG] file border8.png has a non filtered file extension
[DEBUG] Using 'UTF-8' encoding to copy filtered resource 'border8.png'.
[DEBUG] copy /home/pr/git/izpack/izpack/izpack-dist/src/main/resources/border8.png to /home/pr/git/izpack/izpack/izpack-dist/target/classes/border8.png
[DEBUG] Copying file lib/kunststoff.jar
[DEBUG] file kunststoff.jar has a filtered file extension
[DEBUG] Using 'UTF-8' encoding to copy filtered resource 'kunststoff.jar'.
[DEBUG] filtering /home/pr/git/izpack/izpack/izpack-dist/src/main/resources/lib/kunststoff.jar to /home/pr/git/izpack/izpack/izpack-dist/target/classes/lib/kunststoff.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for IzPack dist module 5.2.1-SNAPSHOT:
[INFO] 
[INFO] IzPack dist module ................................. FAILURE [  0.884 s]
[INFO] IzPack install/uninstall test listeners ............ SKIPPED
[INFO] IzPack test module ................................. SKIPPED
[INFO] IzPack aggregated reports .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.075 s
[INFO] Finished at: 2023-09-19T20:04:08+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources (default-cli) on project izpack-dist: filtering /home/pr/git/izpack/izpack/
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)