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
|
|
|
-->
|
2006-10-26 13:08:05 -04:00
|
|
|
<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>
|
2007-05-09 18:23:54 -04:00
|
|
|
<artifactId>openjpa-parent</artifactId>
|
2007-05-26 15:18:37 -04:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
2006-10-26 13:08:05 -04:00
|
|
|
</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>
|
2006-11-10 14:44:47 -05:00
|
|
|
<source>1.4</source>
|
|
|
|
<target>1.4</target>
|
2006-10-26 13:08:05 -04:00
|
|
|
</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
|
2006-10-27 15:17:32 -04:00
|
|
|
classname="org.apache.openjpa.ee.WASManagedRuntime" classpathref="maven.runtime.classpath" />
|
2006-10-26 13:08:05 -04:00
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2006-12-13 16:58:59 -05:00
|
|
|
<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>
|
2006-10-26 13:08:05 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|