blob: fb858390d3207dfd25eecaa31554c189c47d040e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2019, 2021 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 v. 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0,
or the Eclipse Distribution License v. 1.0 which is available at
http://www.eclipse.org/org/documents/edl-v10.php.
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<name>EclipseLink JPA</name>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.jpa</artifactId>
<packaging>jar</packaging>
<parent>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.parent</artifactId>
<version>4.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<dependencies>
<!--Other modules-->
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.asm</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.core</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.jpa.jpql</artifactId>
</dependency>
<!--API dependecies-->
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-activation</artifactId>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<!--Other libraries dependencies-->
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<configuration>
<compilerArgs>
<arg>--add-reads</arg>
<arg>org.eclipse.persistence.jpa=ALL-UNNAMED</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<!--Generate OSGi bundle/manifest-->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<goals>
<goal>manifest</goal>
</goals>
<configuration>
<instructions>
<Premain-Class>org.eclipse.persistence.internal.jpa.deployment.JavaSECMPInitializerAgent</Premain-Class>
<Export-Package>
org.eclipse.persistence.internal.jpa,
org.eclipse.persistence.internal.jpa.deployment,
org.eclipse.persistence.internal.jpa.deployment.xml.parser,
org.eclipse.persistence.internal.jpa.jdbc,
org.eclipse.persistence.internal.jpa.metadata,
org.eclipse.persistence.internal.jpa.metadata.accessors,
org.eclipse.persistence.internal.jpa.metadata.accessors.classes,
org.eclipse.persistence.internal.jpa.metadata.accessors.mappings,
org.eclipse.persistence.internal.jpa.metadata.accessors.objects,
org.eclipse.persistence.internal.jpa.metadata.additionalcriteria,
org.eclipse.persistence.internal.jpa.metadata.cache,
org.eclipse.persistence.internal.jpa.metadata.changetracking,
org.eclipse.persistence.internal.jpa.metadata.columns,
org.eclipse.persistence.internal.jpa.metadata.converters,
org.eclipse.persistence.internal.jpa.metadata.copypolicy,
org.eclipse.persistence.internal.jpa.metadata.inheritance,
org.eclipse.persistence.internal.jpa.metadata.listeners,
org.eclipse.persistence.internal.jpa.metadata.locking,
org.eclipse.persistence.internal.jpa.metadata.mappings,
org.eclipse.persistence.internal.jpa.metadata.multitenant,
org.eclipse.persistence.internal.jpa.metadata.nosql,
org.eclipse.persistence.internal.jpa.metadata.partitioning,
org.eclipse.persistence.internal.jpa.metadata.queries,
org.eclipse.persistence.internal.jpa.metadata.sequencing,
org.eclipse.persistence.internal.jpa.metadata.structures,
org.eclipse.persistence.internal.jpa.metadata.tables,
org.eclipse.persistence.internal.jpa.metadata.transformers,
org.eclipse.persistence.internal.jpa.metadata.xml,
org.eclipse.persistence.internal.jpa.metamodel,
org.eclipse.persistence.internal.jpa.querydef,
org.eclipse.persistence.internal.jpa.transaction,
org.eclipse.persistence.internal.jpa.weaving,
*
</Export-Package>
<Import-Package>
org.eclipse.persistence.internal.libraries.asm*;version="${version;==;${@}}",
*
</Import-Package>
</instructions>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalOptions>--add-reads org.eclipse.persistence.jpa=ALL-UNNAMED</additionalOptions>
</configuration>
</plugin>
</plugins>
</build>
</project>