Author: danieldominguez
Date: 2009-12-17 18:49:24 -0500 (Thu, 17 Dec 2009)
New Revision: 415
Added:
branches/ODE/ODE-2.0-maven/dao-hibernate/pom.xml
Modified:
branches/ODE/ODE-2.0-maven/pom.xml
Log:
Initial maven build for dao-hibernate - not working yet
Added: branches/ODE/ODE-2.0-maven/dao-hibernate/pom.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/dao-hibernate/pom.xml (rev 0)
+++ branches/ODE/ODE-2.0-maven/dao-hibernate/pom.xml 2009-12-17 23:49:24 UTC (rev 415)
@@ -0,0 +1,92 @@
+<?xml version="1.0"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~
http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<project>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-dao-hibernate</artifactId>
+ <name>ODE :: Hibernate DAO Implementation</name>
+ <packaging>jar</packaging>
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-bpel-dao</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-bpel-ql</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-il-common</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>${slf4j.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xdoclet-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>xdoclet</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <hibernatedoclet excludedTags="@version,@author,@todo"
verbose="true"
+ destdir="${project.build.outputDirectory}"
force="true">
+ <hibernate version="3.0"/>
+ <fileset
dir="${project.build.sourceDirectory}/org/apache/ode/daohib/bpel/hobj/"
includes="**/*.java"/>
+ </hibernatedoclet>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: branches/ODE/ODE-2.0-maven/pom.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/pom.xml 2009-12-17 18:09:49 UTC (rev 414)
+++ branches/ODE/ODE-2.0-maven/pom.xml 2009-12-17 23:49:24 UTC (rev 415)
@@ -69,7 +69,7 @@
<wsdl4j.version>1.6.2</wsdl4j.version>
<woodstox.version>3.2.4</woodstox.version>
<javax.mail.version>1.4</javax.mail.version>
- <hibernate.version>3.1.2</hibernate.version>
+ <hibernate.version>3.3.1.GA</hibernate.version>
<spring.version>2.5.6</spring.version>
<geronimo.specs.version>1.0</geronimo.specs.version>
<geronimo.version>1.1</geronimo.version>
@@ -85,6 +85,7 @@
<log4j.version>1.2.15</log4j.version>
<saxon.version>9.x</saxon.version>
<servicemix.version>3.3</servicemix.version>
+ <slf4j.version>1.4.3</slf4j.version>
<stax-api.version>1.0</stax-api.version>
<stax.version>1.1.2-dev</stax.version>
<xapool.version>1.4</xapool.version>
@@ -116,6 +117,7 @@
<module>bpel-compiler</module>
<module>il-common</module>
<module>bpel-ql</module>
+ <module>dao-hibernate</module>
</modules>
<build>
@@ -224,6 +226,11 @@
<name>ibiblio</name>
<
url>http://www.ibiblio.org/maven2</url>
</repository>
+ <repository>
+ <id>fusesource</id>
+ <name>fusesource</name>
+ <
url>http://repo.fusesource.com/maven2-all</url>
+ </repository>
</repositories>
<pluginRepositories>
@@ -242,6 +249,11 @@
<name>ibiblio</name>
<
url>http://www.ibiblio.org/maven2</url>
</pluginRepository>
+ <pluginRepository>
+ <id>fusesource</id>
+ <name>fusesource</name>
+ <
url>http://repo.fusesource.com/maven2-all</url>
+ </pluginRepository>
</pluginRepositories>
@@ -677,7 +689,7 @@
<dependency>
<groupId>org.hibernate</groupId>
- <artifactId>hibernate</artifactId>
+ <artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
<exclusions>
<exclusion>
@@ -938,6 +950,17 @@
<artifactId>axis2-jibx</artifactId>
<version>${axis2.version}</version>
</dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>${slf4j.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>${slf4j.version}</version>
+ </dependency>
</dependencies>
</dependencyManagement>