mirror of https://github.com/apache/openjpa.git
124 lines
5.0 KiB
XML
124 lines
5.0 KiB
XML
<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.6-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.3</source>
|
|
<target>1.3</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>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|