Hi,

I have a filters block:
     <filters>
      
<filter>/etc/${project.artifactId}/${project.artifactId}.properties</filter>
     </filters>
as given here:
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
I was delighted with this!

However I find that this has only started to work in 3.0.4, which I happened
to have on my laptop.

It does not work on 3.0.3, I have tried many combinations of

  <pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <version>2.5</version>
        <dependencies>
         <dependency>
          <groupId>org.apache.maven.shared</groupId>
          <artifactId>maven-filtering</artifactId>
          <version>1.0</version>
         </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </pluginManagement>

but these do not seem to have had any effect.

I can update to 3.0.4 on the build server, but it would be nice find a
configuration which worked on 3.0.3
and 2.x maven as well.

cheers
Tim


-- 
Tim Pizey - http://pizey.net/~timp

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to