[hibernate-commits] Hibernate SVN: r14693 - in commons-annotations/trunk: ivy and 3 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue May 27 14:37:22 EDT 2008


Author: epbernard
Date: 2008-05-27 14:37:22 -0400 (Tue, 27 May 2008)
New Revision: 14693

Added:
   commons-annotations/trunk/src/java/org/hibernate/annotations/common/Version.java
Modified:
   commons-annotations/trunk/changelog.txt
   commons-annotations/trunk/ivy/ivyconf.xml
   commons-annotations/trunk/lib/README.txt
   commons-annotations/trunk/readme.txt
   commons-annotations/trunk/src/java/org/hibernate/annotations/common/reflection/java/JavaReflectionManager.java
Log:
Release

Modified: commons-annotations/trunk/changelog.txt
===================================================================
--- commons-annotations/trunk/changelog.txt	2008-05-27 17:43:29 UTC (rev 14692)
+++ commons-annotations/trunk/changelog.txt	2008-05-27 18:37:22 UTC (rev 14693)
@@ -1,6 +1,14 @@
 Hibernate Annotations Changelog
 ===============================
 
+3.1.0.CR1 (27-05-2008)
+----------------------
+
+** New Feature
+    * [HCANN-1] - Move to slf4j
+    * [HCANN-2] - Add POM
+    * [HCANN-3] - Make build independent of Hibernate Core structure
+
 3.0.0.GA (19-03-2007)
 ---------------------
 

Modified: commons-annotations/trunk/ivy/ivyconf.xml
===================================================================
--- commons-annotations/trunk/ivy/ivyconf.xml	2008-05-27 17:43:29 UTC (rev 14692)
+++ commons-annotations/trunk/ivy/ivyconf.xml	2008-05-27 18:37:22 UTC (rev 14693)
@@ -12,6 +12,9 @@
                 <ivy pattern="../[module]/target/[revision]/ivy.xml"/>
                 <artifact pattern="../[module]/target/[revision]/[artifact].[ext]"/>
             </filesystem>
+            <filesystem name="maven-local" m2compatible="true">
+                <artifact pattern="${maven.local.repo}/[organization]/hibernate-[module]/[revision]/hibernate-[artifact]-[revision].[ext]"/>
+            </filesystem>
             <url name="jboss-rep-maven-regular" m2compatible="true">
                 <artifact pattern="http://repository.jboss.org/maven2/[organization]/[module]/[revision]/[artifact]-[revision].[ext]"/>
             </url>

Modified: commons-annotations/trunk/lib/README.txt
===================================================================
--- commons-annotations/trunk/lib/README.txt	2008-05-27 17:43:29 UTC (rev 14692)
+++ commons-annotations/trunk/lib/README.txt	2008-05-27 18:37:22 UTC (rev 14693)
@@ -3,9 +3,10 @@
 
 Core
 ====
-commons-logging.jar (see Hibernate Core version): required
-log4j.jar (see Hibernate Core version): optional
+slf4j-api.jar (see Hibernate Core version): required
+slf4j-*.jar (eg. slf4j-log4j12): required
+Your favorite logging framework: required
 
 Test
 ====
-ejb3-persistence.jar (final release version): required
\ No newline at end of file
+ejb3-persistence.jar (1.0.2): required
\ No newline at end of file

Modified: commons-annotations/trunk/readme.txt
===================================================================
--- commons-annotations/trunk/readme.txt	2008-05-27 17:43:29 UTC (rev 14692)
+++ commons-annotations/trunk/readme.txt	2008-05-27 18:37:22 UTC (rev 14693)
@@ -1,6 +1,6 @@
 Hibernate Commons Annotations
 ==================================================
-Version: 3.0.0.GA, 19.03.2007
+Version: 3.1.0.CR1, 27.05.2008
 
 Description
 -----------

Added: commons-annotations/trunk/src/java/org/hibernate/annotations/common/Version.java
===================================================================
--- commons-annotations/trunk/src/java/org/hibernate/annotations/common/Version.java	                        (rev 0)
+++ commons-annotations/trunk/src/java/org/hibernate/annotations/common/Version.java	2008-05-27 18:37:22 UTC (rev 14693)
@@ -0,0 +1,19 @@
+package org.hibernate.annotations.common;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * @author Emmanuel Bernard
+ */
+public class Version {
+	public static final String VERSION = "3.1.0.CR1";
+	private static Logger log = LoggerFactory.getLogger( Version.class );
+
+	static {
+		log.info( "Hibernate Commons Annotations {}", VERSION );
+	}
+
+	public static void touch() {
+	}
+}

Modified: commons-annotations/trunk/src/java/org/hibernate/annotations/common/reflection/java/JavaReflectionManager.java
===================================================================
--- commons-annotations/trunk/src/java/org/hibernate/annotations/common/reflection/java/JavaReflectionManager.java	2008-05-27 17:43:29 UTC (rev 14692)
+++ commons-annotations/trunk/src/java/org/hibernate/annotations/common/reflection/java/JavaReflectionManager.java	2008-05-27 18:37:22 UTC (rev 14693)
@@ -20,6 +20,7 @@
 import org.hibernate.annotations.common.reflection.java.generics.TypeSwitch;
 import org.hibernate.annotations.common.reflection.java.generics.TypeUtils;
 import org.hibernate.annotations.common.util.ReflectHelper;
+import org.hibernate.annotations.common.Version;
 
 /**
  * The factory for all the objects in this package.
@@ -30,7 +31,11 @@
  */
 public class JavaReflectionManager implements ReflectionManager {
 
-    private static class TypeKey extends Pair<Type, TypeEnvironment> {
+	static {
+		Version.touch();
+	}
+
+	private static class TypeKey extends Pair<Type, TypeEnvironment> {
 		TypeKey(Type t, TypeEnvironment context) {
 			super( t, context );
 		}




More information about the hibernate-commits mailing list