-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
116 lines (116 loc) · 4.27 KB
/
Copy pathpom.xml
File metadata and controls
116 lines (116 loc) · 4.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?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>org.example.cmis</groupId>
<artifactId>server</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<opencmis.version>0.11.0</opencmis.version>
<java-version>1.6</java-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>${java-version}</target>
<source>${java-version}</source>
<encoding>${project.build.sourceEncoding}</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 -->
<exclude>WEB-INF/websphere/**</exclude> <!-- WebSphere specfic files -->
</excludes>
</overlay>
</overlays>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
<configuration>
<wtpversion>2.0</wtpversion>
<wtpContextName>server</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>
<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>
<dependency><!-- enables OpenCMIS frame logging to log4j -->
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.5</version>
</dependency>
</dependencies>
</project>