javax.persistence-api
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>javax.persistence</groupId> <artifactId>javax.persistence-api</artifactId> <version>2.2</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 which accompanies this distribution. The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse Distribution License is available at http://www.eclipse.org/org/documents/edl-v10.php. Contributors: Lukas Jungmann - initial implementation --> <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> <parent> <groupId>net.java</groupId> <artifactId>jvnet-parent</artifactId> <version>5</version> </parent> <groupId>javax.persistence</groupId> <artifactId>javax.persistence-api</artifactId> <version>2.2</version> <description>Java(TM) Persistence API</description> <url>https://github.com/javaee/jpa-spec</url> <licenses> <license> <name>Eclipse Public License v1.0</name> <url>http://www.eclipse.org/legal/epl-v10.html</url> <distribution>repo</distribution> <comments>Standard Eclipse Licence</comments> </license> <license> <name>Eclipse Distribution License v. 1.0</name> <url>http://www.eclipse.org/org/documents/edl-v10.php</url> <distribution>repo</distribution> <comments>Standard Eclipse Distribution License</comments> </license> </licenses> <issueManagement> <system>IssueTracker</system> <url>https://github.com/javaee/jpa-spec/issues</url> </issueManagement> <mailingLists> <mailingList> <name>JPA Specification Group</name> <subscribe>jpa-spec+subscribe@javaee.groups.io</subscribe> <post>jpa-spec@javaee.groups.io</post> <archive>https://javaee.groups.io/g/jpa-spec/topics</archive> </mailingList> </mailingLists> <scm> <connection>scm:git:git://github.com/javaee/jpa-spec.git</connection> <developerConnection>scm:git:git@github.com:javaee/jpa-spec.git</developerConnection> <url>https://github.com/javaee/jpa-spec.git</url> <tag>javax.persistence-api-2.2</tag> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <spec.non.final>false</spec.non.final> <spec.version>2.2</spec.version> <spec.build>01</spec.build> <spec.impl.version>2.2</spec.impl.version> <spec.api.package>javax.persistence</spec.api.package> <spec.new.spec.version>2.3</spec.new.spec.version> </properties> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M1</version> </plugin> <plugin> <groupId>org.glassfish.build</groupId> <artifactId>spec-version-maven-plugin</artifactId> <version>1.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.6.2</version> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>3.3.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.0.0-M1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.9.5</version> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <configuration> <rules> <requireJavaVersion> <version>[1.8,)</version> </requireJavaVersion> </rules> </configuration> <executions> <execution> <phase>validate</phase> <goals> <goal>display-info</goal> <goal>enforce</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.glassfish.build</groupId> <artifactId>spec-version-maven-plugin</artifactId> <configuration> <spec> <nonFinal>${spec.non.final}</nonFinal> <jarType>api</jarType> <specVersion>${spec.version}</specVersion> <specBuild>${spec.build}</specBuild> <specImplVersion>${spec.impl.version}</specImplVersion> <apiPackage>${spec.api.package}</apiPackage> <newSpecVersion>${spec.new.spec.version}</newSpecVersion> </spec> </configuration> <executions> <execution> <goals> <goal>set-spec-properties</goal> <goal>check-module</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArgs> <compilerArg>-Xlint:all</compilerArg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> <Automatic-Module-Name>java.persistence</Automatic-Module-Name> <Bundle-Description>Java(TM) Persistence ${spec.specification.version} API jar</Bundle-Description> <Bundle-Name>Java(TM) Persistence API jar</Bundle-Name> <Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName> <Bundle-Version>${spec.bundle.version}</Bundle-Version> <Extension-Name>${spec.extension.name}</Extension-Name> <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> <Implementation-Vendor-Id>com.oracle</Implementation-Vendor-Id> <Implementation-Version>${spec.implementation.version}</Implementation-Version> <Specification-Vendor>${project.groupId}.${project.artifactId}</Specification-Vendor> <Specification-Vendor>Oracle Corporation</Specification-Vendor> <Specification-Version>${spec.specification.version}</Specification-Version> </instructions> </configuration> <executions> <execution> <id>osgi-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <additionalparam>-Xdoclint:all</additionalparam> </configuration> <executions> <execution> <id>attach-javadoc</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> <useReleaseProfile>false</useReleaseProfile> <arguments>${release.arguments}</arguments> </configuration> </plugin> </plugins> </build> </project>