Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add hibernate bom

  • Loading branch information...
commit 01c780e3c5ecdf78d71af94dd92633cbd84f4db7 1 parent d65a43e
@stliu stliu authored pmuir committed
View
26 .gitignore
@@ -2,3 +2,29 @@ README.html
CONTRIBUTING.html
.project
.settings
+
+# Build output directies
+/target
+*/target
+
+# IntelliJ specific files/directories
+out
+.idea
+*.ipr
+*.iws
+*.iml
+atlassian-ide-plugin.xml
+
+# Eclipse specific files/directories
+.classpath
+.project
+.settings
+.metadata
+bin
+
+# NetBeans specific files/directories
+.nbattrs
+
+# Miscellaneous
+*.log
+.clover
View
22 jboss-javaee-6.0-with-hibernate/README.md
@@ -0,0 +1,22 @@
+This BOM builds on the Java EE full profile BOM, adding Hibernate family projects (Hibernate ORM, Hibernate Search,
+Hibernate Validator).
+
+It also provides tool projects such as Hibernate JPA Model Gen and Hibernate Validator Annotation Processor.
+
+Usage
+=====
+
+To use the BOM, import into your dependency management:
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.bom</groupId>
+ <artifactId>jboss-javaee-6.0-with-hibernate</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <type>pom</scope>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
View
153 jboss-javaee-6.0-with-hibernate/pom.xml
@@ -0,0 +1,153 @@
+<?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/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.jboss.bom</groupId>
+ <version>1.0.0-SNAPSHOT</version>
+ <artifactId>jboss-bom-parent</artifactId>
+ </parent>
+
+ <artifactId>jboss-javaee-6.0-with-hibernate</artifactId>
+
+ <packaging>pom</packaging>
+
+ <name>JBoss Java EE 6 Specification APIs with Hibernate</name>
+ <description>Dependency Management for Java EE 6 Specification APIs with Hibernate projects</description>
+
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License, Version 2.1</name>
+ <url>http://www.gnu.org/licenses/lgpl-2.1.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <properties>
+ <!-- Version properties are inherited from parent -->
+ </properties>
+
+ <dependencyManagement>
+
+ <dependencies>
+ <!-- JBoss distributes a complete set of Java EE 6 APIs including
+ a Bill of Materials (BOM). A BOM specifies the versions of a "stack" (or
+ a collection) of artifacts. We use this here so that we always get the correct
+ versions of artifacts. Here we use the jboss-javaee-6.0 stack (you can
+ read this as the JBoss stack of the Java EE full Profile 6 APIs), and we use
+ version 3.0.0.Beta1 which is the latest release of the stack. You can actually
+ use this stack with any version of JBoss AS that implements Java EE 6, not
+ just JBoss AS 7! -->
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <version>${version.org.jboss.spec.jboss.javaee.6.0}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+
+ <!-- Hibernate ORM sub-modules -->
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ <version>${version.org.hibernate}</version>
+ <!-- this already part of JDK6 -->
+ <exclusions>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-entitymanager</artifactId>
+ <version>${version.org.hibernate}</version>
+
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-envers</artifactId>
+ <version>${version.org.hibernate}</version>
+
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-infinispan</artifactId>
+ <version>${version.org.hibernate}</version>
+ <!-- we use org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec from hibernate-core here -->
+ <exclusions>
+ <exclusion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-transaction-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-c3p0</artifactId>
+ <version>${version.org.hibernate}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-ehcache</artifactId>
+ <version>${version.org.hibernate}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-proxool</artifactId>
+ <version>${version.org.hibernate}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>${version.org.hibernate.validator}</version>
+
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-search</artifactId>
+ <version>${version.org.hibernate.search}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-search-analyzers</artifactId>
+ <version>${version.org.hibernate.search}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-search-engine</artifactId>
+ <version>${version.org.hibernate.search}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-search-infinispan</artifactId>
+ <version>${version.org.hibernate.search}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-search-orm</artifactId>
+ <version>${version.org.hibernate.search}</version>
+ </dependency>
+
+ <!-- Tools -->
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator-annotation-processor</artifactId>
+ <version>${version.org.hibernate.validator}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-jpamodelgen</artifactId>
+ <version>${version.org.hibernate-jpamodelgen}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+</project>
+
View
11 jboss-javaee-6.0-with-tools/README.md
@@ -9,11 +9,12 @@ To use the BOM, import into your dependency management:
<dependencyManagement>
<dependencies>
- <dependency>
- <groupId>org.jboss.bom</groupId>
- <artifactId>jboss-javaee-6.0-with-tools</artifactId>
- <version>1.0.0.M2</version>
- <scope>import</scope>
+ <dependency>
+ <groupId>org.jboss.bom</groupId>
+ <artifactId>jboss-javaee-6.0-with-tools</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <type>pom</scope>
+ <scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
View
7 jboss-javaee-6.0-with-transactions/README.md
@@ -8,9 +8,10 @@ To use the BOM, import into your dependency management:
<dependencyManagement>
<dependencies>
<dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-web-6.0-with-transactions</artifactId>
- <version>7.0.2.CR1</version>
+ <groupId>org.jboss.bom</groupId>
+ <artifactId>jboss-javaee-6.0-with-transactions</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
View
9 pom.xml
@@ -37,6 +37,14 @@
<version.org.jboss.as.arquillian.container>7.1.0.Final</version.org.jboss.as.arquillian.container>
<version.org.jboss.jbossts.jbossjts>4.16.1.Final</version.org.jboss.jbossts.jbossjts>
+ <!-- Version of Hibernate projects -->
+ <version.org.hibernate>4.1.0.Final</version.org.hibernate>
+ <version.org.hibernate.validator>4.2.0.Final</version.org.hibernate.validator>
+ <version.org.hibernate.search>4.1.0.Beta2</version.org.hibernate.search>
+ <version.org.hibernate.common>4.0.1.Final</version.org.hibernate.common>
+ <version.org.hibernate.javax.persistence>1.0.1.Final</version.org.hibernate.javax.persistence>
+ <version.org.hibernate-jpamodelgen>1.1.1.Final</version.org.hibernate-jpamodelgen>
+
<!-- Versions of projects not directly under JBoss umbrella -->
<version.junit>4.8.1</version.junit>
<version.org.testng>5.14.6</version.org.testng>
@@ -49,6 +57,7 @@
<modules>
<module>jboss-javaee-6.0-with-tools</module>
<module>jboss-javaee-6.0-with-transactions</module>
+ <module>jboss-javaee-6.0-with-hibernate</module>
</modules>
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.