Two possibilities: 1. You could try running an ant <delete> task right before packaging to delete target/classes. I'm not sure if that would work or if it would break something, since I'm sure the m-war-p is going to be looking for that directory. But it would be easy to try and find out.
2. You could hack in a new optional configuration parameter that would tell the WAR plugin "don't include target/classes if it is empty" and then offer it back to the plugin dev team via JIRA. But there's a chance it wouldn't be accepted etc and then you're stuck maintaining your own internal patched m-w-p until it is. Wayne On 1/23/08, Jeff Mutonho <[EMAIL PROTECTED]> wrote: > Not really .The idea was just to match the war that RAD 6 creates so that I > avoid the "it's because of the 'classes' folder that maven created" issue > > On Jan 23, 2008 2:49 PM, Stephane Nicoll <[EMAIL PROTECTED]> wrote: > > > Nope. Is it a problem? > > > > On Jan 23, 2008 1:13 PM, Jeff Mutonho <[EMAIL PROTECTED]> wrote: > > > The web module for our project does not have have any java src , only a > > > couple of wsdls ,some ibm binding xml files and the web.xml file. > > > When I build the war using the maven-war-plugin , I noticed a > > "classes" > > > directory is created under the war's WEB-INF folder. Since there no > > java > > > code > > > , this "classes" folder is empty (which makes sense). Is there a way I > > can > > > configure the maven-war-plugin to not bother with creating this empty > > > "classes" folder? > > > > > > > > > -- > > > > > > "Don't take the name of root in vain." > > > > > > Jeff Mutonho > > > Cape Town > > > South Africa > > > > > > GoogleTalk : ejbengine > > > Skype : ejbengine > > > Registered Linux user number 366042 > > > > > > > > > > > -- > > Large Systems Suck: This rule is 100% transitive. If you build one, > > you suck" -- S.Yegge > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > > "Don't take the name of root in vain." > > Jeff Mutonho > Cape Town > South Africa > > GoogleTalk : ejbengine > Skype : ejbengine > Registered Linux user number 366042 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
