<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
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 | |
http://www.apache.org/licenses/LICENSE-2.0 | |
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. | |
--> | |
<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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.apache.openjpa</groupId> | |
<artifactId>openjpa-kernel</artifactId> | |
<packaging>jar</packaging> | |
<name>OpenJPA Kernel</name> | |
<description>OpenJPA Kernel</description> | |
<url>http://openjpa.apache.org</url> | |
<parent> | |
<groupId>org.apache.openjpa</groupId> | |
<artifactId>openjpa-parent</artifactId> | |
<version>1.0.2</version> | |
</parent> | |
<profiles> | |
<profile> | |
<id>java14-validate</id> | |
<activation><property><name>java14.jar</name></property></activation> | |
<build> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<compilerArguments> | |
<bootclasspath>${java14.jar}</bootclasspath> | |
</compilerArguments> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
</profile> | |
</profiles> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.openjpa</groupId> | |
<artifactId>openjpa-lib</artifactId> | |
<version>${pom.version}</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.geronimo.specs</groupId> | |
<artifactId>geronimo-jms_1.1_spec</artifactId> | |
<version>1.0.1</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.geronimo.specs</groupId> | |
<artifactId>geronimo-jta_1.1_spec</artifactId> | |
<version>1.1</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>commons-pool</groupId> | |
<artifactId>commons-pool</artifactId> | |
<version>1.3</version> | |
<scope>compile</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<source>1.4</source> | |
<target>1.4</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>javacc-maven-plugin</artifactId> | |
<version>2.1</version> | |
<executions> | |
<execution> | |
<id>jjtree-jpql</id> | |
<phase>generate-sources</phase> | |
<configuration> | |
<sourceDirectory> | |
${basedir}/src/main/jjtree/org/apache/openjpa/kernel/jpql</sourceDirectory> | |
<outputDirectory> | |
${project.build.directory}/generated-sources/jjtree/org/apache/openjpa/kernel/jpql</outputDirectory> | |
<buildNodeFiles>false</buildNodeFiles> | |
</configuration> | |
<goals> | |
<goal>jjtree</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>javacc-jpql</id> | |
<phase>generate-sources</phase> | |
<configuration> | |
<sourceDirectory> | |
${project.build.directory}/generated-sources/jjtree/org/apache/openjpa/kernel/jpql</sourceDirectory> | |
<outputDirectory> | |
${project.build.directory}/generated-sources/javacc/org/apache/openjpa/kernel/jpql</outputDirectory> | |
</configuration> | |
<goals> | |
<goal>javacc</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>process-sources</phase> | |
<configuration> | |
<tasks> | |
<delete | |
file="${project.build.directory}/generated-sources/javacc/org/apache/openjpa/kernel/jpql/ParseException.java"/> | |
</tasks> | |
</configuration> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>add-was-interfaces</id> | |
<phase>process-classes</phase> | |
<configuration> | |
<tasks> | |
<java | |
classname="org.apache.openjpa.ee.WASManagedRuntime" classpathref="maven.runtime.classpath" /> | |
</tasks> | |
</configuration> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>generate-standard-sco-proxies</id> | |
<phase>process-classes</phase> | |
<configuration> | |
<tasks> | |
<java | |
classname="org.apache.openjpa.util.ProxyManagerImpl" classpathref="maven.runtime.classpath"> | |
<arg line="-utils 5"/> | |
</java> | |
</tasks> | |
</configuration> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |