Jason is saying to remove the <plugin> stuff around it as it is
unnecessary. See below...

Wayne

On 6/9/12, Patrick <kc7...@gmail.com> wrote:
> Sorry, but I must be missing something.  I'd already read through that many
> times, and that's how I got this.  I thought I showed you how I was
> configuring it in the POM itself.  I would assume the confusion is caused by
> all those "..." sections which REALLY make the example unclear.
>
> On Jun 9, 2012, at 6:53 PM, Jason van Zyl wrote:
>
>> http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
>>
>> Note that filtering resources is one of the special plugins that is
>> configured in the POM itself.
>>
>> On Jun 9, 2012, at 9:11 PM, Patrick wrote:
>>
>>> I can't get the Maven resources plugin to filter.  Any advice?  I've
>>> looked through the documentation, but I can't find any complete examples.
>>>  Below it what I've managed to piece together, but it doesn't work.
>>>
>>> ./pom.xml:
>>> <project xmlns="http://maven.apache.org/POM/4.0.0";
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>>> <modelVersion>4.0.0</modelVersion>
>>>
>>> <name>seeingi-lib</name>
>>> <groupId>org.seeingi</groupId>
>>> <artifactId>seeingi-lib</artifactId>
>>> <version>1.0-SNAPSHOT</version>
>>> <packaging>jar</packaging>
>>>
>>> <build>
<!-- delete
>>>   <plugins>
>>>     <plugin>
>>>       <groupId>org.apache.maven.plugins</groupId>
>>>       <artifactId>maven-resources-plugin</artifactId>
>>>       <version>2.5</version>
>>>       <configuration>
-->
>>>         <resources>
>>>           <resource>
>>>             <directory>src/main/resources</directory>
>>>             <filtering>true</filtering>
>>>           </resource>
>>>         </resources>
<!-- delete
>>>       </configuration>
>>>     </plugin>
>>>   </plugins>
-->
>>> </build>
>>>
>>> </project>
>>>

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

Reply via email to