It sounds to me like you want to configure the maven-war-plugin with some excludes. Docs can be found here:
http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html On 6/16/09, turbo-555 <[email protected]> wrote: > > Hi all, > > I tried using the search, but I haven't found anything that could help me. > > I'm building a war package: > <packaging>war</packaging>.. > > but I need to keep out of the war the static part of the project, that would > be the whole webapp folder... > the structure of my project: > src: > -main: > -java > -resources > -webapp: > -help > -images > -static > -style > -WEB-INF > > > If I run mvn package I get a war with in it: > -help > -images > -static > -style > -... > > > is there a possibility to have mvn exclude these files? > I tried using the war plugin, but I must have missed something... > > > thanks > > -- > View this message in context: > http://www.nabble.com/Excluding-files-webapp-folder-from-a-war-tp24050485p24050485.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] > > -- Sent from my mobile device �...@n --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
