Hi all,
I am temporarily trying to exclude various packages and source files from my
web-app's build process.
I first tried in Eclipse: right click package/file > build path > exclude.
That doesn't work.
I then tried adding build resources excludes to my POM. Unfortunately,
despite trying a combination of directories and exclude patterns, my build
still attempts to compile all sources. Shouldn't the following example
should exclude all files under src?
<project>
<build>
<finalName>myApp</finalName>
<resources>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*</exclude>
</excludes>
</resource>
</resources>
</build>
</project>
I have spent some time trying to figure out what I may be doing wrong, along
with a fair bit of experimentation. Please could someone help put me out of
my misery! :D
--
View this message in context:
http://www.nabble.com/Excluding-Build-Resources-Within-POM-File-tp24604045p24604045.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]