<?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. | |
--> | |
<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/xsd/maven-4.0.0.xsd"> | |
<parent> | |
<groupId>org.apache.sirona</groupId> | |
<artifactId>sirona-server</artifactId> | |
<version>0.4-incubating</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>sirona-reporting</artifactId> | |
<name>Apache Sirona Incubator :: Server :: Reporting</name> | |
<packaging>pom</packaging> | |
<properties> | |
<tomcatRunPort>8080</tomcatRunPort> | |
<tomcatRunPath>/sirona</tomcatRunPath> | |
<sirona.properties.path>${basedir}/src/test/sirona.properties</sirona.properties.path> | |
<cxf.version>3.0.1</cxf.version> | |
<spring.version>4.0.6.RELEASE</spring.version> | |
</properties> | |
<modules> | |
<module>reporting-api</module> | |
<module>reporting-ui</module> | |
<module>reporting-webapp</module> | |
<module>reporting-webapp-full</module> | |
</modules> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.sirona</groupId> | |
<artifactId>sirona-reporting-api</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.geronimo.specs</groupId> | |
<artifactId>geronimo-jaxrs_1.1_spec</artifactId> <!-- compatible with EE 6 servers --> | |
<version>1.0</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-frontend-jaxrs</artifactId> | |
<version>${cxf.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<build> | |
<testResources> | |
<testResource> | |
<directory>src/test/resources</directory> | |
<filtering>true</filtering> | |
</testResource> | |
</testResources> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.tomcat.maven</groupId> | |
<artifactId>tomcat7-maven-plugin</artifactId> | |
<configuration> | |
<port>${tomcatRunPort}</port> | |
<path>${tomcatRunPath}</path> | |
<skip>${sirona.reporting.tomcat.skip}</skip> | |
<systemProperties> | |
<org.apache.sirona.configuration.sirona.properties>${sirona.properties.path}</org.apache.sirona.configuration.sirona.properties> | |
</systemProperties> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>reserve-http-port</id> | |
<phase>generate-test-resources</phase> | |
<goals> | |
<goal>reserve-network-port</goal> | |
</goals> | |
<configuration> | |
<portNames> | |
<portName>tomcat.http</portName> | |
</portNames> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<systemPropertyVariables> | |
<arquillian.launch>tomcat7</arquillian.launch> | |
<tomcat.http>${tomcat.http}</tomcat.http> | |
</systemPropertyVariables> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
</project> |