HHH-3781 - Echo version information to the console in main()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_3@16872 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
b92155efeb
commit
2961dbf9d1
10
core/pom.xml
10
core/pom.xml
|
@ -88,6 +88,16 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>org.hibernate.Version</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
|
@ -32,4 +32,8 @@ public class Version {
|
|||
public static String getVersionString() {
|
||||
return "3.3.2-SNAPSHOT";
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println( "Hibernate version " + getVersionString() );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,7 +156,7 @@
|
|||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-URL>${pom.url}</Implementation-URL>
|
||||
<Implementation-URL>http://hibernate.org</Implementation-URL>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
|
|
Loading…
Reference in New Issue