All,

In vain I have tried to configure the maven-resources-plugin to move only
ONE file from the resources directory ([project-root]/src/main/resources),
but I always end up in moving all files and subdirectories or no files at
all.

Can some one please tell me what I'm doing wrong?

Below is my attempt that resulted in ALL files and folders (including the
excluded log4j.properties file) were moved to the WEB-INF directory
<build>
      <plugin>
        <artifactId>maven-resources-plugin</artifactId>
        <configuration>
        
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/</outputDirectory>
                <resources>
                <includes>
                        <include>fenix-servlet.xml</include>
                </includes>
                <excludes>
                        <exclude>log4j.properties</exclude>
                </excludes>
                </resources>
        </configuration>
      </plugin>
</build>
-- 
View this message in context: 
http://www.nabble.com/-M2--move-resource-files-tf2600050s177.html#a7253317
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to