When I use
mvn compile war:war
instead, I get the same error I was getting before:
"Error assembling war: webxml attribute is required"
The web page you pointed me to has one project structure but I am using a
different project structure, which involves having two modules in one project.
So I pasted in the source for the pom for the web part. There seems to be a
requirement that I have something like
Project dir
core
src
main
web
src
main
webapp
aaa
bbb
ccc
FrontController.java
WEB-INF
web.xml
In case this loses formatting in email, core and web are at the same directory
level under the project directory and aaa and WEB-INF are at the same directory
level under webapp.
Do I need to do more to tell Maven the paths under web so that it can find
WEB-INF? Thanks.
Ken
Kenneth D. Litwak, Ph.D.
Azusa Pacific University
901 E. Alosta Ave.
Azusa, CA 91702
-----Original Message-----
From: Hilco Wijbenga [mailto:[email protected]]
Sent: Tuesday, February 01, 2011 4:17 PM
To: Maven Users List
Subject: Re: Nothing put into target directories
On 1 February 2011 16:03, Kenneth Litwak <[email protected]> wrote:
> I have created a test directory hierarchy under "web/src," for example,
> and I don't see any evidence that Maven even saw that. Thanks.
Did you read http://maven.apache.org/plugins/maven-war-plugin/usage.html?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]