2006-09-07 21:24:18 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2006-11-12 06:44:59 -05:00
|
|
|
<!--
|
2007-04-14 17:50:17 -04:00
|
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you 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
|
2018-10-02 08:32:32 -04:00
|
|
|
|
2006-11-12 06:44:59 -05:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2018-10-02 08:32:32 -04:00
|
|
|
|
2007-04-14 17:50:17 -04:00
|
|
|
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
|
2018-10-02 08:32:32 -04:00
|
|
|
under the License.
|
2006-11-12 06:44:59 -05:00
|
|
|
-->
|
2018-10-02 08:32:32 -04:00
|
|
|
<!--
|
|
|
|
Please keep the project tag on one line to avoid confusing
|
2008-06-11 12:48:56 -04:00
|
|
|
the release plugin.
|
|
|
|
-->
|
|
|
|
<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/maven-v4_0_0.xsd">
|
2010-07-30 14:17:58 -04:00
|
|
|
|
2006-09-07 21:24:18 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2010-07-30 14:17:58 -04:00
|
|
|
|
2006-09-07 21:24:18 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
2007-05-09 18:23:54 -04:00
|
|
|
<artifactId>openjpa-parent</artifactId>
|
2022-03-16 04:25:56 -04:00
|
|
|
<version>3.2.2</version>
|
2006-09-07 21:24:18 -04:00
|
|
|
</parent>
|
2007-05-29 13:27:46 -04:00
|
|
|
|
2010-07-30 14:17:58 -04:00
|
|
|
<artifactId>openjpa-all</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>OpenJPA Aggregate Jar with Dependencies</name>
|
|
|
|
|
2006-09-07 21:24:18 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2010-08-25 13:46:12 -04:00
|
|
|
<!-- disable creating javadoc for this module -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
2010-10-29 15:05:32 -04:00
|
|
|
</plugin>
|
|
|
|
|
2010-08-25 13:46:12 -04:00
|
|
|
<!-- disable creating source jars for this module -->
|
2009-10-28 10:45:15 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2010-08-25 13:46:12 -04:00
|
|
|
<configuration>
|
|
|
|
<attach>false</attach>
|
|
|
|
</configuration>
|
2009-10-28 10:45:15 -04:00
|
|
|
</plugin>
|
2010-10-29 15:05:32 -04:00
|
|
|
|
2010-08-19 13:31:55 -04:00
|
|
|
<!--
|
|
|
|
Need to disable jar plugin here, as it overwrites the shade
|
|
|
|
plugin created binary jar.
|
|
|
|
-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2010-10-29 15:05:32 -04:00
|
|
|
|
2009-10-28 10:45:15 -04:00
|
|
|
<!-- Create our aggregate all JAR -->
|
2009-05-11 11:21:52 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
2009-05-20 16:42:47 -04:00
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>true</createDependencyReducedPom>
|
2010-03-23 11:00:12 -04:00
|
|
|
<createSourcesJar>${createSources}</createSourcesJar>
|
2009-05-20 16:42:47 -04:00
|
|
|
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
|
2009-11-04 16:35:07 -05:00
|
|
|
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
|
2018-10-02 08:32:32 -04:00
|
|
|
<!--
|
2009-10-28 10:45:15 -04:00
|
|
|
Have to do this again here, as these settings
|
|
|
|
from shaded openjpa.jar get lost in the shading
|
|
|
|
-->
|
2009-05-27 10:43:00 -04:00
|
|
|
<transformers>
|
2009-10-28 10:45:15 -04:00
|
|
|
<!-- Need to concatinate the services resources:
|
|
|
|
org.apache.openjpa.lib.conf.ProductDerivation
|
|
|
|
javax.persistence.spi.PersistenceProvider
|
|
|
|
org.apache.openjpa.kernel.exps.ExpressionParser
|
|
|
|
-->
|
2010-02-24 16:04:42 -05:00
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
2009-10-28 10:45:15 -04:00
|
|
|
<!-- Need to add some MANIFEST.MF metadata -->
|
2009-05-27 10:43:00 -04:00
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
|
<manifestEntries>
|
|
|
|
<Main-Class>org.apache.openjpa.conf.OpenJPAVersion</Main-Class>
|
|
|
|
<Premain-Class>org.apache.openjpa.enhance.PCEnhancerAgent</Premain-Class>
|
2009-06-19 11:43:46 -04:00
|
|
|
<Agent-Class>org.apache.openjpa.enhance.InstrumentationFactory</Agent-Class>
|
2009-05-27 10:43:00 -04:00
|
|
|
<Can-Redefine-Classes>true</Can-Redefine-Classes>
|
2009-10-28 10:45:15 -04:00
|
|
|
<Can-Retransform-Classes>true</Can-Retransform-Classes>
|
|
|
|
<Implementation-Title>Apache OpenJPA Aggregate JAR with dependencies</Implementation-Title>
|
2021-05-02 17:03:10 -04:00
|
|
|
<Specification-Title>JSR-338 Java Persistence</Specification-Title>
|
|
|
|
<Specification-Vendor>ORACLE, Inc.</Specification-Vendor>
|
|
|
|
<Specification-Version>2.2</Specification-Version>
|
2009-05-27 10:43:00 -04:00
|
|
|
</manifestEntries>
|
|
|
|
</transformer>
|
|
|
|
</transformers>
|
2009-05-20 16:42:47 -04:00
|
|
|
</configuration>
|
2009-05-11 11:21:52 -04:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2006-09-07 21:24:18 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2009-10-28 10:45:15 -04:00
|
|
|
|
2006-09-07 21:24:18 -04:00
|
|
|
<dependencies>
|
2009-05-27 10:43:00 -04:00
|
|
|
<!--
|
2010-07-20 17:40:05 -04:00
|
|
|
Start with openjpa.jar and let the maven-shade-plugin
|
2009-11-04 16:35:07 -05:00
|
|
|
determine the transitive dependencies to include from it.
|
2009-05-27 10:43:00 -04:00
|
|
|
-->
|
2007-09-18 10:03:14 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
2009-05-11 11:21:52 -04:00
|
|
|
<artifactId>openjpa</artifactId>
|
2010-08-19 13:31:55 -04:00
|
|
|
<version>${project.version}</version>
|
2007-09-18 10:03:14 -04:00
|
|
|
</dependency>
|
2010-07-30 14:17:58 -04:00
|
|
|
<!-- other includes -->
|
2010-07-20 17:40:05 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</dependency>
|
2010-07-30 14:17:58 -04:00
|
|
|
<dependency>
|
2018-09-24 02:41:20 -04:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-dbcp2</artifactId>
|
2010-07-30 14:17:58 -04:00
|
|
|
</dependency>
|
2016-10-27 09:15:29 -04:00
|
|
|
|
2010-08-13 16:33:50 -04:00
|
|
|
<!-- bean validation includes -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
2016-09-21 11:43:11 -04:00
|
|
|
<artifactId>geronimo-validation_1.1_spec</artifactId>
|
2010-08-13 16:33:50 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.bval</groupId>
|
|
|
|
<artifactId>org.apache.bval.bundle</artifactId>
|
|
|
|
</dependency>
|
2006-09-07 21:24:18 -04:00
|
|
|
</dependencies>
|
|
|
|
</project>
|