You're not using the default folder for the webapp sources.
So either change your folder structure (using src/main/webapp instead of
WebContent)
or configure
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#warSourceDirectory
Robert
Op Mon, 16 Apr 2012 18:19:12 +0200 schreef titans odess...@mail.ru:
Hello. I'm doing a training project on Eclipse with Spring MVC and
Hibernate.
The problem is that I am exporting to the Eclipse WAR file, but TomCat
sees
it as one error. I decided to try to compile the project in Maven.
However,
after compiling I see in war only archive of the folder WEB-INF (web.xml
and
the location of the libraries) and the META-INF. There is no jsp file,
why?
Help me
The context of pom.xml
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion
groupIdtableFinish/groupId
artifactIdtableFinish/artifactId
packagingwar/packaging
version1.0/version
nametableFinish/name
repositories
repository
idcom.springsource.repository.bundles.release/id
nameEBR Spring Release Repository/name
urlhttp://repository.springsource.com/maven/bundles/release/url
/repository
repository
idcom.springsource.repository.bundles.external/id
nameEBR External Release Repository/name
urlhttp://repository.springsource.com/maven/bundles/external/url
/repository
/repositories
properties
org.springframework.version3.0.1.RELEASE/org.springframework.version
/properties
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
configuration
webXmlWebContent\WEB-INF\web.xml/webXml
/configuration
/plugin
plugin
artifactIdmaven-compiler-plugin/artifactId
version2.1/version
configuration
source1.5/source
target1.5/target
/configuration
/plugin
/plugins
/build
dependencies
dependency
groupIdorg.springframework/groupId
artifactIdorg.springframework.core/artifactId
version${org.springframework.version}/version
/dependency
dependency
groupIdorg.springframework/groupId
artifactIdorg.springframework.web/artifactId
version${org.springframework.version}/version
/dependency
dependency
groupIdorg.springframework/groupId
artifactIdorg.springframework.web.servlet/artifactId
version${org.springframework.version}/version
/dependency
dependency
groupIdcommons-logging/groupId
artifactIdcommons-logging/artifactId
version1.1.1/version
/dependency
dependency
groupIdjavax.servlet/groupId
artifactIdservlet-api/artifactId
version2.5/version
/dependency
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version4.8.1/version
/dependency
/dependencies
descriptiontableFinish/description
/project
http://maven.40175.n5.nabble.com/file/n5644304/d1.png
http://maven.40175.n5.nabble.com/file/n5644304/d2.png
--
View this message in context:
http://maven.40175.n5.nabble.com/Maven-don-t-include-index-jsp-tp5644304p5644304.html
Sent from the Maven Developers mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org
-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org