You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2015/07/08 07:21:04 UTC
karaf git commit: [KARAF-3833] Cleanup jpa/hibernate pom
Repository: karaf
Updated Branches:
refs/heads/master 17b16afc7 -> 213eddfce
[KARAF-3833] Cleanup jpa/hibernate pom
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/213eddfc
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/213eddfc
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/213eddfc
Branch: refs/heads/master
Commit: 213eddfce04ad54a8bed82e01304e2b09cdc409b
Parents: 17b16af
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Wed Jul 8 07:20:37 2015 +0200
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Wed Jul 8 07:20:37 2015 +0200
----------------------------------------------------------------------
jpa/hibernate/README | 8 +++++
jpa/hibernate/pom.xml | 68 +++++++++++++++++++++++--------------------
jpa/hibernate/readme.txt | 8 -----
3 files changed, 45 insertions(+), 39 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/213eddfc/jpa/hibernate/README
----------------------------------------------------------------------
diff --git a/jpa/hibernate/README b/jpa/hibernate/README
new file mode 100644
index 0000000..6f1b560
--- /dev/null
+++ b/jpa/hibernate/README
@@ -0,0 +1,8 @@
+To use this module install jpa and hibernate features, then install bundles providing persistence units.
+
+install -s mvn:org.apache.karaf.jpa/hibernate/4.0.0
+The hibernate module will provide one StatisticsMXBean for each persistence unit with an oname like this:
+org.hibernate.statistics:unitName=<name of persistence unit>
+
+Also see
+https://docs.jboss.org/hibernate/core/4.2/javadocs/org/hibernate/stat/Statistics.html
http://git-wip-us.apache.org/repos/asf/karaf/blob/213eddfc/jpa/hibernate/pom.xml
----------------------------------------------------------------------
diff --git a/jpa/hibernate/pom.xml b/jpa/hibernate/pom.xml
index 9c292fc..ad3b0b1 100644
--- a/jpa/hibernate/pom.xml
+++ b/jpa/hibernate/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
@@ -18,38 +19,42 @@
limitations under the License.
-->
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.karaf.jpa</groupId>
- <artifactId>jpa-parent</artifactId>
- <version>4.0.1-SNAPSHOT</version>
- </parent>
- <artifactId>hibernate</artifactId>
- <packaging>bundle</packaging>
-
- <dependencies>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>4.2.8.Final</version>
- </dependency>
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.karaf.jpa</groupId>
+ <artifactId>jpa-parent</artifactId>
+ <version>4.0.1-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>hibernate</artifactId>
+ <packaging>bundle</packaging>
+ <name>Apache Karaf :: JPA :: Hibernate</name>
+ <description>This bundle provides one StatisticsMXBean for each persistence unit with an oname like this: org.hibernate.statistics:unitName=...</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ <version>${hibernate42.version}</version>
+ </dependency>
<dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-entitymanager</artifactId>
- <version>4.2.8.Final</version>
- </dependency>
- </dependencies>
-
- <build>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-entitymanager</artifactId>
+ <version>${hibernate42.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
@@ -65,4 +70,5 @@
</plugin>
</plugins>
</build>
+
</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/karaf/blob/213eddfc/jpa/hibernate/readme.txt
----------------------------------------------------------------------
diff --git a/jpa/hibernate/readme.txt b/jpa/hibernate/readme.txt
deleted file mode 100644
index 5a57356..0000000
--- a/jpa/hibernate/readme.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-To use this module install jpa and hibernate features, then install bundles providing persistence units.
-
-install -s mvn:org.apache.karaf.jpa/hibernate/4.0.0-SNAPSHOT
-The hibernate module will provide one StatisticsMXBean for each persistence unit with an oname like this:
-org.hibernate.statistics:unitName=<name of persistence unit>
-
-Also see
-https://docs.jboss.org/hibernate/core/4.2/javadocs/org/hibernate/stat/Statistics.html