blob: 6417aad7b7fcbf0509cc4571d3e56b572d7827dd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>\${groupId}</groupId>
<artifactId>\${artifactId}</artifactId>
<version>\${version}</version>
<packaging>war</packaging>
<properties>
<opencmis.version>${opencmisVersion}</opencmis.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<name>Your OpenCMIS Server</name>
<build>
<plugins>
<plugin>
<inherited>true</inherited>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<target>1.6</target>
<source>1.6</source>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
<configuration>
<overlays>
<overlay></overlay>
<overlay>
<groupId>org.apache.chemistry.opencmis</groupId>
<artifactId>chemistry-opencmis-server-bindings-war</artifactId>
<excludes>
<!-- exclude everything you don't need -->
<exclude>index.html</exclude> <!-- default index page -->
<exclude>css/**</exclude> <!-- CSS for the default index page -->
<exclude>images/**</exclude> <!-- images for the default index page -->
<exclude>web/**</exclude> <!-- sample JavaScript application -->
<exclude>WEB-INF/classes/sample-repository.properties</exclude> <!-- sample server properties file -->
<exclude>WEB-INF/token/**</exclude> <!-- sample Browser Binding token implementation -->
</excludes>
<includes>
<include>**</include>
<include>META-INF/THIRD-PARTY-LICENSES</include>
</includes>
</overlay>
</overlays>
<archive>
<manifestEntries>
<DisableIBMJAXWSEngine>true</DisableIBMJAXWSEngine>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
<configuration>
<wtpversion>2.0</wtpversion>
<wtpContextName>\${artifactId}</wtpContextName>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<linkedResources>
<linkedResource>
<name>src/main/webapp/WEB-INF/sun-jaxws.xml</name>
<type>1</type>
<location>PROJECT_LOC/target/\${project.build.finalName}/WEB-INF/sun-jaxws.xml</location>
</linkedResource>
<linkedResource>
<name>src/main/webapp/WEB-INF/web.xml</name>
<type>1</type>
<location>PROJECT_LOC/target/\${project.build.finalName}/WEB-INF/web.xml</location>
</linkedResource>
<linkedResource>
<name>src/main/webapp/WEB-INF/cmis10</name>
<type>2</type>
<location>PROJECT_LOC/target/\${project.build.finalName}/WEB-INF/cmis10</location>
</linkedResource>
<linkedResource>
<name>src/main/webapp/WEB-INF/cmis11</name>
<type>2</type>
<location>PROJECT_LOC/target/\${project.build.finalName}/WEB-INF/cmis11</location>
</linkedResource>
</linkedResources>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.chemistry.opencmis</groupId>
<artifactId>chemistry-opencmis-server-bindings-war</artifactId>
<version>\${opencmis.version}</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.apache.chemistry.opencmis</groupId>
<artifactId>chemistry-opencmis-server-support</artifactId>
<version>\${opencmis.version}</version>
</dependency>
<!-- Uncomment for CORS support
<dependency>
<groupId>com.thetransactioncompany</groupId>
<artifactId>cors-filter</artifactId>
<version>2.1.2</version>
</dependency>
-->
<dependency><!-- for development only -->
<groupId>org.apache.chemistry.opencmis</groupId>
<artifactId>chemistry-opencmis-server-bindings</artifactId>
<version>\${opencmis.version}</version>
<scope>provided</scope>
</dependency>
<dependency><!-- for development only -->
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>