2010-05-14 16:29:27 -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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Please keep the project tag on one line to avoid confusing
|
|
|
|
the release plugin.
|
|
|
|
-->
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
|
|
|
<artifactId>openjpa-parent</artifactId>
|
|
|
|
<version>2.1.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.apache.openjpa.openjpa-examples</groupId>
|
|
|
|
<artifactId>openbooks</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Apache OpenJPA :: Examples - OpenBooks</name>
|
|
|
|
<description>OpenJPA Examples - OpenBooks</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<openjpa.Log>DefaultLevel=WARN</openjpa.Log>
|
|
|
|
<checkstyle.config.location>../../openjpa-project/checkstyle.xml</checkstyle.config.location>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.openjpa</groupId>
|
|
|
|
<artifactId>openjpa-all</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>de.java2html</groupId>
|
|
|
|
<artifactId>java2html</artifactId>
|
|
|
|
<version>5.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>5.1.12</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>build</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2010-05-14 17:17:02 -04:00
|
|
|
<id>genmodel</id>
|
|
|
|
<phase>process-resources</phase>
|
2010-05-14 16:29:27 -04:00
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2010-05-14 17:17:02 -04:00
|
|
|
<echo>Running OpenBooks genmodel</echo>
|
2010-05-14 16:29:27 -04:00
|
|
|
<property name="openjpa.version" value="${project.version}" />
|
|
|
|
<property name="maven.repos" value="${settings.localRepository}" />
|
|
|
|
<ant antfile="${basedir}/build.xml">
|
2010-05-14 17:17:02 -04:00
|
|
|
<target name="genmodel" />
|
|
|
|
</ant>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>enhance</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<echo>Running OpenBooks Enhance</echo>
|
|
|
|
<property name="openjpa.version" value="${project.version}" />
|
|
|
|
<property name="maven.repos" value="${settings.localRepository}" />
|
|
|
|
<ant antfile="${basedir}/build.xml">
|
|
|
|
<target name="enhance" />
|
|
|
|
</ant>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>generate-html-source</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<echo>Running OpenBooks Generate HTML Source</echo>
|
|
|
|
<property name="openjpa.version" value="${project.version}" />
|
|
|
|
<property name="maven.repos" value="${settings.localRepository}" />
|
|
|
|
<ant antfile="${basedir}/build.xml">
|
|
|
|
<target name="generate-html-source" />
|
2010-05-14 16:29:27 -04:00
|
|
|
</ant>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|
|
|
|
|