2009-08-19 15:24:23 -04: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>
|
2009-08-19 17:10:09 -04:00
|
|
|
<version>3.5.0-SNAPSHOT</version>
|
2008-11-03 05:22:12 -05:00
|
|
|
<relativePath>../parent/pom.xml</relativePath>
|
|
|
|
</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
|
|
|
|
2008-10-31 13:07:47 -04:00
|
|
|
<name>Hibernate Entitity Manager</name>
|
|
|
|
<description>Hibernate Entitity 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>
|
2008-10-31 13:07:47 -04:00
|
|
|
<dependency>
|
2009-10-27 14:49:25 -04:00
|
|
|
<groupId>${project.groupId}</groupId>
|
2008-11-03 05:22:12 -05:00
|
|
|
<artifactId>hibernate-annotations</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>
|
|
|
|
<groupId>org.hibernate.java-persistence</groupId>
|
|
|
|
<artifactId>jpa-api</artifactId>
|
|
|
|
</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
|
|
|
|
from the <javac/>'s <classpath/> :(
|
|
|
|
-->
|
|
|
|
<groupId>${project.groupId}</groupId>
|
2009-10-20 13:33:40 -04:00
|
|
|
<artifactId>hibernate-jpamodelgen</artifactId>
|
2009-10-27 14:49:25 -04:00
|
|
|
<version>1.0.0-SNAPSHOT</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 -->
|
|
|
|
<groupId>org.hibernate.java-persistence</groupId>
|
|
|
|
<artifactId>jpa-api</artifactId>
|
|
|
|
</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
|
|
|
<dependencyManagement>
|
|
|
|
<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>
|
|
|
|
<dependency>
|
2009-10-27 14:49:25 -04:00
|
|
|
<groupId>${project.groupId}</groupId>
|
2008-11-03 05:22:12 -05:00
|
|
|
<artifactId>hibernate-annotations</artifactId>
|
2009-10-27 14:49:25 -04:00
|
|
|
<version>${project.version}</version>
|
2008-11-03 05:22:12 -05:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
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>
|
2009-10-27 14:49:25 -04:00
|
|
|
<targetPath>../bundles</targetPath>
|
|
|
|
</testResource>
|
2008-11-03 05:22:12 -05:00
|
|
|
</testResources>
|
|
|
|
<plugins>
|
2009-10-20 13:33:40 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>process_annotations</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<echo>processing JPA annotations</echo>
|
2009-10-27 14:49:25 -04:00
|
|
|
<property name="target.dir" value="${project.build.directory}/generated-src/jpamodelgen"/>
|
2009-10-20 13:33:40 -04:00
|
|
|
<mkdir dir="${target.dir}"/>
|
2009-10-27 14:49:25 -04:00
|
|
|
<javac srcdir="${project.build.testSourceDirectory}"
|
|
|
|
destdir="${target.dir}"
|
|
|
|
failonerror="false"
|
|
|
|
fork="true"
|
|
|
|
executable="${jdk16_home}/bin/javac"
|
|
|
|
target="1.5">
|
2009-10-20 13:33:40 -04:00
|
|
|
<compilerarg value="-proc:only"/>
|
|
|
|
<classpath>
|
|
|
|
<path refid="maven.test.classpath"/>
|
|
|
|
</classpath>
|
|
|
|
</javac>
|
|
|
|
</tasks>
|
2009-10-27 14:49:25 -04:00
|
|
|
<testSourceRoot>${project.build.directory}/generated-src/jpamodelgen</testSourceRoot>
|
2009-10-27 05:39:38 -04:00
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-10-27 14:49:25 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>package-tests</id>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<property name="package.dir" value="${basedir}/target/test-packages" />
|
|
|
|
<property name="package.tmp.dir" value="${basedir}/target/tmp" />
|
|
|
|
<property name="classes.dir" value="${project.build.directory}/test-classes" />
|
|
|
|
<property name="testresources.dir" value="${basedir}/target/bundles" />
|
|
|
|
<ant antfile="${basedir}/build.xml">
|
|
|
|
<target name="package" />
|
|
|
|
</ant>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</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>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jboss.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-test-ext-plugin</artifactId>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>extend</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-10-27 14:49:25 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<forkMode>pertest</forkMode>
|
|
|
|
<additionalClasspathElements>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/cfgxmlpar.par</additionalClasspathElement>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/defaultpar.par</additionalClasspathElement>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/excludehbmpar.par</additionalClasspathElement>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/explicitpar.par</additionalClasspathElement>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/explodedpar.par</additionalClasspathElement>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/externaljar.jar</additionalClasspathElement>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/nesteddir.ear</additionalClasspathElement>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/nestedjar.ear</additionalClasspathElement>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/overridenpar.jar</additionalClasspathElement>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/space par.par</additionalClasspathElement>
|
|
|
|
<additionalClasspathElement>${basedir}/target/test-packages/war.war</additionalClasspathElement>
|
|
|
|
</additionalClasspathElements>
|
|
|
|
</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>
|
2009-10-27 14:49:25 -04: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>
|
2009-10-27 14:49:25 -04:00
|
|
|
<version>2.1.0</version>
|
2008-11-03 05:22:12 -05:00
|
|
|
<extensions>true</extensions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-jdocbook-style</artifactId>
|
2009-10-27 14:49:25 -04:00
|
|
|
<version>1.0.2</version>
|
2008-11-03 05:22:12 -05:00
|
|
|
<type>jdocbook-style</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<sourceDocumentName>master.xml</sourceDocumentName>
|
2009-10-27 14:49:25 -04:00
|
|
|
<sourceDirectory>${basedir}/src/main/docbook/en</sourceDirectory>
|
|
|
|
<masterTranslation>en-US</masterTranslation>
|
2008-11-03 05:22:12 -05:00
|
|
|
<imageResource>
|
|
|
|
<directory>${basedir}/src/main/docbook/en/images</directory>
|
|
|
|
</imageResource>
|
|
|
|
<formats>
|
|
|
|
<format>
|
|
|
|
<formatName>pdf</formatName>
|
2009-10-27 14:49:25 -04:00
|
|
|
<stylesheetResource>classpath:/xslt/hibernate/pdf/main-pdf.xsl</stylesheetResource>
|
|
|
|
<finalName>hibernate-validator-legacy-guide.pdf</finalName>
|
2008-11-03 05:22:12 -05:00
|
|
|
</format>
|
|
|
|
<format>
|
|
|
|
<formatName>html_single</formatName>
|
2009-10-27 14:49:25 -04:00
|
|
|
<stylesheetResource>classpath:/xslt/hibernate/html/main-single.xsl
|
|
|
|
</stylesheetResource>
|
2008-11-03 05:22:12 -05:00
|
|
|
<finalName>index.html</finalName>
|
|
|
|
</format>
|
|
|
|
<format>
|
|
|
|
<formatName>html</formatName>
|
2009-10-27 14:49:25 -04:00
|
|
|
<stylesheetResource>classpath:/xslt/hibernate/html/main-chunk.xsl
|
|
|
|
</stylesheetResource>
|
2008-11-03 05:22:12 -05:00
|
|
|
<finalName>index.html</finalName>
|
|
|
|
</format>
|
|
|
|
</formats>
|
|
|
|
<options>
|
|
|
|
<xincludeSupported>true</xincludeSupported>
|
|
|
|
<localeSeparator>-</localeSeparator>
|
2009-10-27 14:49:25 -04:00
|
|
|
<useRelativeImageUris>true</useRelativeImageUris>
|
2008-11-03 05:22:12 -05:00
|
|
|
</options>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-doc</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>resources</goal>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2009-10-27 14:49:25 -04:00
|
|
|
</profiles>
|
|
|
|
|
2009-08-19 11:02:46 -04:00
|
|
|
</project>
|