maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Marlow (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MASSEMBLY-327) Using filtered within dependencySet unpackOptions
Date Sun, 04 Oct 2009 06:59:03 GMT

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

Andrew Marlow commented on MASSEMBLY-327:
-----------------------------------------

This feature is very important in a project I am working on. I am trying to replace our use
of ant with maven and have got stuck replacing an ant task that copies files and substituting
variable placeholders for their values during the copy. It does this  in ant using filterset.
I was hoping that this plugin would give the same functionality (via the filter during unpack
in the dependencySet).


> Using filtered within dependencySet unpackOptions
> -------------------------------------------------
>
>                 Key: MASSEMBLY-327
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-327
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-2
>            Reporter: Andy Yeung
>
> The files within the unpacked jar did not apply the filters defined.
> pom configuration includes
> 				<configuration>
> 					<filters>
> 						<filter>src/assemble/filter.properties</filter>
> 					</filters>
> 				</configuration>
> which contains 
>    storage.id=abcde
> assembly.xml defines dependency set
> 		<dependencySet>
> 			<outputDirectory>/snp-agent1</outputDirectory>
> 			<unpack>true</unpack>
> 			<unpackOptions>
> 				<filtered>true</filtered>
> 			</unpackOptions>
> 			<scope>runtime</scope>
> 			<includes>
> 				<include>
> 					XXX.agent:agent-ear-config
> 				</include>
> 			</includes>
> 		</dependencySet>
> However, the files within 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