Renamed packages from datastore to data

This commit is contained in:
Graeme Rocher
2010-11-10 12:43:07 +01:00
parent 243e13ec55
commit ede9c6ed8b
84 changed files with 120 additions and 90 deletions

28
pom.xml
View File

@@ -3,15 +3,15 @@
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.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-datastore-document-dist</artifactId> <artifactId>spring-data-document-dist</artifactId>
<name>Spring Datastore Document Distribution</name> <name>Spring Data Document Distribution</name>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>1.0.0.BUILD-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>spring-datastore-document-parent</module> <module>spring-data-document-parent</module>
<module>spring-datastore-document-core</module> <module>spring-data-document-core</module>
<module>spring-datastore-mongodb</module> <module>spring-data-mongodb</module>
<module>spring-datastore-couchdb</module> <module>spring-data-couchdb</module>
</modules> </modules>
<developers> <developers>
@@ -55,8 +55,8 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- dist.* properties are used by the antrun tasks below --> <!-- dist.* properties are used by the antrun tasks below -->
<dist.id>spring-datastore-document</dist.id> <dist.id>spring-data-document</dist.id>
<dist.name>Spring Datastore Document</dist.name> <dist.name>Spring Data Document</dist.name>
<dist.key>DATADOC</dist.key> <dist.key>DATADOC</dist.key>
<dist.version>${project.version}</dist.version> <dist.version>${project.version}</dist.version>
<dist.releaseType>snapshot</dist.releaseType> <dist.releaseType>snapshot</dist.releaseType>
@@ -75,15 +75,15 @@
<distributionManagement> <distributionManagement>
<site> <site>
<id>spring-site-staging</id> <id>spring-site-staging</id>
<url>file:///${java.io.tmpdir}/spring-data/datastore-document/docs/${project.version}</url> <url>file:///${java.io.tmpdir}/spring-data/data-document/docs/${project.version}</url>
</site> </site>
<repository> <repository>
<id>spring-milestone-staging</id> <id>spring-milestone-staging</id>
<url>file:///${java.io.tmpdir}/spring-data/datastore-document/milestone</url> <url>file:///${java.io.tmpdir}/spring-data/data-document/milestone</url>
</repository> </repository>
<snapshotRepository> <snapshotRepository>
<id>spring-snapshot-staging</id> <id>spring-snapshot-staging</id>
<url>file:///${java.io.tmpdir}/spring-data/datastore-document/snapshot</url> <url>file:///${java.io.tmpdir}/spring-data/data-document/snapshot</url>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
</profile> </profile>
@@ -93,7 +93,7 @@
<downloadUrl>http://www.springsource.com/download/community</downloadUrl> <downloadUrl>http://www.springsource.com/download/community</downloadUrl>
<site> <site>
<id>static.springframework.org</id> <id>static.springframework.org</id>
<url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-data/datastore-document/docs/${project.version}</url> <url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-data/data-document/docs/${project.version}</url>
</site> </site>
<repository> <repository>
<id>spring-milestone</id> <id>spring-milestone</id>
@@ -172,7 +172,7 @@
</fileset> </fileset>
</copy> </copy>
<move file="${project.basedir}/target/site/reference/pdf/index.pdf" <move file="${project.basedir}/target/site/reference/pdf/index.pdf"
tofile="${project.basedir}/target/site/reference/pdf/spring-datastore-document-reference.pdf" tofile="${project.basedir}/target/site/reference/pdf/spring-data-document-reference.pdf"
failonerror="false" /> failonerror="false" />
</postProcess> </postProcess>
</configuration> </configuration>
@@ -190,7 +190,7 @@
<configuration> <configuration>
<javadoc:aggregate>true</javadoc:aggregate> <javadoc:aggregate>true</javadoc:aggregate>
<breakiterator>true</breakiterator> <breakiterator>true</breakiterator>
<header>Spring Datastore Document</header> <header>Spring Data Document</header>
<source>1.5</source> <source>1.5</source>
<quiet>true</quiet> <quiet>true</quiet>
<javadocDirectory>${project.basedir}/src/main/javadoc</javadocDirectory> <javadocDirectory>${project.basedir}/src/main/javadoc</javadocDirectory>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>spring-datastore-couchdb</name> <name>spring-data-couchdb</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>

View File

