[hibernate-commits] Hibernate SVN: r19810 - core/branches/gradle2/hibernate-envers.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Thu Jun 24 00:03:57 EDT 2010
Author: steve.ebersole at jboss.com
Date: 2010-06-24 00:03:56 -0400 (Thu, 24 Jun 2010)
New Revision: 19810
Removed:
core/branches/gradle2/hibernate-envers/pom.xml
Modified:
core/branches/gradle2/hibernate-envers/hibernate-envers.gradle
Log:
converted envers module
Modified: core/branches/gradle2/hibernate-envers/hibernate-envers.gradle
===================================================================
--- core/branches/gradle2/hibernate-envers/hibernate-envers.gradle 2010-06-24 03:59:36 UTC (rev 19809)
+++ core/branches/gradle2/hibernate-envers/hibernate-envers.gradle 2010-06-24 04:03:56 UTC (rev 19810)
@@ -1,23 +1,27 @@
dependencies {
- hibernateToolsVersion = '3.2.0.ga'
-
- compile (
- project(':hibernate-core'),
- project(':hibernate-annotations'),
- project(':hibernate-entitymanager'),
- [group: 'org.hibernate', name: 'hibernate-tools', version: hibernateToolsVersion],
- [group: 'dom4j', name: 'dom4j', version: dom4jVersion, transitive: false],
- [group: 'org.hibernate', name: 'hibernate-commons-annotations', version: annotationsCommonsVersion],
- [group: 'ant', name: 'ant', version: '1.6.5']
- )
- testCompile (
- [group: 'org.testng', name: 'testng', version: testngVersion, classifier: 'jdk15'],
- [group: 'org.hibernate.javax.persistence', name: 'hibernate-jpa-2.0-api', version: jpaVersion]
- )
- testRuntime (
- [group: 'com.h2database', name: 'h2', version: h2Version],
- [group: 'javassist', name: 'javassist', version: javassistVersion],
- [group: 'cglib', name: 'cglib', version: cglibVersion]
- )
+ compile( project( ':hibernate-core' ) )
+ compile( project( ':hibernate-annotations' ) )
+ compile( project( ':hibernate-entitymanager' ) )
+ compile( libraries.commons_annotations )
+ compile( [group: 'org.hibernate', name: 'hibernate-tools', version: '3.2.0.ga'] ) {
+ trasitive = false
+ }
+ compile( libraries.dom4j ) {
+ trasitive = false
+ }
+ compile( libraries.ant )
+ testCompile( libraries.testng )
+ testCompile( libraries.jpa )
+ testRuntime( libraries.h2 )
+ testRuntime( libraries.javassist )
}
+// todo : a whole list...
+// 1) convert tests to JUnit
+// 2) apply IntegrationTestPlugin to perform matrix testing
+
+test {
+ useTestNG() {
+ suites 'src/test/resources/testng.xml'
+ }
+}
\ No newline at end of file
Deleted: core/branches/gradle2/hibernate-envers/pom.xml
===================================================================
--- core/branches/gradle2/hibernate-envers/pom.xml 2010-06-24 03:59:36 UTC (rev 19809)
+++ core/branches/gradle2/hibernate-envers/pom.xml 2010-06-24 04:03:56 UTC (rev 19810)
@@ -1,162 +0,0 @@
-<?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.6.0-SNAPSHOT</version>
- <relativePath>../parent/pom.xml</relativePath>
- </parent>
-
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-envers</artifactId>
- <packaging>jar</packaging>
-
- <name>Hibernate Envers</name>
- <description>Support for entity auditing</description>
-
- <build>
- <plugins>
- <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.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemProperties>
- </systemProperties>
- <suiteXmlFiles>
- <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
- </suiteXmlFiles>
- </configuration>
- </plugin>
-
- <!-- javadocs : we want these run in the 'package' lifecycle phase-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>javadoc</goal>
- </goals>
- <configuration>
- <aggregate>${jbossenvers.reports.aggregate}</aggregate>
- <links>
- <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
- <link>http://java.sun.com/javaee/5/docs/api/</link>
- </links>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.hibernate.javax.persistence</groupId>
- <artifactId>hibernate-jpa-2.0-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-commons-annotations</artifactId>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-annotations</artifactId>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-entitymanager</artifactId>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-tools</artifactId>
- </dependency>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>5.8</version>
- <classifier>jdk15</classifier>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.2.125</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.10</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>cglib</groupId>
- <artifactId>cglib</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>javassist</groupId>
- <artifactId>javassist</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>${version}</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-annotations</artifactId>
- <version>${version}</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-entitymanager</artifactId>
- <version>${version}</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-tools</artifactId>
- <version>3.2.0.ga</version>
- </dependency>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- <version>1.6.5</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <properties>
- <!-- for now, at least, lets aggregate them -->
- <jbossenvers.reports.aggregate>true</jbossenvers.reports.aggregate>
- </properties>
-
-</project>
More information about the hibernate-commits
mailing list