Spring Data JPA.
Spring Data module 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.3.4.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.
The spring-data-jpa-1.3.4.RELEASE has 6 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 |
---|---|---|
Database | hsqldb 2.2.8 HSQLDB - Lightweight 100% Java SQL Database Engine | 63 |
JPA Hibernate | hibernate-entitymanager 3.6.10.Final Hibernate Entity Manager | 32 |
JPA Hibernate | hibernate-jpamodelgen 1.2.0.Final Annotation Processor to generate JPA 2 static metamodel classes | 12 |
JDBC | openjpa-persistence-jdbc 2.2.1 OpenJPA Persistence JDBC | 12 |
The following plugins are used in the spring-data-jpa-1.3.4.RELEASE.jar
The following packages are defined in the spring-data-jpa-1.3.4.RELEASE.jar
org.springframework.data.jpa.domain org.springframework.data.jpa.domain.support org.springframework.data.jpa.mapping 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.3.4.RELEASE</version> <name>Spring Data JPA</name> <description>Spring Data module for JPA repositories.</description> <url>http://www.springframework.org/spring-data/jpa</url> <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> <version>1.0.4.RELEASE</version> <relativePath>../spring-data-build/parent/pom.xml</relativePath> </parent> <properties> <dist.key>DATAJPA</dist.key> <eclipselink>2.4.0</eclipselink> <hibernate>3.6.10.Final</hibernate> <hsqldb1>1.8.0.10</hsqldb1> <jpa>2.0.0</jpa> <openjpa>2.2.1</openjpa> <springdata.commons>1.5.2.RELEASE</springdata.commons> </properties> <profiles> <profile> <id>hibernate-41</id> <properties> <hibernate>4.1.11.Final</hibernate> </properties> </profile> <profile> <id>hibernate-42</id> <properties> <hibernate>4.2.0.Final</hibernate> </properties> </profile> </profiles> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>spring-data-commons</artifactId> <version>${springdata.commons}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <version>${spring}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> <version>${spring}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${spring}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-instrument</artifactId> <version>${spring}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring}</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>${aspectj}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>${aspectj}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> <version>${spring}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>2.2.8</version> <scope>test</scope> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>${jodatime}</version> <optional>true</optional> </dependency> <!-- Persistence providers --> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>${hibernate}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-jpamodelgen</artifactId> <version>1.2.0.Final</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.jpa</artifactId> <version>${eclipselink}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.openjpa</groupId> <artifactId>openjpa-persistence-jdbc</artifactId> <version>${openjpa}</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> <scope>provided</scope> </dependency> <dependency> <groupId>com.mysema.querydsl</groupId> <artifactId>querydsl-jpa</artifactId> <version>${querydsl}</version> <optional>true</optional> </dependency> <!-- CDI --> <dependency> <groupId>javax.enterprise</groupId> <artifactId>cdi-api</artifactId> <version>${cdi}</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.el</groupId> <artifactId>el-api</artifactId> <version>${cdi}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.openwebbeans.test</groupId> <artifactId>cditest-owb</artifactId> <version>${webbeans}</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12</version> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-instrument</artifactId> <version>${spring}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.openjpa</groupId> <artifactId>openjpa</artifactId> <version>${openjpa}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>${hsqldb1}</version> <scope>runtime</scope> </dependency> </dependencies> <configuration> <excludes> <exclude>**/infrastructure/*</exclude> </excludes> </configuration> <executions> <execution> <id>default-test</id> <configuration> <excludes> <exclude>**/*</exclude> </excludes> </configuration> </execution> <execution> <id>unit-tests</id> <goals> <goal>test</goal> </goals> <phase>test</phase> <configuration> <includes> <include>**/*UnitTests.java</include> </includes> </configuration> </execution> <execution> <id>integration-tests</id> <goals> <goal>test</goal> </goals> <phase>test</phase> <configuration> <includes> <include>**/*IntegrationTests.java</include> <include>**/*Tests.java</include> </includes> <excludes> <exclude>**/*UnitTests.java</exclude> <exclude>**/OpenJpa*</exclude> <exclude>**/EclipseLink*</exclude> <exclude>**/infrastructure/*</exclude> </excludes> <argLine>-javaagent:${settings.localRepository}/org/springframework/spring-instrument/${spring}/spring-instrument-${spring}.jar</argLine> </configuration> </execution> <execution> <id>eclipselink-tests</id> <goals> <goal>test</goal> </goals> <phase>test</phase> <configuration> <includes> <include>**/EclipseLink*Tests.java</include> </includes> <argLine>-javaagent:${settings.localRepository}/org/springframework/spring-instrument/${spring}/spring-instrument-${spring}.jar</argLine> </configuration> </execution> <execution> <id>openjpa-tests</id> <goals> <goal>test</goal> </goals> <phase>test</phase> <configuration> <includes> <include>**/OpenJpa*Tests.java</include> </includes> <argLine>-javaagent:${settings.localRepository}/org/apache/openjpa/openjpa/${openjpa}/openjpa-${openjpa}.jar</argLine> <classpathDependencyExcludes> <classpathDepencyExclude>org.hsqldb:hsqldb</classpathDepencyExclude> </classpathDependencyExcludes> <additionalClasspathElements> <additionalClasspathElement>${settings.localRepository}/org/hsqldb/hsqldb/${hsqldb1}/hsqldb-${hsqldb1}.jar</additionalClasspathElement> </additionalClasspathElements> </configuration> </execution> </executions> </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> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjtools</artifactId> <version>${aspectj}</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>${source.level}</source> <target>${source.level}</target> </configuration> </plugin> <plugin> <groupId>com.mysema.maven</groupId> <artifactId>apt-maven-plugin</artifactId> <version>1.0.9</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> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>wagon-maven-plugin</artifactId> </plugin> </plugins> </build> <repositories> <repository> <id>spring-libs-release</id> <url>http://repo.springsource.org/libs-release</url> </repository> </repositories> </project>