I guess this is also related to http://jira.codehaus.org/browse/MASSEMBLY-54

-allan

On 3/21/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> I have a build that consists of 3 modules and then a src directory for the
> assembly:
>
> ./common/*
> ./ear/*
> ./war/*
> ./src/*
>
> When I run an install, only the common.jar, war and ear are created. Then,
> if I want to create an assembly, I run assembly:assembly and this seems to
> run the build and then assembles the assembly. But, I have resources in my
> ./src directory that I want to replace values of, but running the mvn
> process-resources command does not seem to work.
>
> pom.xml:
> ==========================
>        <filters>
>             <filter>${basedir}/src/main/filters/filter.properties</filter>
>         </filters>
>
>         <resources>
>             <resource>
>                 <directory>${basedir}/src/main/resources</directory>
>                 <filtering>true</filtering>
>             </resource>
>         </resources>
>
>     </build>
>
>
> filter.properties:
> =======================================
> furl_version=1.3
>
>
>
> install script I want to replace:
> =======================================
> ln -s ./prod/furl/release/jboss-${furl_version} /jboss
>
>
>
>
>
> install script inside the  assembly:
> =======================================
> ln -s ./prod/furl/release/jboss-${furl_version} /jboss
>
>
> The value did not get filtered out.
>
>
>
>
> ---
> Thank You
> Mick Knutson
>
> Sr. Java/J2EE Consultant
> BASE logic, inc.
> (415) 648-1804 (S.F., CA)
> http://www.BASELogic.com
>
> Washington Mutual (WAMU) (Emeryville, California)
> ---
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to