I have a multimodule project where one of the modules is a web application therefor with war packaging.
The directory structure i use is the "normal" one with


src
|
- webapp
   |
   - WEB-INF


When i run m2 install from the parente module i get the following exception:

[ERROR] Cause:
org.apache.maven.plugin.MojoExecutionException: Error assembling WAR
at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:217)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:415)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(Defa
ultLifecycleExecutor.java:169)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:90)
at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:253)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)


at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
Caused by: org.codehaus.plexus.archiver.ArchiverException: Deployment descriptor
: C:\java\projectos\Digitalis\SIGES-Admin\target\siges-admin-1.0-SNAPSHOT\WEB-IN
F\web.xml does not exist.
at org.codehaus.plexus.archiver.war.WarArchiver.setWebxml(WarArchiver.ja
va:70)
at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:248
)
at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:212)
... 14 more



Any help out there ?


Cheers

Hugo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to