[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6059?page=c...
]
Brian Lavender commented on HHH-6059:
-------------------------------------
Yes, I would change the pom.xml file to war. I did not know about this until today. I am a
beginner with Maven. When I used "mvn war:war" it worked, so that is why I
submitted it.
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate.tutorials</groupId>
<packaging>war</packaging>
<artifactId>hibernate-tutorial</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>First Hibernate Tutorial</name>
mvn command wrong in documentation to create a war file
-------------------------------------------------------
Key: HHH-6059
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6059
Project: Hibernate Core
Issue Type: Bug
Components: documentation
Affects Versions: 3.6.2
Environment: downloaded package for .zip and .tar.gz and found error in
documentation
hibernate-distribution-3.6.2.Final/documentation/manual/en-US
Reporter: Brian Lavender
Priority: Minor
In section it says the following:
1.3.3. Deploying and testing
To build and deploy call mvn package in your project directory and copy the hibernate-
tutorial.war file into your Tomcat webapps directory.
But, to build a war file, you need to do the following with Maven.
mvn war:war
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira