<?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-reporting</artifactId> | |
<version>0.4-incubating</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>sirona-reporting-webapp-full</artifactId> | |
<name>Apache Sirona Incubator :: Server :: Reporting :: Webapp Full</name> | |
<packaging>war</packaging> | |
<description>Intended for Servlet only containers</description> | |
<properties> | |
<sirona.reporting.ui.tomcat.skip>false</sirona.reporting.ui.tomcat.skip> | |
<log4j2.version>2.0</log4j2.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.geronimo.specs</groupId> | |
<artifactId>geronimo-servlet_3.0_spec</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.geronimo.specs</groupId> | |
<artifactId>geronimo-json_1.0_spec</artifactId> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.geronimo.specs</groupId> | |
<artifactId>geronimo-jaxrs_2.0_spec</artifactId> | |
<version>1.0-alpha-1</version> | |
</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-aop</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.sirona</groupId> | |
<artifactId>sirona-reporting-api</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-frontend-jaxrs</artifactId> | |
<version>${cxf.version}</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.johnzon</groupId> | |
<artifactId>johnzon-jaxrs</artifactId> | |
<version>${johnzon.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.sirona</groupId> | |
<artifactId>sirona-reporting-webapp</artifactId> | |
<version>${project.version}</version> | |
<classifier>classes</classifier> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-web</artifactId> | |
<version>${spring.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>jul-to-slf4j</artifactId> | |
<version>1.7.7</version> | |
<scope>test</scope> | |
</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> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.tomcat.maven</groupId> | |
<artifactId>tomcat7-maven-plugin</artifactId> | |
<configuration> | |
<port>${tomcatRunPort}</port> | |
<path>${tomcatRunPath}</path> | |
<skip>${sirona.reporting.ui.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> | |
<dependency> | |
<groupId>org.apache.sirona</groupId> | |
<artifactId>sirona-aop</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.logging.log4j</groupId> | |
<artifactId>log4j-1.2-api</artifactId> | |
<version>${log4j2.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.logging.log4j</groupId> | |
<artifactId>log4j-slf4j-impl</artifactId> | |
<version>${log4j2.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.logging.log4j</groupId> | |
<artifactId>log4j-jcl</artifactId> | |
<version>${log4j2.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>jul-to-slf4j</artifactId> | |
<version>1.7.7</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
</plugins> | |
</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> |