Author: mfranklin
Date: Tue May 29 17:02:00 2012
New Revision: 1343850
URL: http://svn.apache.org/viewvc?rev=1343850&view=rev
Log:
Created new rave-jpa module (RAVE-629)
Added:
rave/branches/model_interfaces/rave-components/rave-jpa/
rave/branches/model_interfaces/rave-components/rave-jpa/pom.xml
rave/branches/model_interfaces/rave-components/rave-jpa/src/
rave/branches/model_interfaces/rave-components/rave-jpa/src/main/
rave/branches/model_interfaces/rave-components/rave-jpa/src/main/java/
rave/branches/model_interfaces/rave-components/rave-jpa/src/main/resources/
rave/branches/model_interfaces/rave-components/rave-jpa/src/test/
rave/branches/model_interfaces/rave-components/rave-jpa/src/test/java/
rave/branches/model_interfaces/rave-components/rave-jpa/src/test/resources/
Modified:
rave/branches/model_interfaces/rave-components/pom.xml
Modified: rave/branches/model_interfaces/rave-components/pom.xml
URL:
http://svn.apache.org/viewvc/rave/branches/model_interfaces/rave-components/pom.xml?rev=1343850&r1=1343849&r2=1343850&view=diff
==============================================================================
--- rave/branches/model_interfaces/rave-components/pom.xml (original)
+++ rave/branches/model_interfaces/rave-components/pom.xml Tue May 29 17:02:00
2012
@@ -37,6 +37,7 @@
<modules>
<module>rave-commons</module>
<module>rave-core</module>
+ <module>rave-jpa</module>
<module>rave-web</module>
</modules>
Added: rave/branches/model_interfaces/rave-components/rave-jpa/pom.xml
URL:
http://svn.apache.org/viewvc/rave/branches/model_interfaces/rave-components/rave-jpa/pom.xml?rev=1343850&view=auto
==============================================================================
--- rave/branches/model_interfaces/rave-components/rave-jpa/pom.xml (added)
+++ rave/branches/model_interfaces/rave-components/rave-jpa/pom.xml Tue May 29
17:02:00 2012
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+
+ $Id: pom.xml 1343841 2012-05-29 16:48:53Z mfranklin $
+-->
+<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>
+ <artifactId>rave-components</artifactId>
+ <groupId>org.apache.rave</groupId>
+ <version>0.12-model_interfaces-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>rave-jpa</artifactId>
+ <name>Apache Rave :: rave-jpa</name>
+ <description>Apache Rave JPA Persistence Implementation</description>
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.rave</groupId>
+ <artifactId>rave-commons</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-orm</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-web</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <!-- Spring -->
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-orm</artifactId>
+ </dependency>
+
+ <!--Persistence-->
+ <dependency>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <!-- Logging -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.ibm.icu</groupId>
+ <artifactId>icu4j</artifactId>
+ </dependency>
+
+ <!-- Test -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.easymock</groupId>
+ <artifactId>easymock</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-test</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins><!-- COMMENT OUT UNTIL THERE IS A PERSISTENCE XML & CODE IN
RESOURCES
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>openjpa-maven-plugin</artifactId>
+ <version>1.2</version>
+ <configuration>
+ <includes>org/apache/rave/portal/model/*.class</includes>
+
<excludes>org/apache/rave/portal/model/WidgetStatus.class</excludes>
+ <addDefaultConstructor>true</addDefaultConstructor>
+
<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
+ </configuration>
+ <executions>
+ <execution>
+ <id>enhancer</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>enhance</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ </exclusion>
+ </exclusions>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa</artifactId>
+ <version>${openjpa.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>-->
+ </plugins>
+ </build>
+</project>