[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6909) "Getting Started Guide" example code cannot be run successfully
vector (JIRA)
noreply at atlassian.com
Tue Dec 20 01:11:19 EST 2011
"Getting Started Guide" example code cannot be run successfully
---------------------------------------------------------------
Key: HHH-6909
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6909
Project: Hibernate Core
Issue Type: Bug
Reporter: vector
Priority: Minor
After downloaded sample code as mentioned in http://docs.jboss.org/hibernate/core/3.6/quickstart/en-US/html/hibernate-gsg-preface.html, it cannot be run successfully by executing "mvn test", saying cannot find Event.hbm.xml.
The cause is the testResource directory name in root pom.xml was typed as "src/main/java", while the correct one should be "src/test/java", according to the code structure.
<build>
<testResources>
<testResource>
<filtering>false</filtering>
<directory>src/main/java</directory>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list