2006-11-12 06:44:59 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
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
|
2006-11-12 06:44:59 -05:00
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
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
|
|
|
|
under the License.
|
2006-11-12 06:44:59 -05:00
|
|
|
-->
|
2008-06-11 12:48:56 -04:00
|
|
|
<!--
|
|
|
|
Maven release plugin requires the project tag to be on a single line.
|
|
|
|
-->
|
|
|
|
<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">
|
2006-07-10 20:35:10 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
|
|
|
<artifactId>openjpa-persistence</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
2009-05-28 08:10:45 -04:00
|
|
|
<name>OpenJPA Persistence</name>
|
|
|
|
<description>OpenJPA Persistence</description>
|
2007-08-14 18:39:55 -04:00
|
|
|
<url>http://openjpa.apache.org</url>
|
2006-07-10 20:35:10 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
2007-05-09 18:23:54 -04:00
|
|
|
<artifactId>openjpa-parent</artifactId>
|
2008-12-11 16:17:55 -05:00
|
|
|
<version>2.0.0-SNAPSHOT</version>
|
2006-07-10 20:35:10 -04:00
|
|
|
</parent>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
2008-03-24 23:37:56 -04:00
|
|
|
<artifactId>openjpa-kernel</artifactId>
|
2006-07-11 21:32:26 -04:00
|
|
|
<version>${pom.version}</version>
|
2006-07-10 20:35:10 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2007-02-13 03:09:18 -05:00
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
2008-11-17 17:56:14 -05:00
|
|
|
<artifactId>geronimo-jpa_2.0_spec</artifactId>
|
2006-07-10 20:35:10 -04:00
|
|
|
</dependency>
|
2009-05-18 13:05:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-validation_1.0_spec</artifactId>
|
|
|
|
</dependency>
|
2006-07-10 20:35:10 -04:00
|
|
|
</dependencies>
|
2009-04-08 05:00:28 -04:00
|
|
|
|
2009-04-08 05:37:04 -04:00
|
|
|
<profiles>
|
2009-05-29 13:53:19 -04:00
|
|
|
<profile>
|
|
|
|
<!-- =========================================================== -->
|
|
|
|
<!-- Compiling with JDK5 excludes classes that explicitly import -->
|
|
|
|
<!-- and use JDK6 classes/packages for annotation processing -->
|
|
|
|
<!-- =========================================================== -->
|
|
|
|
<activation>
|
|
|
|
<jdk>1.5</jdk>
|
|
|
|
</activation>
|
|
|
|
<id>jdk5-compiler</id>
|
2009-04-08 05:37:04 -04:00
|
|
|
<build>
|
2009-05-29 13:53:19 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/AnnotationProcessor6.java</exclude>
|
|
|
|
<exclude>**/SourceAnnotationHandler.java</exclude>
|
|
|
|
<exclude>**/CompileTimeLogger.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<!-- =========================================================== -->
|
|
|
|
<!-- Compiling with JDK6+ compiler packages a META-INF/services -->
|
|
|
|
<!-- file for our annotation processor -->
|
|
|
|
<!-- =========================================================== -->
|
|
|
|
<activation>
|
|
|
|
<jdk>[1.6,)</jdk>
|
|
|
|
</activation>
|
|
|
|
<id>jdk6-compiler</id>
|
2009-04-13 23:58:35 -04:00
|
|
|
<build>
|
2009-05-29 13:53:19 -04:00
|
|
|
<!--
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<echo file="${basedir}/src/main/resources/META-INF/services/javax.annotation.processing.Processor"
|
|
|
|
message="org.apache.openjpa.persistence.meta.AnnotationProcessor6"/>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
-->
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2006-07-10 20:35:10 -04:00
|
|
|
</project>
|