[WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Ludwig Magnusson
The first example on this page http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering- webresources.html http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-w ebresources.html says that resources outside the src folder will be placed in the root of the

Re: [WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Joe Hindsley
Hi Ludwig, I would recommend putting those directories and files in the src/main/webapp directory. The maven war plugin puts everything under src/main/webapp into the base of the war. In your case: src/main/webapp/external-resource.jpg src/main/webapp/image2/external-resource2.jpg would

Re: [WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Joe Hindsley
To: Maven Users List Subject: Re: [WAR-plugin] Can I put my resources in their original folder? Hi Ludwig, I would recommend putting those directories and files in the src/main/webapp directory. The maven war plugin puts everything under src/main/webapp into the base of the war. In your case

RE: [WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Ludwig Magnusson
november 2009 17:02 To: Maven Users List Subject: Re: [WAR-plugin] Can I put my resources in their original folder? Hi Ludwig, I would recommend putting those directories and files in the src/main/webapp directory. The maven war plugin puts everything under src/main/webapp into the base