| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <artifactId>sirona-server</artifactId> |
| <groupId>org.apache.sirona</groupId> |
| <version>0.2.1-incubating-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>sirona-reporting</artifactId> |
| <name>Apache Sirona Incubator :: Server :: Reporting</name> |
| <packaging>war</packaging> |
| |
| <properties> |
| <tomcatRunPort>8080</tomcatRunPort> |
| <tomcatRunPath>/sirona</tomcatRunPath> |
| <sirona.reporting.tomcat.skip>false</sirona.reporting.tomcat.skip> |
| <sirona.properties.path>${basedir}/src/test/sirona.properties</sirona.properties.path> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_3.0_spec</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sirona</groupId> |
| <artifactId>sirona-core</artifactId> |
| <scope>provided</scope> <!-- using to put it in the container to get JDBC monitoring and deploy the webapp --> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sirona</groupId> |
| <artifactId>sirona-plugins-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sirona</groupId> |
| <artifactId>sirona-web</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.velocity</groupId> |
| <artifactId>velocity</artifactId> |
| <version>1.7</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.shrinkwrap.descriptors</groupId> |
| <artifactId>shrinkwrap-descriptors-impl-javaee</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.shrinkwrap.resolver</groupId> |
| <artifactId>shrinkwrap-resolver-impl-maven</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.junit</groupId> |
| <artifactId>arquillian-junit-container</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.protocol</groupId> |
| <artifactId>arquillian-protocol-servlet</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.container</groupId> |
| <artifactId>arquillian-tomcat-embedded-7</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-jasper</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-logging-juli</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jdt.core.compiler</groupId> |
| <artifactId>ecj</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>net.sourceforge.htmlunit</groupId> |
| <artifactId>htmlunit</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <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> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.sirona</groupId> |
| <artifactId>sirona-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </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> |
| |
| <profiles> |
| <profile> |
| <id>cassandra</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.tomcat.maven</groupId> |
| <artifactId>tomcat7-maven-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.sirona</groupId> |
| <artifactId>sirona-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sirona</groupId> |
| <artifactId>sirona-cassandra</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |