243 lines
7.3 KiB
XML
243 lines
7.3 KiB
XML
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>spring-data-jpa</artifactId>
|
|
<name>Spring JPA</name>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-commons-parent</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
<relativePath>../spring-data-commons-parent/pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<properties>
|
|
<hibernate.version>3.6.0.Final</hibernate.version>
|
|
<openjpa.version>2.0.0</openjpa.version>
|
|
<aspectj.version>1.6.8</aspectj.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>spring-data-commons-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-orm</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
<version>${aspectj.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjweaver</artifactId>
|
|
<version>${aspectj.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aspects</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-all</artifactId>
|
|
<version>1.8.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.hsqldb</groupId>
|
|
<artifactId>hsqldb</artifactId>
|
|
<version>1.8.0.10</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
<version>1.6</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
|
|
<!-- Persistence providers -->
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
<version>${hibernate.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.persistence</groupId>
|
|
<artifactId>org.eclipse.persistence.jpa</artifactId>
|
|
<version>2.0.0</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.openjpa</groupId>
|
|
<artifactId>openjpa-persistence-jdbc</artifactId>
|
|
<version>${openjpa.version}</version>
|
|
<optional>true</optional>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<configuration>
|
|
<argLine>-javaagent:${settings.localRepository}/org/springframework/org.springframework.instrument/${org.springframework.version}/org.springframework.instrument-${org.springframework.version}.jar -javaagent:${settings.localRepository}/org/apache/openjpa/openjpa/${openjpa.version}/openjpa-${openjpa.version}.jar</argLine>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>org.springframework.instrument</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.openjpa</groupId>
|
|
<artifactId>openjpa</artifactId>
|
|
<version>${openjpa.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>aspectj-maven-plugin</artifactId>
|
|
<version>1.3</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
<version>${aspectj.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjtools</artifactId>
|
|
<version>${aspectj.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<verbose>true</verbose>
|
|
<aspectLibraries>
|
|
<aspectLibrary>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aspects</artifactId>
|
|
</aspectLibrary>
|
|
</aspectLibraries>
|
|
<includes>
|
|
<include>**/domain/support/AuditingEntityListener.java</include>
|
|
</includes>
|
|
<source>1.5</source>
|
|
<target>1.5</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.agilejava.docbkx</groupId>
|
|
<artifactId>docbkx-maven-plugin</artifactId>
|
|
<version>2.0.7</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate-html</goal>
|
|
<goal>generate-pdf</goal>
|
|
</goals>
|
|
<phase>pre-site</phase>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.docbook</groupId>
|
|
<artifactId>docbook-xml</artifactId>
|
|
<version>4.4</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<includes>index.xml</includes>
|
|
<xincludeSupported>true</xincludeSupported>
|
|
<foCustomization>${project.basedir}/src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
|
|
<htmlStylesheet>css/html.css</htmlStylesheet>
|
|
<chunkedOutput>false</chunkedOutput>
|
|
<htmlCustomization>${project.basedir}/src/docbkx/resources/xsl/html.xsl</htmlCustomization>
|
|
<useExtensions>1</useExtensions>
|
|
<!-- callouts -->
|
|
<entities>
|
|
<entity>
|
|
<name>version</name>
|
|
<value>${pom.version}</value>
|
|
</entity>
|
|
</entities>
|
|
<postProcess>
|
|
<copy todir="${project.basedir}/target/site/reference">
|
|
<fileset dir="${project.basedir}/target/docbkx">
|
|
<include name="**/*.html" />
|
|
<include name="**/*.pdf" />
|
|
</fileset>
|
|
</copy>
|
|
<copy todir="${project.basedir}/target/site/reference/html">
|
|
<fileset dir="${project.basedir}/src/docbkx/resources">
|
|
<include name="**/*.css" />
|
|
<include name="**/*.png" />
|
|
<include name="**/*.gif" />
|
|
<include name="**/*.jpg" />
|
|
</fileset>
|
|
</copy>
|
|
<move file="${project.basedir}/target/site/reference/pdf/index.pdf"
|
|
tofile="${project.basedir}/target/site/reference/pdf/${project.artifactId}-reference.pdf"
|
|
failonerror="false" />
|
|
</postProcess>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>jboss</id>
|
|
<name>JBoss repository</name>
|
|
<url>https://repository.jboss.org/nexus/content/repositories/releases</url>
|
|
</repository>
|
|
<repository>
|
|
<id>eclipselink</id>
|
|
<name>EclipseLink Repo</name>
|
|
<url>http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo</url>
|
|
</repository>
|
|
</repositories>
|
|
</project> |