208 lines
6.0 KiB
XML
208 lines
6.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>
|
|
<parent>
|
|
<groupId>de.hsadmin</groupId>
|
|
<artifactId>hsadmin-parent</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>cust-webapp</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>HSAdmin XML-RPC Customers Webapp</name>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>de.hsadmin</groupId>
|
|
<artifactId>framework</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.hsadmin</groupId>
|
|
<artifactId>framework</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-jpa_2.0_spec</artifactId>
|
|
<version>1.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-ejb_3.0_spec</artifactId>
|
|
<version>1.0.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-validation_1.0_spec</artifactId>
|
|
<version>1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.bval</groupId>
|
|
<artifactId>org.apache.bval.bundle</artifactId>
|
|
<version>0.5</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.openjpa</groupId>
|
|
<artifactId>openjpa</artifactId>
|
|
<version>2.4.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId>
|
|
<version>2.3.4</version> <scope>test</scope> </dependency> -->
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>1.4.194</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId>
|
|
<version>10.13.1.1</version> <scope>test</scope> </dependency> -->
|
|
<dependency>
|
|
<groupId>org.liquibase</groupId>
|
|
<artifactId>liquibase-core</artifactId>
|
|
<version>3.5.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.xmlrpc</groupId>
|
|
<artifactId>xmlrpc-server</artifactId>
|
|
<version>3.1.3</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<configuration>
|
|
<archiveClasses>true</archiveClasses>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<version>3.0.2</version>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/XmlRpcServlet.properties</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-a-jar</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-artifacts</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>attach-artifact</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifacts>
|
|
<artifact>
|
|
<file>${project.basedir}/target/cust-webapp-1.0-SNAPSHOT.jar</file>
|
|
<type>jar</type>
|
|
</artifact>
|
|
</artifacts>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.6.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>migratePostgresLiquibaseChangeLogToH2</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>${project.basedir}/scripts/migratePostgresLiquibaseChangeLogToH2.${script.extension}</executable>
|
|
<arguments>
|
|
<argument>${project.parent.basedir}/db-migration/src/main/resources/liquibase/db.changelog.xml</argument>
|
|
<argument>${project.build.directory}/classes/liquibase/db.changelog.xml</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.openejb.maven</groupId>
|
|
<artifactId>tomee-maven-plugin</artifactId>
|
|
<version>1.7.4</version>
|
|
<configuration>
|
|
<tomeeVersion>1.7.4</tomeeVersion>
|
|
<tomeeClassifier>webprofile</tomeeClassifier>
|
|
<debug>false</debug>
|
|
<debugPort>8000</debugPort>
|
|
<context>cust-webapp</context>
|
|
<config>${project.basedir}/src/test/tomee/conf</config>
|
|
<libs>
|
|
<lib>org.postgresql:postgresql:9.4.1212.jre7</lib>
|
|
</libs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.openjpa</groupId>
|
|
<artifactId>openjpa-maven-plugin</artifactId>
|
|
<version>2.4.2</version>
|
|
<configuration>
|
|
<includes>**/bo/*.class</includes>
|
|
<addDefaultConstructor>true</addDefaultConstructor>
|
|
<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>enhancer</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>enhance</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.openjpa</groupId>
|
|
<artifactId>openjpa</artifactId>
|
|
<!-- set the version to be the same as the level in your runtime -->
|
|
<version>2.4.2</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|