175 lines
7.2 KiB
XML
175 lines
7.2 KiB
XML
<?xml version="1.0"?>
|
|
<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>
|
|
|
|
<parent>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-parent</artifactId>
|
|
<version>3.5.1-Final</version>
|
|
<relativePath>../parent/pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Hibernate Core</name>
|
|
<description>The core functionality of Hibernate</description>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>antlr</groupId>
|
|
<artifactId>antlr</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-collections</groupId>
|
|
<artifactId>commons-collections</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dom4j</groupId>
|
|
<artifactId>dom4j</artifactId>
|
|
</dependency>
|
|
|
|
<!-- optional deps for bytecode providers until those are finally properly scoped -->
|
|
<dependency>
|
|
<groupId>javassist</groupId>
|
|
<artifactId>javassist</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<!-- YUCK, YUCK, YUCK!!!! -->
|
|
<groupId>javax.transaction</groupId>
|
|
<artifactId>jta</artifactId>
|
|
<version>1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.javaee</groupId>
|
|
<artifactId>jboss-jacc-api_JDK4</artifactId>
|
|
<version>1.1.0</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.jboss.javaee</groupId>
|
|
<artifactId>jboss-servlet-api_3.0</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.jboss.logging</groupId>
|
|
<artifactId>jboss-logging-spi</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.jboss</groupId>
|
|
<artifactId>jboss-common-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ant</groupId>
|
|
<artifactId>ant</artifactId>
|
|
<version>1.6.5</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>antlr-maven-plugin</artifactId>
|
|
<version>${antlrPluginVersion}</version>
|
|
<configuration>
|
|
<grammars>hql.g,hql-sql.g,sql-gen.g,order-by.g,order-by-render.g</grammars>
|
|
<traceParser>true</traceParser>
|
|
<traceTreeParser>true</traceTreeParser>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jboss.maven.plugins</groupId>
|
|
<artifactId>maven-injection-plugin</artifactId>
|
|
<configuration>
|
|
<bytecodeInjections>
|
|
<bytecodeInjection>
|
|
<expression>${pom.version}</expression>
|
|
<targetMembers>
|
|
<methodBodyReturn>
|
|
<className>org.hibernate.Version</className>
|
|
<methodName>getVersionString</methodName>
|
|
</methodBodyReturn>
|
|
</targetMembers>
|
|
</bytecodeInjection>
|
|
</bytecodeInjections>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>org.hibernate.Version</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>antlr-maven-plugin</artifactId>
|
|
<version>${antlrPluginVersion}</version>
|
|
<configuration>
|
|
<!-- eventually should be based on the second phase grammar -->
|
|
<grammars>hql.g</grammars>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<!--
|
|
for the time being, gonna ignore the custom stylesheet (what did it do anyway???)
|
|
<stylesheetfile>xyz</stylesheetfile>
|
|
-->
|
|
<groups>
|
|
<group>
|
|
<title>Core API</title>
|
|
<packages>org.hibernate:org.hibernate.classic:org.hibernate.criterion:org.hibernate.metadata:org.hibernate.cfg:org.hibernate.usertype</packages>
|
|
</group>
|
|
<group>
|
|
<title>Extension API</title>
|
|
<packages>org.hibernate.id:org.hibernate.connection:org.hibernate.transaction:org.hibernate.type:org.hibernate.dialect*:org.hibernate.cache*:org.hibernate.event*:org.hibernate.action:org.hibernate.property:org.hibernate.loader*:org.hibernate.persister*:org.hibernate.proxy:org.hibernate.tuple:org.hibernate.transform:org.hibernate.collection:org.hibernate.jdbc</packages>
|
|
</group>
|
|
<group>
|
|
<title>Miscellaneous API</title>
|
|
<packages>org.hibernate.stat:org.hibernate.tool.hbm2ddl:org.hibernate.jmx:org.hibernate.mapping:org.hibernate.tool.instrument</packages>
|
|
</group>
|
|
<group>
|
|
<title>Internal Implementation</title>
|
|
<packages>org.hibernate.engine:org.hibernate.impl:org.hibernate.sql:org.hibernate.lob:org.hibernate.util:org.hibernate.exception:org.hibernate.hql:org.hibernate.hql.ast:org.hibernate.hql.antlr:org.hibernate.hql.classic:org.hibernate.intercept:org.hibernate.secure:org.hibernate.pretty</packages>
|
|
</group>
|
|
</groups>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<properties>
|
|
<antlrPluginVersion>2.1</antlrPluginVersion>
|
|
</properties>
|
|
</project>
|