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.0.2.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.0.2.RELEASE has 20 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.8 The runtime needed to execute a program using AspectJ | 15 |
AOP | aspectjweaver 1.6.8 The AspectJ weaver introduces advices to java classes | 17 |
JUnit | junit 4.8.1 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. | 1256 |
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 |
The following plugins are used in the spring-data-jpa-1.0.2.RELEASE.jar
The following packages are defined in the spring-data-jpa-1.0.2.RELEASE.jar
org.springframework.data.jpa.domain org.springframework.data.jpa.domain.support org.springframework.data.jpa.repository 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.
<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.0.2.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</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>3.0.5.RELEASE</spring.version> <spring.data.commons.version>1.1.0.RELEASE</spring.data.commons.version> <hibernate.version>3.6.5.Final</hibernate.version> <openjpa.version>2.1.0</openjpa.version> <eclipselink.version>2.2.0</eclipselink.version> <aspectj.version>1.6.8</aspectj.version> <querydsl.version>2.2.5</querydsl.version> <junit.version>4.8.1</junit.version> <jpa.version>2.0.0</jpa.version> <slf4j.version>1.6.1</slf4j.version> <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> <id>staging</id> <distributionManagement> <site> <id>spring-site-staging</id> <url>file:///${java.io.tmpdir}/spring-data/data-jpa/docs/${project.version}</url> </site> <repository> <id>spring-milestone-staging</id> <url>file:///${java.io.tmpdir}/spring-data/data-jpa/milestone</url> </repository> <snapshotRepository> <id>spring-snapshot-staging</id> <url>file:///${java.io.tmpdir}/spring-data/data-jpa/snapshot</url> </snapshotRepository> </distributionManagement> </profile> <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.0.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-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>junit</groupId> <artifactId>junit</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.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> <version>1.1</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> </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> </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.3</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.5</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>true</failOnWarnings> </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.2</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/snapshot-site/</url> </site> <repository> <id>spring-release</id> <name>Spring Milestone Repository</name> <url>s3://maven.springframework.org/release</url> </repository> <snapshotRepository> <id>spring-snapshot</id> <name>Spring Snapshot Repository</name> <url>s3://maven.springframework.org/snapshot</url> </snapshotRepository> </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>repository.springframework.maven.release</id> <name>Spring Framework Maven Release Repository</name> <url>http://maven.springframework.org/release</url> </repository> <repository> <id>repository.springframework.maven.milestone</id> <name>Spring Framework Maven Milestone Repository</name> <url>http://maven.springframework.org/milestone</url> </repository> <repository> <id>repository.springframework.maven.snapshot</id> <name>Spring Framework Maven Snapshot Repository</name> <url>http://maven.springframework.org/snapshot</url> </repository> <repository> <id>jboss</id> <name>JBoss repository</name> <url>https://repository.jboss.org/nexus/content/repositories/releases</url> </repository> <repository> <id>eclipselink</id> <name>EclipseLink Repo</name> <url>http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo</url> </repository> <repository> <id>querydsl</id> <name>QueryDsl</name> <url>http://source.mysema.com/maven2/releases</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>repository.springframework.maven.release</id> <name>Spring Framework Maven Release Repository</name> <url>http://maven.springframework.org/release</url> </pluginRepository> <pluginRepository> <id>repository.springsource.maven.bundles.release</id> <name>SpringSource Maven Bundles Release Repository</name> <url>http://repository.springsource.com/maven/bundles/release</url> </pluginRepository> <pluginRepository> <id>querydsl</id> <name>QueryDsl</name> <url>http://source.mysema.com/maven2/releases</url> </pluginRepository> </pluginRepositories> </project>