[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6055?page=c...
]
Brian Lavender commented on HHH-6055:
-------------------------------------
I would put in version numbers that are valid at the time of the release. Otherwise, you
get errors like the following which deters the average hacker. The Harnessing Hibernate
books uses version numbers and while they are older versions, the examples work.
brian@davostro:~/src/hibernate$ mvn exec:java
-Dexec.mainClass="org.hsqldb.Server" -Dexec.args="-database.0
file:target/data/tutorial"
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.hibernate.tutorials:hibernate-tutorial
POM Location: /home/brian/src/hibernate/pom.xml
Validation Messages:
[0] 'dependencies.dependency.version' is missing for
org.hibernate:hibernate-core:jar
[1] 'dependencies.dependency.version' is missing for
javax.servlet:servlet-api:jar
[2] 'dependencies.dependency.version' is missing for
org.slf4j:slf4j-simple:jar
[3] 'dependencies.dependency.version' is missing for javassist:javassist:jar
Reason: Failed to validate POM for project org.hibernate.tutorials:hibernate-tutorial at
/home/brian/src/hibernate/pom.xml
Invalid pom.xml in documentation
--------------------------------
Key: HHH-6055
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6055
Project: Hibernate Core
Issue Type: Bug
Components: documentation
Affects Versions: 3.6.2
Environment: GNU/Linux
Reporter: Brian Lavender
Priority: Minor
Attachments: pom.xml, pom.xml
Sample pom.xml file in documentation should have version numbers for packages included.
While it does validate, maven will not run with the pom.xml file.
See hibernate-distribution-3.6.2.Final/documentation/manual/ and respective generated
documents for 1.1.1. Setup
--
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