maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adilaijaz <>
Subject Two Resource Files In Same Dir ... One Having Property Replaced, Another Does Not
Date Mon, 06 Jan 2014 20:49:45 GMT
Hi there,

I have two resource files in the same dir: a.job and b.job. They have the
following line in both of them:


where mongo.cli.home is a property defined in a filter file.

When I run clean package, a.job gets filtered, the other does not. This is
baffling to me. 

When running mvn -X -P staging resources:resources I see this curtailed

[DEBUG] file a.job has a filtered file extension
[DEBUG] filering /Users/adilaijaz/workspace/apps/target/jobs/a.job to
[DEBUG] file b.job has a filtered file extension
[DEBUG] filering /Users/adilaijaz/workspace/apps/target/jobs/b.job to

When I look at filtered a.job, I see this output:


And b.job looks like:


I am stumped. Any pointers will be helpful. I am using the following version
of maven:

[adilaijaz@ ~/workspace]$ mvn -version
Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: /usr/share/maven
Java version: 1.6.0_41, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac"

View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message