diff --git a/core/pom.xml b/core/pom.xml index 354d826eab..604c60e0de 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -87,6 +87,16 @@ + + maven-jar-plugin + + + + org.hibernate.Version + + + + diff --git a/core/src/main/java/org/hibernate/Version.java b/core/src/main/java/org/hibernate/Version.java index eaf1d13e95..83e96ea612 100644 --- a/core/src/main/java/org/hibernate/Version.java +++ b/core/src/main/java/org/hibernate/Version.java @@ -32,4 +32,8 @@ public class Version { public static String getVersionString() { return "3.5.0-SNAPSHOT"; } + + public static void main(String[] args) { + System.out.println( "Hibernate version " + getVersionString() ); + } } diff --git a/parent/pom.xml b/parent/pom.xml index 4bb75aa833..f4a02c3e74 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -157,7 +157,7 @@ true - ${pom.url} + http://hibernate.org