| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| ~ Copyright 2004-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"> |
| <parent> |
| <artifactId>continuum-parent</artifactId> |
| <groupId>org.apache.maven.continuum</groupId> |
| <version>1.1-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>continuum-model</artifactId> |
| <name>Continuum Model</name> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.modello</groupId> |
| <artifactId>modello-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>modello-continuum</id> |
| <goals> |
| <goal>java</goal> |
| <goal>jpox-jdo-mapping</goal> |
| <goal>jpox-metadata-class</goal> |
| <goal>stax-reader</goal> |
| <goal>stax-writer</goal> |
| </goals> |
| <configuration> |
| <model>src/main/mdo/continuum.xml</model> |
| </configuration> |
| </execution> |
| <execution> |
| <id>jpox-jdo-mapping-replication</id> |
| <goals> |
| <goal>jpox-jdo-mapping</goal> |
| </goals> |
| <configuration> |
| <model>src/main/mdo/continuum.xml</model> |
| <replicationParameters>true</replicationParameters> |
| </configuration> |
| </execution> |
| </executions> |
| <configuration> |
| <version>1.1.0</version> |
| <packageWithVersion>false</packageWithVersion> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>jpox-maven-plugin</artifactId> |
| <version>${jpox.plugin.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>enhance</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>net.java.dev.stax-utils</groupId> |
| <artifactId>stax-utils</artifactId> |
| <version>20060502</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.bea.xml</groupId> |
| <artifactId>jsr173-ri</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>stax</groupId> |
| <artifactId>stax-api</artifactId> |
| <version>1.0.1</version> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>ddl</id> |
| <dependencies> |
| <dependency> |
| <groupId>hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>jpox-maven-plugin</artifactId> |
| <version>${jpox.plugin.version}</version> |
| <configuration> |
| <outputFile>${project.build.directory}/schema.sql</outputFile> |
| <toolProperties> |
| <property> |
| <name>javax.jdo.option.ConnectionDriverName</name> |
| <value>org.hsqldb.jdbcDriver</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionURL</name> |
| <value>jdbc:hsqldb:mem:continuum</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionUserName</name> |
| <value>sa</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionPassword</name> |
| <value></value> |
| </property> |
| <property> |
| <name>log4j.configuration</name> |
| <value>file:${basedir}/src/main/resources/log4j.properties</value> |
| </property> |
| <!-- for auto creating schema --> |
| <property> |
| <name>org.jpox.autoCreateTables</name> |
| <value>true</value> |
| </property> |
| </toolProperties> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <properties> |
| <jpox.plugin.version>1.0.4-SNAPSHOT</jpox.plugin.version> |
| </properties> |
| </project> |