I have a maven project containing 7 modules. In short there's 3 jar modules,
a module to add webstart, 2 war modules and one to put all in an ear.

Those all install well, but when I build the main there's an exception:

extract from the main logging:
... blablabla from previous modules, here a war packaged module gives an
error
********
*Exploding webapp...
*Assembling webapp finatmed-client-war in
D:\Workspace\finatmed-mvn\finatmed-client-war\target\finatmed-client-war
*Copy webapp webResources to
D:\Workspace\finatmed-mvn\finatmed-client-war\target\finatmed-client-war
*------------------------------------------------------------------------
*[ERROR]FATAL ERROR
*------------------------------------------------------------------------
*basedir src\main\webapp does not exist
*------------------------------------------------------------------------
*Trace
*java.lang.IllegalStateException: basedir src\main\webapp does not exist
*        at org.codehaus.plexus.util.DirectoryScanner.scan(
DirectoryScanner.java:542)
********
apparently this happens when the module called finatmed-client-war is
installed.

That module installs fine alone, and the following module that takes the war
to put it in an ear installs fine too.

I can't find similar behaviour anywhere(google, mailinglist,...) but I just
started with maven and perhaps missing some docs.

What am I missing here ?

Bart

Reply via email to