@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-datastore-document-parent</artifactId> <artifactId>spring-data-document-parent</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>1.0.0.BUILD-SNAPSHOT</version>
<relativePath>../spring-datastore-document-parent/pom.xml</relativePath> <relativePath>../spring-data-document-parent/pom.xml</relativePath>
</parent> </parent>
<artifactId>spring-datastore-couchdb</artifactId> <artifactId>spring-data-couchdb</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Spring Datastore CouchDB Support</name> <name>Spring Data CouchDB Support</name>
<dependencies> <dependencies>
<!-- Spring --> <!-- Spring -->
@@ -25,7 +25,7 @@
<!-- Spring Data --> <!-- Spring Data -->
<dependency> <dependency>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-datastore-document-core</artifactId> <artifactId>spring-data-document-core</artifactId>
</dependency> </dependency>
<!-- Logging --> <!-- Logging -->

View File

@@ -1,4 +1,4 @@
package org.springframework.datastore.document.couchdb; package org.springframework.data.document.couchdb;
import org.springframework.dao.DataAccessResourceFailureException; import org.springframework.dao.DataAccessResourceFailureException;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document.couchdb; package org.springframework.data.document.couchdb;
import org.jcouchdb.db.Database; import org.jcouchdb.db.Database;
import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.FactoryBean;

View File

