Spring Data JPA.
Spring Data module to provide sophisticated support for JPA repositories.
Here is the list of declaration for spring-data-jpa. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-jpa</artifactId> <version>1.2.0.RELEASE</version> </dependency>
If you think this Maven repository POM file listing for spring-data-jpa is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.
The spring-data-jpa-1.2.0.RELEASE has 30 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Log | slf4j-api 1.6.1 The slf4j API | 621 |
Log | jcl-over-slf4j 1.6.1 JCL 1.1.1 implementation over SLF4J | 87 |
AOP | aspectjrt 1.6.12 The runtime needed to execute a program using AspectJ | 5 |
Testing | hamcrest-library 1.2.1 Hamcrest library of matcher implementations. | 46 |
JUnit | junit-dep 4.10 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 177 |
Testing Mock | mockito-all 1.8.4 Mock objects library for java | 76 |
Java Library | joda-time 1.6 Date and time library to replace JDK date handling. | 200 |
Log | slf4j-log4j12 1.6.1 The slf4j log4j-12 binding | 345 |
Log | log4j 1.2.16 Apache Log4j 1.2 | 683 |
JPA Hibernate | hibernate-entitymanager 3.6.10.Final Hibernate Entity Manager | 32 |
JDBC | openjpa-persistence-jdbc 2.2.0 OpenJPA Persistence JDBC | 10 |
Inversion of Control | cdi-api 1.0 APIs for JSR-299: Contexts and Dependency Injection for Java EE | 16 |
JPA Hibernate | hibernate-jpamodelgen 1.2.0.Final Annotation Processor to generate JPA 2 static metamodel classes | 12 |
The following plugins are used in the spring-data-jpa-1.2.0.RELEASE.jar
The following packages are defined in the spring-data-jpa-1.2.0.RELEASE.jar
org.springframework.data.jpa.domain org.springframework.data.jpa.domain.support org.springframework.data.jpa.repository org.springframework.data.jpa.repository.cdi org.springframework.data.jpa.repository.config org.springframework.data.jpa.repository.query org.springframework.data.jpa.repository.support org.springframework.data.jpa.repository.utils org.springframework.data.jpa.support
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <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> <groupId>org.springframework.data</groupId> <artifactId>spring-data-jpa</artifactId> <version>1.2.0.RELEASE</version> <name>Spring Data JPA</name> <description>Spring Data module to provide sophisticated support for JPA repositories</description> <url>http://www.springsource.org/spring-data</url> <inceptionYear>2011-2012</inceptionYear> <organization> <name>SpringSource</name> <url>http://www.springsource.org</url> </organization> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> <comments> Copyright 2011 the original author or authors. 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. </comments> </license> </licenses> <properties> <spring.version.30>3.0.7.RELEASE</spring.version.30> <spring.version>3.1.2.RELEASE</spring.version> <spring.data.commons.version>1.4.0.RELEASE</spring.data.commons.version> <hibernate.version>3.6.10.Final</hibernate.version> <openjpa.version>2.2.0</openjpa.version> <eclipselink.version>2.4.0</eclipselink.version> <aspectj.version>1.6.12</aspectj.version> <querydsl.version>2.8.0</querydsl.version> <junit.version>4.10</junit.version> <jpa.version>2.0.0</jpa.version> <slf4j.version>1.6.1</slf4j.version> <cdi.version>1.0</cdi.version> <webbeans.version>1.1.3</webbeans.version> <bundlor.failOnWarnings>true</bundlor.failOnWarnings> <bundlor.enabled>true</bundlor.enabled> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <dist.id>spring-data-jpa</dist.id> <dist.name>Spring Data JPA</dist.name> <dist.key>DATAJPA</dist.key> <dist.releaseType>snapshot</dist.releaseType> <dist.version>${project.version}</dist.version> <dist.finalName>${dist.id}-${dist.version}</dist.finalName> <dist.fileName>${dist.finalName}.zip</dist.fileName> <dist.filePath>target/${dist.fileName}</dist.filePath> <dist.bucketName>dist.springframework.org</dist.bucketName> <!-- these properties should be in ~/.m2/settings.xml <dist.accessKey>s3 access key</dist.accessKey> <dist.secretKey>s3 secret key</dist.secretKey> --> </properties> <profiles> <profile> <!-- Profile used when doing milestone or release ddeployments--> <id>distribute</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> <executions> <execution> <goals> <goal>javadoc</goal> </goals> <phase>package</phase> </execution> </executions> <configuration> <breakiterator>true</breakiterator> <header>Spring Data Jpa</header> <source>1.5</source> <quiet>true</quiet> <javadocDirectory>${project.basedir}/src/main/javadoc</javadocDirectory> <overview>${project.basedir}/src/main/javadoc/overview.html</overview> <stylesheetfile>${project.basedir}/src/main/javadoc/spring-javadoc.css</stylesheetfile> <!-- copies doc-files subdirectory which contains image resources --> <docfilessubdirs>true</docfilessubdirs> <links> <link>http://static.springframework.org/spring/docs/3.1.x/javadoc-api</link> <link>http://download.oracle.com/javase/1.5.0/docs/api</link> <link>http://static.springsource.org/spring-data/data-commons/docs/${spring.data.commons.version}/api</link> </links> </configuration> </plugin> <plugin> <groupId>com.agilejava.docbkx</groupId> <artifactId>docbkx-maven-plugin</artifactId> <version>2.0.7</version> <executions> <execution> <goals> <goal>generate-html</goal> <goal>generate-pdf</goal> </goals> <phase>package</phase> </execution> </executions> <dependencies> <dependency> <groupId>org.docbook</groupId> <artifactId>docbook-xml</artifactId> <version>4.4</version> <scope>runtime</scope> </dependency> </dependencies> <configuration> <includes>index.xml</includes> <xincludeSupported>true</xincludeSupported> <foCustomization>${project.basedir}/src/docbkx/resources/xsl/fopdf.xsl</foCustomization> <htmlStylesheet>css/html.css</htmlStylesheet> <chunkedOutput>false</chunkedOutput> <htmlCustomization>${project.basedir}/src/docbkx/resources/xsl/html.xsl</htmlCustomization> <useExtensions>1</useExtensions> <highlightSource>1</highlightSource> <entities> <entity> <name>version</name> <value>${project.version}</value> </entity> </entities> <postProcess> <copy todir="${project.basedir}/target/site/reference"> <fileset dir="${project.basedir}/target/docbkx"> <include name="**/*.html" /> <include name="**/*.pdf" /> </fileset> </copy> <copy todir="${project.basedir}/target/site/reference/html"> <fileset dir="${project.basedir}/src/docbkx/resources"> <include name="**/*.css" /> <include name="**/*.png" /> <include name="**/*.gif" /> <include name="**/*.jpg" /> </fileset> </copy> <move file="${project.basedir}/target/site/reference/pdf/index.pdf" tofile="${project.basedir}/target/site/reference/pdf/${project.artifactId}-reference.pdf" failonerror="false" /> </postProcess> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-5</version> <inherited>false</inherited> <executions> <execution> <id>distribution</id> <goals> <goal>single</goal> </goals> <phase>package</phase> <configuration> <descriptors> <descriptor>${project.basedir}/src/assembly/distribution.xml</descriptor> </descriptors> <appendAssemblyId>false</appendAssemblyId> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.4</version> <executions> <execution> <id>upload-dist</id> <phase>deploy</phase> <configuration> <tasks> <ant antfile="${basedir}/src/ant/upload-dist.xml"> <target name="upload-dist" /> </ant> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.springframework.build</groupId> <artifactId>org.springframework.build.aws.ant</artifactId> <version>3.0.5.RELEASE</version> </dependency> <dependency> <groupId>net.java.dev.jets3t</groupId> <artifactId>jets3t</artifactId> <version>0.7.2</version> </dependency> </dependencies> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>spring-data-commons-core</artifactId> <version>${spring.data.commons.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-instrument</artifactId> <version>${spring.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <!-- Logging (SLF4J + JCL bridge) --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> <version>${slf4j.version}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>${aspectj.version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>${aspectj.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> <version>${spring.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <version>1.2.1</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit-dep</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>1.8.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>1.8.0.10</version> <scope>test</scope> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>1.6</version> <optional>true</optional> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.16</version> <scope>test</scope> </dependency> <!-- Persistence providers --> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>${hibernate.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.jpa</artifactId> <version>${eclipselink.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.openjpa</groupId> <artifactId>openjpa-persistence-jdbc</artifactId> <version>${openjpa.version}</version> <optional>true</optional> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <!-- Transitive dependency pulls in JUnit 3.8.1 --> <!-- http://sourceforge.net/tracker/?func=detail&aid=2572567&group_id=31479&atid=402282 --> <exclusion> <groupId>junit</groupId> <artifactId>junit</artifactId> </exclusion> </exclusions> </dependency> <!-- QueryDsl --> <dependency> <groupId>com.mysema.querydsl</groupId> <artifactId>querydsl-apt</artifactId> <version>${querydsl.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.mysema.querydsl</groupId> <artifactId>querydsl-jpa</artifactId> <version>${querydsl.version}</version> <optional>true</optional> </dependency> <!-- CDI --> <dependency> <groupId>javax.enterprise</groupId> <artifactId>cdi-api</artifactId> <version>${cdi.version}</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.el</groupId> <artifactId>el-api</artifactId> <version>${cdi.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.openwebbeans.test</groupId> <artifactId>cditest-owb</artifactId> <version>${webbeans.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-jpamodelgen</artifactId> <version>1.2.0.Final</version> <scope>provided</scope> </dependency> </dependencies> <build> <extensions> <extension> <!-- available only in the springframework maven repository. see <repositories> section below --> <groupId>org.springframework.build.aws</groupId> <artifactId>org.springframework.build.aws.maven</artifactId> <version>3.1.0.RELEASE</version> </extension> </extensions> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.4</version> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.3.1</version> <configuration> <useDefaultManifestFile>true</useDefaultManifestFile> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12</version> <configuration> <includes> <include>**/*Tests.java</include> </includes> <argLine>-javaagent:${settings.localRepository}/org/springframework/spring-instrument/${spring.version}/spring-instrument-${spring.version}.jar -javaagent:${settings.localRepository}/org/apache/openjpa/openjpa/${openjpa.version}/openjpa-${openjpa.version}.jar</argLine> </configuration> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-instrument</artifactId> <version>${spring.version}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.openjpa</groupId> <artifactId>openjpa</artifactId> <version>${openjpa.version}</version> <scope>runtime</scope> </dependency> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>aspectj-maven-plugin</artifactId> <version>1.3</version> <dependencies> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>${aspectj.version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjtools</artifactId> <version>${aspectj.version}</version> </dependency> </dependencies> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> <configuration> <verbose>true</verbose> <aspectLibraries> <aspectLibrary> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> </aspectLibrary> </aspectLibraries> <includes> <include>**/domain/support/AuditingEntityListener.java</include> </includes> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.springsource.bundlor</groupId> <artifactId>com.springsource.bundlor.maven</artifactId> <version>1.0.0.RELEASE</version> <configuration> <failOnWarnings>${bundlor.failOnWarnings}</failOnWarnings> <enabled>${bundlor.enabled}</enabled> </configuration> <executions> <execution> <id>bundlor</id> <goals> <goal>bundlor</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.mysema.maven</groupId> <artifactId>maven-apt-plugin</artifactId> <version>1.0.4</version> <configuration> <processor>com.mysema.query.apt.jpa.JPAAnnotationProcessor</processor> </configuration> <executions> <execution> <id>sources</id> <phase>generate-sources</phase> <goals> <goal>process</goal> </goals> <configuration> <outputDirectory>target/generated-sources/main</outputDirectory> </configuration> </execution> <execution> <id>test-sources</id> <phase>generate-test-sources</phase> <goals> <goal>test-process</goal> </goals> <configuration> <outputDirectory>target/generated-sources/test</outputDirectory> <options> <querydsl.excludedClasses> org.springframework.data.jpa.repository.util.JpaClassUtilsUnitTests.NamedUser,org.springframework.data.jpa.repository.query.ParameterBinderUnitTests.SampleEmbeddable </querydsl.excludedClasses> </options> </configuration> </execution> </executions> </plugin> </plugins> </build> <distributionManagement> <!-- see 'staging' profile for dry-run deployment settings --> <downloadUrl>http://www.springsource.org/spring-data</downloadUrl> <site> <id>static.springframework.org</id> <url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-data/data-jpa/docs/${project.version}</url> </site> </distributionManagement> <ciManagement> <system>Bamboo</system> <url>http://build.springsource.org/browse/SPRINGDATA</url> </ciManagement> <issueManagement> <system>JIRA</system> <url>https://jira.springsource.org/browse/DATAJPA</url> </issueManagement> <scm> <url>https://github.com/SpringSource/spring-data-jpa</url> <connection>scm:git:git://github.com/SpringSource/spring-data-jpa.git</connection> <developerConnection>scm:git:ssh://git@github.com:SpringSource/spring-data-jpa.git</developerConnection> </scm> <repositories> <repository> <id>spring-libs-release</id> <url>http://repo.springsource.org/libs-release</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>spring-plugins-release</id> <url>http://repo.springsource.org/plugins-release</url> </pluginRepository> </pluginRepositories> </project>