OPENJPA-1245 Cleanup license header wrapping and some POM formatting for readability. Include basic Eclipse files, which will allow the module to be imported, as maven-eclipse-plugin will not generate the required metadata files, but will update these basic ones if present.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805042 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2009-08-17 17:00:16 +00:00
parent 49e554ac6c
commit 7e81b8c8b5
3 changed files with 46 additions and 21 deletions

View File

@ -0,0 +1,4 @@
<classpath>
<classpathentry kind="output" path="target/classes"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
</classpath>

View File

@ -0,0 +1,13 @@
<projectDescription>
<name>openjpa-persistence-locking</name>
<comment>OpenJPA Persistence Locking Tests</comment>
<projects/>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -1,38 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the Licensed to the Apache Software Foundation (ASF) under one
NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF or more contributor license agreements. See the NOTICE file
licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file distributed with this work for additional information
except in compliance with the License. You may obtain a copy of the License at 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 http://www.apache.org/licenses/LICENSE-2.0
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 Unless required by applicable law or agreed to in writing,
the License. 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.
--> -->
<!-- <!--
Maven release plugin requires the project tag to be on a single line. Maven release plugin requires the project tag to be on a single line.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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/maven-v4_0_0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-persistence-locking</artifactId>
<packaging>jar</packaging>
<name>OpenJPA Persistence Locking</name>
<description>OpenJPA Persistence Locking tests</description>
<url>http://openjpa.apache.org</url>
<parent> <parent>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-parent</artifactId> <artifactId>openjpa-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
</parent> </parent>
<groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-persistence-locking</artifactId>
<packaging>jar</packaging>
<name>OpenJPA Persistence Locking Tests</name>
<description>OpenJPA Persistence Locking Tests</description>
<properties> <properties>
<dbcp.maxActive>10</dbcp.maxActive> <dbcp.maxActive>10</dbcp.maxActive>
<dbcp.maxIdle>5</dbcp.maxIdle> <dbcp.maxIdle>5</dbcp.maxIdle>
<dbcp.minIdle>2</dbcp.minIdle> <dbcp.minIdle>2</dbcp.minIdle>
<dbcp.maxWait>10000</dbcp.maxWait> <dbcp.maxWait>10000</dbcp.maxWait>
<dbcp.args>MaxActive=${dbcp.maxActive},MaxIdle=${dbcp.maxIdle},MinIdle=${dbcp.minIdle},MaxWait=${dbcp.maxWait}</dbcp.args> <dbcp.args>MaxActive=${dbcp.maxActive},MaxIdle=${dbcp.maxIdle},MinIdle=${dbcp.minIdle},MaxWait=${dbcp.maxWait}</dbcp.args>
<!-- have to use a larger waitTimeout to avoid lockmgr test failures -->
<derby.locks.waitTimeout>60</derby.locks.waitTimeout> <derby.locks.waitTimeout>60</derby.locks.waitTimeout>
<derby.locks.deadlockTimeout>5</derby.locks.deadlockTimeout> <derby.locks.deadlockTimeout>5</derby.locks.deadlockTimeout>
<tests.openjpa.allowfailure>ignore</tests.openjpa.allowfailure> <tests.openjpa.allowfailure>ignore</tests.openjpa.allowfailure>
@ -601,7 +610,6 @@
<name>derby.locks.deadlockTimeout</name> <name>derby.locks.deadlockTimeout</name>
<value>${derby.locks.deadlockTimeout}</value> <value>${derby.locks.deadlockTimeout}</value>
</property> </property>
<!-- following causes lockmgr test failures -->
<property> <property>
<name>derby.locks.waitTimeout</name> <name>derby.locks.waitTimeout</name>
<value>${derby.locks.waitTimeout}</value> <value>${derby.locks.waitTimeout}</value>