mirror of https://github.com/apache/openjpa.git
155 lines
6.2 KiB
XML
155 lines
6.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2006 The Apache Software Foundation.
|
|
|
|
Licensed 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://incubator.apache.org/projects/openjpa</url>
|
|
<parent>
|
|
<groupId>org.apache.openjpa</groupId>
|
|
<artifactId>openjpa</artifactId>
|
|
<version>0.9.8-incubating-SNAPSHOT</version>
|
|
</parent>
|
|
<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-j2ee-connector_1.5_spec</artifactId>
|
|
<version>1.0.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-jta_1.0.1B_spec</artifactId>
|
|
<version>1.0.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>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<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>
|
|
<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>
|