158 lines
4.9 KiB
XML
158 lines
4.9 KiB
XML
<?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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>olingo-fit</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>${project.artifactId}</name>
|
|
|
|
<parent>
|
|
<groupId>org.apache.olingo</groupId>
|
|
<artifactId>olingo-parent</artifactId>
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
<relativePath>..</relativePath>
|
|
</parent>
|
|
|
|
<properties>
|
|
<main.basedir>${project.parent.basedir}</main.basedir>
|
|
<war.maven.plugin.version>2.4</war.maven.plugin.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Stax -->
|
|
<dependency>
|
|
<groupId>stax</groupId>
|
|
<artifactId>stax-api</artifactId>
|
|
<version>1.0.1</version>
|
|
</dependency>
|
|
<!-- /Stax -->
|
|
|
|
<!-- REST services CXF -->
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
|
<artifactId>jackson-jaxrs-json-provider</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
</dependency>
|
|
<!-- /REST services CXF -->
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.esigate</groupId>
|
|
<artifactId>esigate-core</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-vfs2</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<defaultGoal>clean package cargo:run</defaultGoal>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>${war.maven.plugin.version}</version>
|
|
<configuration>
|
|
<webResources>
|
|
<resource>
|
|
<directory>${project.build.outputDirectory}</directory>
|
|
<includes>
|
|
<include>META-INF/DEPENDENCIES*</include>
|
|
</includes>
|
|
</resource>
|
|
</webResources>
|
|
<packagingExcludes>WEB-INF/classes/esigate.properties,WEB-INF/classes/META-INF/LICENSE*,WEB-INF/classes/META-INF/DEPENDENCIES*</packagingExcludes>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
<inherited>true</inherited>
|
|
<configuration>
|
|
<configuration>
|
|
<files>
|
|
<file>
|
|
<file>${project.build.directory}/classes/esigate.properties</file>
|
|
<todir>lib</todir>
|
|
</file>
|
|
</files>
|
|
<configfiles>
|
|
<configfile>
|
|
<file>${project.build.directory}/classes/context.xml</file>
|
|
<todir>conf/</todir>
|
|
<tofile>context.xml</tofile>
|
|
</configfile>
|
|
<configfile>
|
|
<file>${project.build.directory}/classes/tomcat-users.xml</file>
|
|
<todir>conf/</todir>
|
|
<tofile>tomcat-users.xml</tofile>
|
|
</configfile>
|
|
</configfiles>
|
|
</configuration>
|
|
<deployables>
|
|
<deployable>
|
|
<properties>
|
|
<context>/</context>
|
|
</properties>
|
|
</deployable>
|
|
</deployables>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
</project>
|