@@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document.couchdb; package org.springframework.data.document.couchdb;
import org.jcouchdb.exception.CouchDBException; import org.jcouchdb.exception.CouchDBException;
import org.springframework.dao.DataAccessException; import org.springframework.dao.DataAccessException;
import org.springframework.datastore.document.UncategorizedDocumentStoreException; import org.springframework.data.document.UncategorizedDocumentStoreException;
/** /**
* Helper class featuring helper methods for internal MongoDb classes. * Helper class featuring helper methods for internal MongoDb classes.

View File

@@ -1,7 +1,7 @@
package org.springframework.datastore.document.couchdb; package org.springframework.data.document.couchdb;
import org.jcouchdb.document.BaseDocument; import org.jcouchdb.document.BaseDocument;
import org.springframework.datastore.document.DocumentSource; import org.springframework.data.document.DocumentSource;
public interface CouchDocumentSource extends DocumentSource<BaseDocument> { public interface CouchDocumentSource extends DocumentSource<BaseDocument> {

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document.couchdb; package org.springframework.data.document.couchdb;
import org.jcouchdb.db.Database; import org.jcouchdb.db.Database;
import org.jcouchdb.document.BaseDocument; import org.jcouchdb.document.BaseDocument;
import org.springframework.datastore.document.AbstractDocumentStoreTemplate; import org.springframework.data.document.AbstractDocumentStoreTemplate;
import org.springframework.datastore.document.DocumentSource; import org.springframework.data.document.DocumentSource;
public class CouchTemplate extends AbstractDocumentStoreTemplate<Database> { public class CouchTemplate extends AbstractDocumentStoreTemplate<Database> {

View File

@@ -1,5 +1,5 @@
Bundle-SymbolicName: org.springframework.datastore.couchdb Bundle-SymbolicName: org.springframework.data.couchdb
Bundle-Name: Spring Datastore Couch DB Support Bundle-Name: Spring Data Couch DB Support
Bundle-Vendor: SpringSource Bundle-Vendor: SpringSource
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Import-Package: Import-Package:
@@ -10,8 +10,6 @@ Import-Template:
org.springframework.dao.*;version="[3.0.0, 4.0.0)", org.springframework.dao.*;version="[3.0.0, 4.0.0)",
org.springframework.util.*;version="[3.0.0, 4.0.0)", org.springframework.util.*;version="[3.0.0, 4.0.0)",
org.springframework.data.core.*;version="[1.0.0, 2.0.0)", org.springframework.data.core.*;version="[1.0.0, 2.0.0)",
org.springframework.datastore.core.*;version="[1.0.0, 2.0.0)",
org.springframework.datastore.persistence.*;version="[1.0.0, 2.0.0)",
org.springframework.datastore.document.*;version="[1.0.0, 2.0.0)", org.springframework.datastore.document.*;version="[1.0.0, 2.0.0)",
org.jcouchdb.*;version="0", org.jcouchdb.*;version="0",
org.aopalliance.*;version="[1.0.0, 2.0.0)";resolution:=optional, org.aopalliance.*;version="[1.0.0, 2.0.0)";resolution:=optional,

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>spring-datastore-document-core</name> <name>spring-data-document-core</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>

View File

@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-datastore-document-parent</artifactId> <artifactId>spring-data-document-parent</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>1.0.0.BUILD-SNAPSHOT</version>
<relativePath>../spring-datastore-document-parent/pom.xml</relativePath> <relativePath>../spring-data-document-parent/pom.xml</relativePath>
</parent> </parent>
<artifactId>spring-datastore-document-core</artifactId> <artifactId>spring-data-document-core</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Spring Datastore Document Datastore Support</name> <name>Spring Data Document Support</name>
<dependencies> <dependencies>
<!-- Spring --> <!-- Spring -->

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document; package org.springframework.data.document;
public abstract class AbstractDocumentStoreTemplate<C> { public abstract class AbstractDocumentStoreTemplate<C> {

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document; package org.springframework.data.document;
/** /**
* Class used to map a Document to a business object. * Class used to map a Document to a business object.

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document; package org.springframework.data.document;
/** /**
* Class used to map a business object to an object providing the source data for a Document. * Class used to map a business object to an object providing the source data for a Document.

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document; package org.springframework.data.document;
public interface DocumentStoreConnectionCallback<C, T> { public interface DocumentStoreConnectionCallback<C, T> {

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document; package org.springframework.data.document;
import org.springframework.dao.InvalidDataAccessApiUsageException; import org.springframework.dao.InvalidDataAccessApiUsageException;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document; package org.springframework.data.document;
import org.springframework.dao.UncategorizedDataAccessException; import org.springframework.dao.UncategorizedDataAccessException;

View File

@@ -1,4 +1,4 @@
package org.springframework.datastore.document.analytics; package org.springframework.data.document.analytics;
import java.util.Date; import java.util.Date;
import java.util.Map; import java.util.Map;

View File

@@ -1,4 +1,4 @@
package org.springframework.datastore.document.analytics; package org.springframework.data.document.analytics;
import java.util.Date; import java.util.Date;

View File

@@ -1,4 +1,4 @@
package org.springframework.datastore.document.analytics; package org.springframework.data.document.analytics;
public class Parameters { public class Parameters {

View File

@@ -15,7 +15,7 @@
*/ */
package org.springframework.datastore.document.web.bind.annotation.support; package org.springframework.data.document.web.bind.annotation.support;
import java.lang.annotation.Annotation; import java.lang.annotation.Annotation;
import java.lang.reflect.Array; import java.lang.reflect.Array;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document.web.servlet; package org.springframework.data.document.web.servlet;
import java.util.Arrays; import java.util.Arrays;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document.web.servlet; package org.springframework.data.document.web.servlet;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.util.Arrays; import java.util.Arrays;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document.web.servlet; package org.springframework.data.document.web.servlet;
public interface ActionInterceptor { public interface ActionInterceptor {

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document.web.servlet.mvc.annotation; package org.springframework.data.document.web.servlet.mvc.annotation;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
@@ -61,10 +61,10 @@ import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
import org.springframework.core.Ordered; import org.springframework.core.Ordered;
import org.springframework.core.ParameterNameDiscoverer; import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.core.annotation.AnnotationUtils; import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.datastore.document.web.servlet.ActionExecutedContext; import org.springframework.data.document.web.servlet.ActionExecutedContext;
import org.springframework.datastore.document.web.servlet.ActionExecutingContext; import org.springframework.data.document.web.servlet.ActionExecutingContext;
import org.springframework.datastore.document.web.servlet.ActionInterceptor; import org.springframework.data.document.web.servlet.ActionInterceptor;
import org.springframework.datastore.document.web.servlet.mvc.annotation.support.InterceptingHandlerMethodInvoker; import org.springframework.data.document.web.servlet.mvc.annotation.support.InterceptingHandlerMethodInvoker;
import org.springframework.format.support.FormattingConversionService; import org.springframework.format.support.FormattingConversionService;
import org.springframework.http.HttpEntity; import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders; import org.springframework.http.HttpHeaders;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document.web.servlet.mvc.annotation; package org.springframework.data.document.web.servlet.mvc.annotation;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.datastore.document.web.servlet.mvc.annotation.support; package org.springframework.data.document.web.servlet.mvc.annotation.support;
import java.lang.annotation.Annotation; import java.lang.annotation.Annotation;
import java.lang.reflect.Array; import java.lang.reflect.Array;
@@ -43,7 +43,7 @@ import org.springframework.core.GenericTypeResolver;
import org.springframework.core.MethodParameter; import org.springframework.core.MethodParameter;
import org.springframework.core.ParameterNameDiscoverer; import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.core.annotation.AnnotationUtils; import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.datastore.document.web.servlet.ActionInterceptor; import org.springframework.data.document.web.servlet.ActionInterceptor;
import org.springframework.http.HttpEntity; import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders; import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpInputMessage; import org.springframework.http.HttpInputMessage;

View File

@@ -1,5 +1,5 @@
Bundle-SymbolicName: org.springframework.datastore.document Bundle-SymbolicName: org.springframework.data.document
Bundle-Name: Spring Datastore Document Bundle-Name: Spring Data Document
Bundle-Vendor: SpringSource Bundle-Vendor: SpringSource
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Import-Package: Import-Package:
@@ -25,8 +25,6 @@ Import-Template:
org.springframework.dao.*;version="[3.0.0, 4.0.0)", org.springframework.dao.*;version="[3.0.0, 4.0.0)",
org.springframework.util.*;version="[3.0.0, 4.0.0)", org.springframework.util.*;version="[3.0.0, 4.0.0)",
org.springframework.data.core.*;version="[1.0.0, 2.0.0)", org.springframework.data.core.*;version="[1.0.0, 2.0.0)",
org.springframework.datastore.core.*;version="[1.0.0, 2.0.0)",
org.springframework.datastore.persistence.*;version="[1.0.0, 2.0.0)",
org.aopalliance.*;version="[1.0.0, 2.0.0)";resolution:=optional, org.aopalliance.*;version="[1.0.0, 2.0.0)";resolution:=optional,
org.apache.commons.logging.*;version="[1.1.1, 2.0.0)", org.apache.commons.logging.*;version="[1.1.1, 2.0.0)",
org.w3c.dom.*;version="0" org.w3c.dom.*;version="0"

View File

@@ -3,9 +3,9 @@
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.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-datastore-document-parent</artifactId> <artifactId>spring-data-document-parent</artifactId>
<name>Spring Datastore Document Parent</name> <name>Spring Data Document Parent</name>
<url>http://www.springsource.org/spring-data/datastore-document</url> <url>http://www.springsource.org/spring-data/data-document</url>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>1.0.0.BUILD-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<properties> <properties>
@@ -36,15 +36,15 @@
<distributionManagement> <distributionManagement>
<site> <site>
<id>spring-site-staging</id> <id>spring-site-staging</id>
<url>file:///${java.io.tmpdir}/spring-data/datastore-document/docs</url> <url>file:///${java.io.tmpdir}/spring-data/data-document/docs</url>
</site> </site>
<repository> <repository>
<id>spring-milestone-staging</id> <id>spring-milestone-staging</id>
<url>file:///${java.io.tmpdir}/spring-data/datastore-document/milestone</url> <url>file:///${java.io.tmpdir}/spring-data/data-document/milestone</url>
</repository> </repository>
<snapshotRepository> <snapshotRepository>
<id>spring-snapshot-staging</id> <id>spring-snapshot-staging</id>
<url>file:///${java.io.tmpdir}/spring-data/datastore-document/snapshot</url> <url>file:///${java.io.tmpdir}/spring-data/data-document/snapshot</url>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
</profile> </profile>
@@ -59,7 +59,7 @@
</downloadUrl> </downloadUrl>
<site> <site>
<id>static.springframework.org</id> <id>static.springframework.org</id>
<url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-data/datastore-document/docs/${project.version} <url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-data/data-document/docs/${project.version}
</url> </url>
</site> </site>
<repository> <repository>
@@ -121,17 +121,17 @@
<!-- Spring Data --> <!-- Spring Data -->
<dependency> <dependency>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-datastore-document-core</artifactId> <artifactId>spring-data-document-core</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-datastore-couchdb</artifactId> <artifactId>spring-data-couchdb</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-datastore-mongodb</artifactId> <artifactId>spring-data-mongodb</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>spring-data-mongodb</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>

View File

@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-datastore-document-parent</artifactId> <artifactId>spring-data-document-parent</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>1.0.0.BUILD-SNAPSHOT</version>
<relativePath>../spring-datastore-document-parent/pom.xml</relativePath> <relativePath>../spring-data-document-parent/pom.xml</relativePath>
</parent> </parent>
<artifactId>spring-datastore-mongodb</artifactId> <artifactId>spring-data-mongodb</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Spring Datastore MongoDB Support</name> <name>Spring Data MongoDB Support</name>
<dependencies> <dependencies>
<!-- Spring --> <!-- Spring -->
@@ -25,7 +25,7 @@
<!-- Spring Data --> <!-- Spring Data -->
<dependency> <dependency>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-datastore-document-core</artifactId> <artifactId>spring-data-document-core</artifactId>
</dependency> </dependency>
<!-- Logging --> <!-- Logging -->

View File

@@ -21,7 +21,7 @@ import org.apache.commons.logging.LogFactory;
import org.springframework.dao.DataAccessException; import org.springframework.dao.DataAccessException;
import org.springframework.dao.DataAccessResourceFailureException; import org.springframework.dao.DataAccessResourceFailureException;
import org.springframework.dao.DataIntegrityViolationException; import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.datastore.document.UncategorizedDocumentStoreException; import org.springframework.data.document.UncategorizedDocumentStoreException;
import org.springframework.transaction.support.TransactionSynchronizationManager; import org.springframework.transaction.support.TransactionSynchronizationManager;
import org.springframework.util.Assert; import org.springframework.util.Assert;

View File

@@ -15,7 +15,7 @@
*/ */
package org.springframework.data.document.mongodb; package org.springframework.data.document.mongodb;
import org.springframework.datastore.document.DocumentSource; import org.springframework.data.document.DocumentSource;
import com.mongodb.DBObject; import com.mongodb.DBObject;

View File

@@ -23,8 +23,8 @@ import java.util.List;
import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.InitializingBean;
import org.springframework.dao.DataRetrievalFailureException; import org.springframework.dao.DataRetrievalFailureException;
import org.springframework.dao.InvalidDataAccessApiUsageException; import org.springframework.dao.InvalidDataAccessApiUsageException;
import org.springframework.data.document.AbstractDocumentStoreTemplate;
import org.springframework.data.document.mongodb.query.Query; import org.springframework.data.document.mongodb.query.Query;
import org.springframework.datastore.document.AbstractDocumentStoreTemplate;
import com.mongodb.BasicDBObject; import com.mongodb.BasicDBObject;
import com.mongodb.CommandResult; import com.mongodb.CommandResult;

View File

@@ -19,7 +19,7 @@ import java.util.ArrayList;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import org.springframework.datastore.document.InvalidDocumentStoreApiUageException; import org.springframework.data.document.InvalidDocumentStoreApiUageException;
import com.mongodb.BasicDBObject; import com.mongodb.BasicDBObject;
import com.mongodb.DBObject; import com.mongodb.DBObject;

View File

@@ -11,11 +11,11 @@ import org.junit.Assert;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore; import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.springframework.data.document.analytics.ControllerCounter;
import org.springframework.data.document.analytics.MvcEvent;
import org.springframework.data.document.analytics.Parameters;
import org.springframework.data.document.mongodb.MongoReader; import org.springframework.data.document.mongodb.MongoReader;
import org.springframework.data.document.mongodb.MongoTemplate; import org.springframework.data.document.mongodb.MongoTemplate;
import org.springframework.datastore.document.analytics.ControllerCounter;
import org.springframework.datastore.document.analytics.MvcEvent;
import org.springframework.datastore.document.analytics.Parameters;
import com.mongodb.BasicDBList; import com.mongodb.BasicDBList;
import com.mongodb.BasicDBObject; import com.mongodb.BasicDBObject;

View File

@@ -1,5 +1,5 @@
Bundle-SymbolicName: org.springframework.datastore.mongodb Bundle-SymbolicName: org.springframework.data.mongodb
Bundle-Name: Spring Datastore Mongo DB Support Bundle-Name: Spring Data Mongo DB Support
Bundle-Vendor: SpringSource Bundle-Vendor: SpringSource
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Import-Package: Import-Package:
@@ -11,9 +11,7 @@ Import-Template:
org.springframework.util.*;version="[3.0.0, 4.0.0)", org.springframework.util.*;version="[3.0.0, 4.0.0)",
org.springframework.transaction.*;version="[3.0.0, 4.0.0)", org.springframework.transaction.*;version="[3.0.0, 4.0.0)",
org.springframework.data.core.*;version="[1.0.0, 2.0.0)", org.springframework.data.core.*;version="[1.0.0, 2.0.0)",
org.springframework.datastore.core.*;version="[1.0.0, 2.0.0)", org.springframework.data.document.*;version="[1.0.0, 2.0.0)",
org.springframework.datastore.persistence.*;version="[1.0.0, 2.0.0)",
org.springframework.datastore.document.*;version="[1.0.0, 2.0.0)",
com.mongodb.*;version="0", com.mongodb.*;version="0",
org.bson.*;version="0", org.bson.*;version="0",
org.aopalliance.*;version="[1.0.0, 2.0.0)";resolution:=optional, org.aopalliance.*;version="[1.0.0, 2.0.0)";resolution:=optional,