[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6059) mvn command wrong in documentation to create a war file

Brian Lavender (JIRA) noreply at atlassian.com
Mon Mar 28 17:23:08 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41883#action_41883 ] 

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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list