2008-04-14 13:32:33 -04:00
|
|
|
<?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.
|
|
|
|
-->
|
2008-04-11 15:00: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">
|
2006-11-25 11:56:12 -05:00
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-parent</artifactId>
|
2008-04-15 10:38:02 -04:00
|
|
|
<version>5.2-SNAPSHOT</version>
|
2006-11-25 11:56:12 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>activemq-jpa-store</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>ActiveMQ :: JPA Message Store</name>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- activemq -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>${pom.groupId}</groupId>
|
|
|
|
<artifactId>activemq-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${pom.groupId}</groupId>
|
|
|
|
<artifactId>activemq-core</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
|
|
|
<artifactId>openjpa-persistence-jdbc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2006-11-25 12:05:44 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-primitives</groupId>
|
|
|
|
<artifactId>commons-primitives</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-pool</groupId>
|
|
|
|
<artifactId>commons-pool</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2008-04-11 15:00:05 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xbean</groupId>
|
|
|
|
<artifactId>xbean-spring</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2006-11-25 12:05:44 -05:00
|
|
|
|
2006-11-25 11:56:12 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2008-04-11 15:00:05 -04:00
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.xbean</groupId>
|
|
|
|
<artifactId>maven-xbean-plugin</artifactId>
|
|
|
|
<version>${xbean-version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<configuration>
|
|
|
|
<namespace>http://activemq.org/activemq-jpa-store/config/1.0</namespace>
|
|
|
|
<schema>target/xbean/activemq-jpa-store.xsd</schema>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>mapping</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2007-01-05 18:05:40 -05:00
|
|
|
|
2006-11-25 11:56:12 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<path id="cp">
|
2008-04-11 15:00:05 -04:00
|
|
|
<path refid="maven.test.classpath" />
|
|
|
|
<path refid="maven.compile.classpath" />
|
|
|
|
<path refid="maven.dependency.classpath" />
|
2006-11-25 11:56:12 -05:00
|
|
|
</path>
|
|
|
|
<taskdef name="openjpac" classname="org.apache.openjpa.ant.PCEnhancerTask">
|
2008-04-11 15:00:05 -04:00
|
|
|
<classpath refid="cp" />
|
2006-11-25 11:56:12 -05:00
|
|
|
</taskdef>
|
|
|
|
<openjpac directory="${basedir}/target/jpa-classes">
|
2008-04-11 15:00:05 -04:00
|
|
|
<classpath refid="cp" />
|
2006-11-25 11:56:12 -05:00
|
|
|
<fileset dir="${basedir}/target/classes">
|
2008-04-11 15:00:05 -04:00
|
|
|
<include name="org/apache/activemq/store/jpa/model/*.class" />
|
2006-11-25 11:56:12 -05:00
|
|
|
</fileset>
|
|
|
|
</openjpac>
|
|
|
|
<copy todir="${basedir}/target/classes">
|
2008-04-11 15:00:05 -04:00
|
|
|
<fileset dir="${basedir}/target/jpa-classes" />
|
2006-11-25 11:56:12 -05:00
|
|
|
</copy>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2008-04-11 15:00:05 -04:00
|
|
|
</project>
|