maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helge Olav Aarstein (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MASSEMBLY-206) Filtering does not work when using in fileSet inside moduleSet
Date Tue, 09 Jun 2009 12:18:42 GMT

    [ http://jira.codehaus.org/browse/MASSEMBLY-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179769#action_179769
] 

Helge Olav Aarstein commented on MASSEMBLY-206:
-----------------------------------------------

Have a similar problem on a multi-module project using a re-usable assembly descriptor:

Filtering works fine on <file> elements across the modules, but the variables are not
expanded on <fileSet> elements if mvn package is executed on the parent project.

> Filtering does not work when using in fileSet inside moduleSet
> --------------------------------------------------------------
>
>                 Key: MASSEMBLY-206
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-206
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>         Environment: win32
>            Reporter: Liya Katz
>             Fix For: 2.2
>
>
> i have a descriptor : 
> 	<moduleSet>
> 		  <includes>
> 			<include>com.cc:module1</include>
> 			<include>com.cc:module2</include>
> 			<include>com.cc:module3</include>
> 		  </includes>
> 		  <sources>
> 			  <fileSets>
> 				  <fileSet>					
> 					<directory>src/main</directory>
> 					<filtered>true</filtered>
> 					<outputDirectory>core</outputDirectory>
> 					<includes>
> 						<include>conf/*</include>
> 					</includes>	
> 				  </fileSet>				  
> 			</fileSets>	
> 			<includeModuleDirectory>false</includeModuleDirectory>
> 		  </sources>		 
>         </moduleSet>
> and although there is "<filtered>true</filtered>", the copied sources are
not filtered.

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

        

Mime
View raw message