2010-02-10 14:17:55 -05:00
|
|
|
<?xml version="1.0"?>
|
2011-03-11 19:01:15 -05:00
|
|
|
<!--
|
|
|
|
~ Hibernate, Relational Persistence for Idiomatic Java
|
|
|
|
~
|
|
|
|
~ Copyright (c) 2011, Red Hat Inc. or third-party contributors as
|
|
|
|
~ indicated by the @author tags or express copyright attribution
|
|
|
|
~ statements applied by the authors. All third-party contributions are
|
|
|
|
~ distributed under license by Red Hat Inc.
|
|
|
|
~
|
|
|
|
~ This copyrighted material is made available to anyone wishing to use, modify,
|
|
|
|
~ copy, or redistribute it subject to the terms and conditions of the GNU
|
|
|
|
~ Lesser General Public License, as published by the Free Software Foundation.
|
|
|
|
~
|
|
|
|
~ This program is distributed in the hope that it will be useful,
|
|
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
|
|
|
~ for more details.
|
|
|
|
~
|
|
|
|
~ You should have received a copy of the GNU Lesser General Public License
|
|
|
|
~ along with this distribution; if not, write to:
|
|
|
|
~ Free Software Foundation, Inc.
|
|
|
|
~ 51 Franklin Street, Fifth Floor
|
|
|
|
~ Boston, MA 02110-1301 USA
|
|
|
|
-->
|
2010-02-24 22:49:36 -05:00
|
|
|
<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">
|
2009-10-27 14:49:25 -04:00
|
|
|
|
2008-10-31 13:07:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2009-10-27 14:49:25 -04:00
|
|
|
|
2008-11-03 05:22:12 -05:00
|
|
|
<parent>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-parent</artifactId>
|
2011-06-09 00:06:18 -04:00
|
|
|
<version>3.6.6-SNAPSHOT</version>
|
2011-03-11 19:01:15 -05:00
|
|
|
<relativePath>../hibernate-parent/pom.xml</relativePath>
|
2008-11-03 05:22:12 -05:00
|
|
|
</parent>
|
2009-10-27 14:49:25 -04:00
|
|
|
|
2008-10-31 13:07:47 -04:00
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
2009-10-27 14:49:25 -04:00
|
|
|
|
2009-12-21 11:17:24 -05:00
|
|
|
<name>Hibernate Entity Manager</name>
|
|
|
|
<description>Hibernate Entity Manager</description>
|
2009-10-27 14:49:25 -04:00
|
|
|
|
2008-10-31 13:07:47 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2009-10-27 14:49:25 -04:00
|
|
|
<groupId>${project.groupId}</groupId>
|
2008-11-03 05:22:12 -05:00
|
|
|
<artifactId>hibernate-core</artifactId>
|
2009-10-27 14:49:25 -04:00
|
|
|
<version>${project.version}</version>
|
2008-11-03 05:22:12 -05:00
|
|
|
</dependency>
|
2009-04-02 12:29:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>cglib</groupId>
|
|
|
|
<artifactId>cglib</artifactId>
|
|
|
|
</dependency>
|
2008-10-31 13:07:47 -04:00
|
|
|
<dependency>
|
2008-11-03 05:22:12 -05:00
|
|
|
<groupId>javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
</dependency>
|
2009-07-21 09:46:43 -04:00
|
|
|
<dependency>
|
2009-12-12 18:56:45 -05:00
|
|
|
<groupId>org.hibernate.javax.persistence</groupId>
|
|
|
|
<artifactId>hibernate-jpa-2.0-api</artifactId>
|
2009-07-21 09:46:43 -04:00
|
|
|
</dependency>
|
2009-12-11 04:12:10 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.validation</groupId>
|
|
|
|
<artifactId>validation-api</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2010-01-21 15:48:59 -05:00
|
|
|
<dependency>
|
2010-10-07 09:51:00 -04:00
|
|
|
<groupId>${project.groupId}</groupId>
|
2010-01-21 15:48:59 -05:00
|
|
|
<artifactId>hibernate-testing</artifactId>
|
2010-10-07 09:51:00 -04:00
|
|
|
<version>${project.version}</version>
|
2010-01-21 15:48:59 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2010-02-23 07:57:17 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.shrinkwrap</groupId>
|
|
|
|
<artifactId>shrinkwrap-api</artifactId>
|
|
|
|
<version>1.0.0-alpha-6</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.shrinkwrap</groupId>
|
|
|
|
<artifactId>shrinkwrap-impl-base</artifactId>
|
2010-03-04 16:55:10 -05:00
|
|
|
<version>1.0.0-alpha-6</version>
|
2010-02-23 07:57:17 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2009-10-20 13:33:40 -04:00
|
|
|
<dependency>
|
2009-10-27 14:49:25 -04:00
|
|
|
<!--
|
|
|
|
Only really needed for the antrun plugin defined below (which in turn is only really needed
|
|
|
|
to work around a missing feature on the compile plugin; lovely no?). However I have not
|
|
|
|
found a way to declare this dependency local to the antrun plugin and then reference it
|
2010-04-20 21:56:46 -04:00
|
|
|
from the <javac />'s <classpath /> :(
|
2009-10-27 14:49:25 -04:00
|
|
|
-->
|
|
|
|
<groupId>${project.groupId}</groupId>
|
2009-10-20 13:33:40 -04:00
|
|
|
<artifactId>hibernate-jpamodelgen</artifactId>
|
2010-03-10 13:46:23 -05:00
|
|
|
<version>1.0.0.Final</version>
|
2009-10-20 13:33:40 -04:00
|
|
|
<scope>test</scope>
|
2009-10-27 14:49:25 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<!-- Use the jpa-api defined here, crossing fingers they match up signature-wise -->
|
2009-12-12 19:31:53 -05:00
|
|
|
<groupId>org.hibernate.javax.persistence</groupId>
|
|
|
|
<artifactId>hibernate-jpa-2.0-api</artifactId>
|
2009-10-27 14:49:25 -04:00
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2009-10-27 05:39:38 -04:00
|
|
|
</dependency>
|
2008-11-03 05:22:12 -05:00
|
|
|
</dependencies>
|
2009-10-27 14:49:25 -04:00
|
|
|
|
2008-11-03 05:22:12 -05:00
|
|
|
<build>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
</testResource>
|
2009-10-23 09:48:18 -04:00
|
|
|
<testResource>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>src/test/bundles</directory>
|
2010-01-07 22:40:18 -05:00
|
|
|
<targetPath>../bundles</targetPath>
|
|
|
|
</testResource>
|
2008-11-03 05:22:12 -05:00
|
|
|
</testResources>
|
|
|
|
<plugins>
|
2010-01-18 14:17:27 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.jboss.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-injection-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<bytecodeInjections>
|
|
|
|
<bytecodeInjection>
|
2010-10-07 09:51:00 -04:00
|
|
|
<expression>${project.version}</expression>
|
2010-01-18 14:17:27 -05:00
|
|
|
<targetMembers>
|
|
|
|
<methodBodyReturn>
|
|
|
|
<className>org.hibernate.ejb.Version</className>
|
|
|
|
<methodName>getVersionString</methodName>
|
|
|
|
</methodBodyReturn>
|
|
|
|
</targetMembers>
|
|
|
|
</bytecodeInjection>
|
|
|
|
</bytecodeInjections>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2009-10-20 13:33:40 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2010-01-07 22:40:18 -05:00
|
|
|
<!-- Define one configuration outside executions and without a phase in order to allow 'mvn antrun:run' -->
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2010-07-21 16:35:16 -04:00
|
|
|
<property name="target.dir" value="${project.build.directory}/generated-src/jpamodelgen"/>
|
|
|
|
<property name="src.dir" value="${project.build.testSourceDirectory}"/>
|
|
|
|
<property name="jdk16_home" value="${jdk16_home}"/>
|
|
|
|
<property name="classpath" refid="maven.test.classpath"/>
|
2010-01-07 22:40:18 -05:00
|
|
|
<ant antfile="${basedir}/build.xml">
|
2010-07-21 16:35:16 -04:00
|
|
|
<target name="generate-metamodel"/>
|
2010-01-07 22:40:18 -05:00
|
|
|
</ant>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
2009-10-20 13:33:40 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>process_annotations</id>
|
2010-01-07 22:40:18 -05:00
|
|
|
<phase>process-test-sources</phase>
|
|
|
|
<configuration>
|
|
|
|
<!-- No additional configuration needed. Unbound configuration gets inherited. (Feels wrong, but that's how it is) -->
|
|
|
|
<testSourceRoot>${project.build.directory}/generated-src/jpamodelgen</testSourceRoot>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2009-10-27 05:39:38 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2008-11-03 05:22:12 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>1.5</source>
|
|
|
|
<target>1.5</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2010-01-07 22:40:18 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2010-02-23 07:57:17 -05:00
|
|
|
<excludes>
|
|
|
|
<exclude>**/*TestCase.java</exclude>
|
|
|
|
</excludes>
|
2010-01-07 22:40:18 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2008-11-03 05:22:12 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2009-10-27 14:49:25 -04:00
|
|
|
|
2008-11-03 05:22:12 -05:00
|
|
|
<profiles>
|
2010-01-07 22:40:18 -05:00
|
|
|
<profile>
|
2008-11-03 05:22:12 -05:00
|
|
|
<id>doc</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jboss.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jdocbook-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<sourceDocumentName>master.xml</sourceDocumentName>
|
2010-01-14 14:30:04 -05:00
|
|
|
<sourceDirectory>${basedir}/src/main/docbook</sourceDirectory>
|
|
|
|
<masterTranslation>en</masterTranslation>
|
2008-11-03 05:22:12 -05:00
|
|
|
<imageResource>
|
|
|
|
<directory>${basedir}/src/main/docbook/en/images</directory>
|
|
|
|
</imageResource>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-doc</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>resources</goal>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2010-07-02 04:54:15 -04:00
|
|
|
<profile>
|
|
|
|
<id>jaxb</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>1.5</jdk>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<version>2.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
|
|
|
<version>2.1.3</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2010-01-07 22:40:18 -05:00
|
|
|
</profiles>
|
2009-08-19 11:02:46 -04:00
|
|
|
</project>
|