[
http://jira.codehaus.org/browse/MASSEMBLY-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163466#action_163466
]
Jeff Johnson commented on MASSEMBLY-329:
----------------------------------------
I have experienced the same issue and have a few more details. Please see
attachment "maven-assembly-plugin-bug-filtered.zip".
When running from the parent aggregator POM <filtered> works with <file>
elements but not with <fileSet> elements.
When running from the child module POM both <file> and <fileSet> elements are
properly filtered.
Note that when running from the child module POM the resulting
target/archive-tmp directory contains fileSetFormatter.*.tmp directories, but
not when running from the parent aggregator POM.
I will attach the resulting target directories as "target-aggregator.zip" and
"target-module.zip".
> Filter fail to initialize when build from parent pom while assembly is in
> child pom
> -----------------------------------------------------------------------------------
>
> Key: MASSEMBLY-329
> URL: http://jira.codehaus.org/browse/MASSEMBLY-329
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-2
> Environment: maven 2.0.9 Windows XP
> Reporter: Andy Yeung
> Attachments: maven-assembly-plugin-bug-filtered.zip,
> project-structure.zip
>
>
> I have the project structure which is the same as the attached file. When I
> try to execute mvn package in the user-ear project directly, the filters are
> initialized and executed. However if I try to execute mvn package in the
> parent directory. The filter is gone. When I use -X options, I didn't find
> the log message
> "[DEBUG] Initializing assembly filters..."
--
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