maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rod Mclaughlin <Rod.Mclaugh...@omnimedix.org>
Subject How to specify where to copy particular files
Date Tue, 10 Apr 2007 18:21:34 GMT
I know how to make Maven copy a buncha files into the classpath, but 
does anyone know how to make it copy into a particular folder? Eg. I want
src/main/java/foo/bar.xml to go in
target/classes/foo/
next to bar.class?

Thanks for any assistance. I have of course googled for it, to no avail.

        <resources>
                <resource>
                <directory>${basedir}/war/WEB-INF</directory>
                <includes>
                    <include>*.properties</include>
                    <include>*.xml</include>
                </includes>
                </resource>
        </resources>



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


Mime
View raw message