mirror of
https://github.com/apache/openjpa.git
synced 2025-02-21 01:15:30 +00:00
added some openjpa-lib test, pom files, and serp fork. We may move the changes in serp back into the serp source tree and add a maven layout to serp, but for now, let's just get things rolling here.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@417860 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b9183699ba
commit
46e7dbf647
@ -1,81 +0,0 @@
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
package org.apache.openjpa.lib.conf;
|
||||
|
||||
|
||||
import java.io.*;
|
||||
import java.util.*;
|
||||
|
||||
import org.apache.commons.collections.*;
|
||||
|
||||
|
||||
/**
|
||||
* <p>No-op configuration provider.</p>
|
||||
*
|
||||
* @author Abe White
|
||||
* @nojavadoc
|
||||
*/
|
||||
public class NoneConfigurationProvider
|
||||
implements ConfigurationProvider
|
||||
{
|
||||
private static final NoneConfigurationProvider _instance =
|
||||
new NoneConfigurationProvider ();
|
||||
|
||||
|
||||
/**
|
||||
* Singleton.
|
||||
*/
|
||||
public static NoneConfigurationProvider getInstance ()
|
||||
{
|
||||
return _instance;
|
||||
}
|
||||
|
||||
|
||||
public boolean loadDefaults (ClassLoader loader)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
public boolean load (String resource, ClassLoader loader)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
public boolean load (File file)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
public Map getProperties ()
|
||||
{
|
||||
return MapUtils.EMPTY_MAP;
|
||||
}
|
||||
|
||||
|
||||
public void addProperties (Map props)
|
||||
{
|
||||
if (props != null && !props.isEmpty ())
|
||||
throw new UnsupportedOperationException ();
|
||||
}
|
||||
|
||||
|
||||
public void setInto (Configuration conf)
|
||||
{
|
||||
}
|
||||
}
|
113
openjpa-lib/pom.xml
Executable file
113
openjpa-lib/pom.xml
Executable file
@ -0,0 +1,113 @@
|
||||
<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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-lib</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Utilities</name>
|
||||
<description>Utilities</description>
|
||||
<url>http://incubator.apache.org/projects/openjpa</url>
|
||||
<parent>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>0.0.1</version>
|
||||
|
||||
</parent>
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>serp</artifactId>
|
||||
<version>0.0.1</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
<version>1.0.4</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
<version>1.2.13</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>servlet-api</artifactId>
|
||||
<version>2.5</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.1</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>ant</groupId>
|
||||
<artifactId>ant</artifactId>
|
||||
<version>1.6.5</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>commons-collections</groupId>
|
||||
<artifactId>commons-collections</artifactId>
|
||||
<version>3.1</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>commons-pool</groupId>
|
||||
<artifactId>commons-pool</artifactId>
|
||||
<version>1.2</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>backport-util-concurrent</groupId>
|
||||
<artifactId>backport-util-concurrent</artifactId>
|
||||
<version>2.1</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.3</source>
|
||||
<target>1.3</target>
|
||||
</configuration>
|
||||
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
|
||||
</project>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user