1 |
<?xml version="1.0"?> |
2 |
<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"> |
3 |
<modelVersion>4.0.0</modelVersion> |
4 |
|
5 |
<parent> |
6 |
<groupId>org.onehippo.ecm</groupId> |
7 |
<artifactId>docsite</artifactId> |
8 |
<version>1.01.15</version> |
9 |
<relativePath>../pom.xml</relativePath> |
10 |
</parent> |
11 |
|
12 |
<name>Hippo Documentation Site CMS WAR package</name> |
13 |
<description>Hippo Documentation Site CMS WAR package</description> |
14 |
<groupId>org.onehippo.ecm</groupId> |
15 |
<artifactId>docsite-cms</artifactId> |
16 |
<packaging>war</packaging> |
17 |
|
18 |
<dependencies> |
19 |
|
20 |
<dependency> |
21 |
<groupId>javax.jcr</groupId> |
22 |
<artifactId>jcr</artifactId> |
23 |
</dependency> |
24 |
|
25 |
<dependency> |
26 |
<groupId>org.hippoecm</groupId> |
27 |
<artifactId>hippo-ecm-package-war</artifactId> |
28 |
<type>war</type> |
29 |
</dependency> |
30 |
|
31 |
<dependency> |
32 |
<groupId>org.onehippo.ecm.hst.toolkit-resources.addon</groupId> |
33 |
<artifactId>hst-addon-repository</artifactId> |
34 |
<type>jar</type> |
35 |
</dependency> |
36 |
<dependency> |
37 |
<groupId>org.onehippo.ecm</groupId> |
38 |
<artifactId>docsite-content</artifactId> |
39 |
<version>1.01.15</version> |
40 |
<type>jar</type> |
41 |
</dependency> |
42 |
<dependency> |
43 |
<groupId>org.onehippo.ecm.hst.toolkit-resources.addon</groupId> |
44 |
<artifactId>hst-addon-repository</artifactId> |
45 |
</dependency> |
46 |
<!-- |
47 |
<dependency> |
48 |
<groupId>org.onehippo.ecm.hst-addon-configuration-editor</groupId> |
49 |
<artifactId>frontend</artifactId> |
50 |
</dependency> |
51 |
<dependency> |
52 |
<groupId>org.onehippo.ecm.hst-addon-configuration-editor</groupId> |
53 |
<artifactId>repository</artifactId> |
54 |
</dependency> |
55 |
--> |
56 |
<dependency> |
57 |
<groupId>org.onehippo.ecm.hst.toolkit-resources.addon.toolkit-cnd</groupId> |
58 |
<artifactId>hst-addon-cnd</artifactId> |
59 |
</dependency> |
60 |
<dependency> |
61 |
<groupId>org.slf4j</groupId> |
62 |
<artifactId>jcl-over-slf4j</artifactId> |
63 |
<scope>runtime</scope> |
64 |
</dependency> |
65 |
<dependency> |
66 |
<groupId>org.slf4j</groupId> |
67 |
<artifactId>slf4j-log4j12</artifactId> |
68 |
<scope>runtime</scope> |
69 |
</dependency> |
70 |
</dependencies> |
71 |
|
72 |
<build> |
73 |
<defaultGoal>package</defaultGoal> |
74 |
<plugins> |
75 |
<plugin> |
76 |
<groupId>org.apache.maven.plugins</groupId> |
77 |
<artifactId>maven-war-plugin</artifactId> |
78 |
<version>2.1-alpha-1</version> |
79 |
<configuration> |
80 |
<manifest> |
81 |
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
82 |
</manifest> |
83 |
<archive> |
84 |
<manifestEntries> |
85 |
<Implementation-Build>${buildNumber}</Implementation-Build> |
86 |
</manifestEntries> |
87 |
</archive> |
88 |
<overlays> |
89 |
<overlay> |
90 |
<groupId>org.hippoecm</groupId> |
91 |
<artifactId>hippo-ecm-package-war</artifactId> |
92 |
<excludes> |
93 |
<exclude>WEB-INF/lib/commons-logging*.jar</exclude> |
94 |
<exclude>WEB-INF/lib/*slf4j*.jar</exclude> |
95 |
<exclude>WEB-INF/lib/log4j*.jar</exclude> |
96 |
</excludes> |
97 |
</overlay> |
98 |
</overlays> |
99 |
</configuration> |
100 |
</plugin> |
101 |
<plugin> |
102 |
<groupId>org.mortbay.jetty</groupId> |
103 |
<artifactId>maven-jetty-plugin</artifactId> |
104 |
<version>6.1.18</version> |
105 |
<configuration> |
106 |
<stopPort>9966</stopPort> |
107 |
<stopKey>stopCmsJetty</stopKey> |
108 |
<scanIntervalSeconds>5</scanIntervalSeconds> |
109 |
<connectors> |
110 |
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
111 |
<port>8080</port> |
112 |
</connector> |
113 |
</connectors> |
114 |
<contextPath>/cms</contextPath> |
115 |
</configuration> |
116 |
<dependencies> |
117 |
<!-- atomikos dependecies for running jetty:run[-war|-exploded] --> |
118 |
<dependency> |
119 |
<groupId>com.atomikos</groupId> |
120 |
<artifactId>transactions-api</artifactId> |
121 |
<version>3.1.4</version> |
122 |
<scope>runtime</scope> |
123 |
</dependency> |
124 |
<dependency> |
125 |
<groupId>com.atomikos</groupId> |
126 |
<artifactId>transactions-jta</artifactId> |
127 |
<version>3.1.4</version> |
128 |
<scope>runtime</scope> |
129 |
</dependency> |
130 |
<dependency> |
131 |
<groupId>com.atomikos</groupId> |
132 |
<artifactId>transactions</artifactId> |
133 |
<version>3.1.4</version> |
134 |
<scope>runtime</scope> |
135 |
</dependency> |
136 |
<dependency> |
137 |
<groupId>com.atomikos</groupId> |
138 |
<artifactId>atomikos-util</artifactId> |
139 |
<version>3.1.4</version> |
140 |
<scope>runtime</scope> |
141 |
</dependency> |
142 |
</dependencies> |
143 |
</plugin> |
144 |
</plugins> |
145 |
</build> |
146 |
</project> |