You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by mb...@apache.org on 2012/06/01 18:18:18 UTC
svn commit: r1345267 - in /db/jdo/trunk: copyjdorijars/
copyjdorijars/pom.xml copyjdorijars/src/ copyjdorijars/src/main/
copyjdorijars/src/main/resources/
copyjdorijars/src/main/resources/log4j.properties pom.xml
Author: mbo
Date: Fri Jun 1 16:18:18 2012
New Revision: 1345267
URL: http://svn.apache.org/viewvc?rev=1345267&view=rev
Log:
JDO-706: new module copyjdorijars copying the reference implementation jars to lib/jdori
Added:
db/jdo/trunk/copyjdorijars/
db/jdo/trunk/copyjdorijars/pom.xml
db/jdo/trunk/copyjdorijars/src/
db/jdo/trunk/copyjdorijars/src/main/
db/jdo/trunk/copyjdorijars/src/main/resources/
db/jdo/trunk/copyjdorijars/src/main/resources/log4j.properties
Modified:
db/jdo/trunk/pom.xml
Added: db/jdo/trunk/copyjdorijars/pom.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/copyjdorijars/pom.xml?rev=1345267&view=auto
==============================================================================
--- db/jdo/trunk/copyjdorijars/pom.xml (added)
+++ db/jdo/trunk/copyjdorijars/pom.xml Fri Jun 1 16:18:18 2012
@@ -0,0 +1,104 @@
+<?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.
+-->
+
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <parent>
+ <groupId>javax.jdo</groupId>
+ <artifactId>root</artifactId>
+ <version>3.1-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>javax.jdo</groupId>
+ <artifactId>copy-jdori-jars</artifactId>
+ <name>Copy JDORI Jars</name>
+ <version>3.1-SNAPSHOT</version>
+ <description>The Java Data Objects (JDO) API is a standard interface-based Java model abstraction of persistence, developed as Java Specification Request 243 under the auspices of the Java Community Process.</description>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>${basedir}/src/main/resources</directory>
+ <targetPath>${basedir}/../lib/jdori</targetPath>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/../lib/jdori</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.datanucleus</groupId>
+ <artifactId>datanucleus-core</artifactId>
+ <version>3.0.9</version>
+ </dependency>
+ <dependency>
+ <groupId>org.datanucleus</groupId>
+ <artifactId>datanucleus-rdbms</artifactId>
+ <version>3.0.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.datanucleus</groupId>
+ <artifactId>datanucleus-enhancer</artifactId>
+ <version>3.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.datanucleus</groupId>
+ <artifactId>datanucleus-api-jdo</artifactId>
+ <version>3.0.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.datanucleus</groupId>
+ <artifactId>datanucleus-api-jpa</artifactId>
+ <version>3.0.8</version>
+ </dependency>
+ <dependency>
+ <groupId>asm</groupId>
+ <artifactId>asm</artifactId>
+ <version>3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>c3p0</groupId>
+ <artifactId>c3p0</artifactId>
+ <version>0.9.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.16</version>
+ </dependency>
+ </dependencies>
+
+</project>
Added: db/jdo/trunk/copyjdorijars/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/db/jdo/trunk/copyjdorijars/src/main/resources/log4j.properties?rev=1345267&view=auto
==============================================================================
--- db/jdo/trunk/copyjdorijars/src/main/resources/log4j.properties (added)
+++ db/jdo/trunk/copyjdorijars/src/main/resources/log4j.properties Fri Jun 1 16:18:18 2012
@@ -0,0 +1,93 @@
+#
+# 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.
+
+#############################
+# TCK loggers and appenders
+#############################
+
+# Root logger
+log4j.rootLogger = ERROR, TCK
+
+# TCK logger
+log4j.logger.org.apache.jdo.tck = INFO, TCK
+log4j.additivity.org.apache.jdo.tck = false
+
+# SpringFramework loggers
+log4j.logger.org.springframework = ERROR, TCK
+log4j.additivity.org.springframework = false
+log4j.logger.org.apache.jdo.tck.pc.company.CompanyModelReader = ERROR, TCK
+log4j.logger.org.apache.jdo.tck.pc.mylib.MylibReader = ERROR, TCK
+
+# TCK appenders
+log4j.appender.TCK = org.apache.jdo.tck.util.TCKFileAppender
+log4j.appender.TCK.File = tck.txt
+log4j.appender.TCK.layout = org.apache.log4j.PatternLayout
+log4j.appender.TCK.layout.ConversionPattern = %d{HH:mm:ss,SSS} (%t) %-5p [%c] - %m%n
+
+############################################
+# JDO vendor specific loggers and appenders
+############################################
+
+#log4j.logger.<vendor> = INFO
+#log4j.additivity.<vendor> = false
+
+#log4j.appender.<VENDOR> = org.apache.jdo.tck.util.TCKFileAppender
+#log4j.appender.<VENDOR>.File = <vendor>.txt
+#log4j.appender.<VENDOR>.layout = org.apache.log4j.PatternLayout
+#log4j.appender.<VENDOR>.layout.ConversionPattern = %d{HH:mm:ss,SSS} (%t) %-5p [%c] - %m%n
+
+###################################
+# DataNucleus loggers and appenders
+###################################
+
+# DataNucleus loggers
+# For more details on DataNucleus logging see
+# http://www.datanucleus.org/products/accessplatform/logging.html
+log4j.logger.DataNucleus = INFO, DataNucleus
+log4j.logger.DataNucleus.Enhancer = INFO, DataNucleus
+log4j.additivity.DataNucleus = false
+#log4j.logger.DataNucleus.JDO = INFO, DataNucleus
+#log4j.logger.DataNucleus.Persistence = INFO, DataNucleus
+#log4j.logger.DataNucleus.Query = INFO, DataNucleus
+#log4j.logger.DataNucleus.Lifecycle = INFO, DataNucleus
+#log4j.logger.DataNucleus.Reachability = INFO, DataNucleus
+#log4j.logger.DataNucleus.Cache = INFO, DataNucleus
+#log4j.logger.DataNucleus.ClassLoading = INFO, DataNucleus
+#log4j.logger.DataNucleus.MetaData = DEBUG, DataNucleus
+#log4j.logger.DataNucleus.Management = DEBUG, DataNucleus
+#log4j.logger.DataNucleus.General = DEBUG, DataNucleus
+#log4j.logger.DataNucleus.Connection = DEBUG, DataNucleus
+#log4j.logger.DataNucleus.JCA = DEBUG, DataNucleus
+#log4j.logger.DataNucleus.Transaction = INFO, DataNucleus
+#log4j.logger.DataNucleus.Plugin = INFO, DataNucleus
+#log4j.logger.DataNucleus.Store.Poid = INFO, DataNucleus
+#log4j.logger.DataNucleus.Datastore = DEBUG, DataNucleus
+#log4j.logger.DataNucleus.Datastore.Schema = INFO, DataNucleus
+#log4j.logger.DataNucleus.Datastore.Persist = INFO, DataNucleus
+#log4j.logger.DataNucleus.Datastore.Retrieve = DEBUG, DataNucleus
+#log4j.logger.DataNucleus.SchemaTool = INFO, DataNucleus
+
+# C3P0 loggers
+log4j.logger.com.mchange.v2 = INFO, DataNucleus
+log4j.additivity.com.mchange.v2 = false
+
+# DataNucleus appenders
+log4j.appender.DataNucleus = org.apache.jdo.tck.util.TCKFileAppender
+#log4j.appender.DataNucleus = org.apache.log4j.FileAppender
+log4j.appender.DataNucleus.Enhancer.File = datanucleus.txt
+log4j.appender.DataNucleus.File = datanucleus.txt
+log4j.appender.DataNucleus.layout = org.apache.log4j.PatternLayout
+log4j.appender.DataNucleus.layout.ConversionPattern = %d{HH:mm:ss,SSS} (%t) %-5p [%c] - %m%n
Modified: db/jdo/trunk/pom.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/pom.xml?rev=1345267&r1=1345266&r2=1345267&view=diff
==============================================================================
--- db/jdo/trunk/pom.xml (original)
+++ db/jdo/trunk/pom.xml Fri Jun 1 16:18:18 2012
@@ -28,6 +28,7 @@ Requests (JSR 12 and 243) under the ausp
<modules>
<module>api</module>
<module>exectck</module>
+ <module>copyjdorijars</module>
<module>tck</module>
</modules>