1 |
<?xml version="1.0" encoding="UTF-8"?> |
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.cms7</groupId> |
7 |
<artifactId>hippo-cms7-release</artifactId> |
8 |
<version>7.10.0-SNAPSHOT</version> |
9 |
</parent> |
10 |
|
11 |
<name>Restyling Demo</name> |
12 |
<description>Restyling Demo</description> |
13 |
<groupId>org.onehippo.restyling</groupId> |
14 |
<artifactId>demo</artifactId> |
15 |
<version>1.01.00-SNAPSHOT</version> |
16 |
<packaging>pom</packaging> |
17 |
|
18 |
<!-- |
19 |
The below project elements are emptied/overridden as otherwise their metadata would be |
20 |
inherited or merged from the parent hippo-cms7-release pom (or its hippo-cms7-project pom). |
21 |
|
22 |
DO NOT remove these tags but instead fill them in appropriately as needed, |
23 |
UNLESS the inherited values are valid for your project. |
24 |
--> |
25 |
<url/> |
26 |
<inceptionYear/> |
27 |
<organization/> |
28 |
<licenses> |
29 |
<license/> |
30 |
</licenses> |
31 |
<mailingLists> |
32 |
<mailingList/> |
33 |
</mailingLists> |
34 |
<developers> |
35 |
<developer/> |
36 |
</developers> |
37 |
<contributors> |
38 |
<contributor/> |
39 |
</contributors> |
40 |
<issueManagement/> |
41 |
<!-- |
42 |
<scm> |
43 |
<connection/> |
44 |
<developerConnection/> |
45 |
<url/> |
46 |
</scm> |
47 |
--> |
48 |
<ciManagement/> |
49 |
<distributionManagement> |
50 |
<repository> |
51 |
<id>-</id> |
52 |
<url>-</url> |
53 |
</repository> |
54 |
<snapshotRepository> |
55 |
<id>-</id> |
56 |
<url>-</url> |
57 |
</snapshotRepository> |
58 |
</distributionManagement> |
59 |
<!-- End of emptied/overridden metadata from parent hippo-cms7-release pom. --> |
60 |
|
61 |
<properties> |
62 |
|
63 |
<!-- ***START temporary override of versions*** --> |
64 |
<hippo.addon-channel-manager.version>2.27.00-restyling-SNAPSHOT</hippo.addon-channel-manager.version> |
65 |
<hippo.cms.version>2.27.00-restyling-SNAPSHOT</hippo.cms.version> |
66 |
<!-- ***END temporary override of versions*** --> |
67 |
|
68 |
<jsp-api.version>2.1</jsp-api.version> |
69 |
<jstl.version>1.1.2</jstl.version> |
70 |
<taglibs.version>1.1.2</taglibs.version> |
71 |
<commons.lang.version>2.6</commons.lang.version> |
72 |
<junit.version>4.10</junit.version> |
73 |
<easymock.version>3.1</easymock.version> |
74 |
<filesync.override>false</filesync.override> |
75 |
<maven.plugins.filesync.version>1.0.0</maven.plugins.filesync.version> |
76 |
<repo.bootstrap>true</repo.bootstrap> |
77 |
|
78 |
</properties> |
79 |
|
80 |
<repositories> |
81 |
<repository> |
82 |
<id>hippo</id> |
83 |
<name>Hippo maven 2 repository.</name> |
84 |
<url>http://maven.onehippo.com/maven2/</url> |
85 |
</repository> |
86 |
</repositories> |
87 |
|
88 |
<dependencyManagement> |
89 |
<dependencies> |
90 |
|
91 |
<!-- other predefined runtime scope versioned dependencies --> |
92 |
<dependency> |
93 |
<groupId>javax.servlet</groupId> |
94 |
<artifactId>jstl</artifactId> |
95 |
<version>${jstl.version}</version> |
96 |
<scope>runtime</scope> |
97 |
</dependency> |
98 |
|
99 |
<dependency> |
100 |
<groupId>taglibs</groupId> |
101 |
<artifactId>standard</artifactId> |
102 |
<version>${taglibs.version}</version> |
103 |
<scope>runtime</scope> |
104 |
</dependency> |
105 |
|
106 |
<!-- other predefined compile scope versioned dependencies --> |
107 |
<dependency> |
108 |
<groupId>commons-lang</groupId> |
109 |
<artifactId>commons-lang</artifactId> |
110 |
<version>${commons.lang.version}</version> |
111 |
</dependency> |
112 |
|
113 |
<dependency> |
114 |
<groupId>org.freemarker</groupId> |
115 |
<artifactId>freemarker</artifactId> |
116 |
<version>${freemarker.version}</version> |
117 |
</dependency> |
118 |
|
119 |
<dependency> |
120 |
<groupId>junit</groupId> |
121 |
<artifactId>junit</artifactId> |
122 |
<version>${junit.version}</version> |
123 |
<scope>test</scope> |
124 |
</dependency> |
125 |
|
126 |
<dependency> |
127 |
<groupId>org.easymock</groupId> |
128 |
<artifactId>easymock</artifactId> |
129 |
<version>${easymock.version}</version> |
130 |
<scope>test</scope> |
131 |
</dependency> |
132 |
|
133 |
</dependencies> |
134 |
</dependencyManagement> |
135 |
|
136 |
<build> |
137 |
<defaultGoal>package</defaultGoal> |
138 |
<pluginManagement> |
139 |
<plugins> |
140 |
<plugin> |
141 |
<groupId>com.googlecode.mavenfilesync</groupId> |
142 |
<artifactId>maven-filesync-plugin</artifactId> |
143 |
<version>${maven.plugins.filesync.version}</version> |
144 |
<configuration> |
145 |
<override>${filesync.override}</override> |
146 |
</configuration> |
147 |
<executions> |
148 |
<execution> |
149 |
<goals> |
150 |
<goal>generate</goal> |
151 |
</goals> |
152 |
</execution> |
153 |
</executions> |
154 |
</plugin> |
155 |
</plugins> |
156 |
</pluginManagement> |
157 |
<plugins> |
158 |
<plugin> |
159 |
<groupId>org.codehaus.mojo</groupId> |
160 |
<artifactId>buildnumber-maven-plugin</artifactId> |
161 |
<version>${maven.plugin.buildnumber.version}</version> |
162 |
<executions> |
163 |
<execution> |
164 |
<phase>validate</phase> |
165 |
<goals> |
166 |
<goal>create</goal> |
167 |
</goals> |
168 |
</execution> |
169 |
</executions> |
170 |
<configuration> |
171 |
<doCheck>false</doCheck> |
172 |
<doUpdate>false</doUpdate> |
173 |
<revisionOnScmFailure>-1</revisionOnScmFailure> |
174 |
</configuration> |
175 |
</plugin> |
176 |
<plugin> |
177 |
<groupId>org.apache.maven.plugins</groupId> |
178 |
<artifactId>maven-jar-plugin</artifactId> |
179 |
<version>${maven.plugin.jar.version}</version> |
180 |
<configuration> |
181 |
<archive> |
182 |
<manifest> |
183 |
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
184 |
</manifest> |
185 |
<manifestEntries> |
186 |
<Implementation-Build>${buildNumber}</Implementation-Build> |
187 |
</manifestEntries> |
188 |
</archive> |
189 |
</configuration> |
190 |
</plugin> |
191 |
<plugin> |
192 |
<groupId>org.apache.maven.plugins</groupId> |
193 |
<artifactId>maven-source-plugin</artifactId> |
194 |
<configuration> |
195 |
<skipSource>true</skipSource> |
196 |
</configuration> |
197 |
</plugin> |
198 |
</plugins> |
199 |
</build> |
200 |
|
201 |
<profiles> |
202 |
|
203 |
<profile> |
204 |
<id>default</id> |
205 |
<activation> |
206 |
<activeByDefault>true</activeByDefault> |
207 |
<property> |
208 |
<name>jrebel</name> |
209 |
</property> |
210 |
</activation> |
211 |
<modules> |
212 |
<module>bootstrap</module> |
213 |
<module>cms</module> |
214 |
<module>site</module> |
215 |
</modules> |
216 |
</profile> |
217 |
|
218 |
<profile> |
219 |
<id>cargo.run</id> |
220 |
<build> |
221 |
<plugins> |
222 |
<plugin> |
223 |
<groupId>org.codehaus.cargo</groupId> |
224 |
<artifactId>cargo-maven2-plugin</artifactId> |
225 |
<configuration> |
226 |
<configuration> |
227 |
<properties> |
228 |
<catalina.servlet.uriencoding>UTF-8</catalina.servlet.uriencoding> |
229 |
</properties> |
230 |
<configfiles> |
231 |
<configfile> |
232 |
<file>${project.basedir}/conf/context.xml</file> |
233 |
<todir>conf/</todir> |
234 |
<tofile>context.xml</tofile> |
235 |
</configfile> |
236 |
</configfiles> |
237 |
</configuration> |
238 |
<container> |
239 |
<systemProperties> |
240 |
<derby.stream.error.file>${project.basedir}/target/derby.log</derby.stream.error.file> |
241 |
<log4j.configuration>file:${project.basedir}/conf/log4j-dev.xml</log4j.configuration> |
242 |
<rebel.log4j-plugin>true</rebel.log4j-plugin> |
243 |
<!-- enables auto export and web resources watch: --> |
244 |
<project.basedir>${project.basedir}</project.basedir> |
245 |
</systemProperties> |
246 |
</container> |
247 |
<deployables> |
248 |
<deployable> |
249 |
<type>war</type> |
250 |
<properties> |
251 |
<context>/cms</context> |
252 |
</properties> |
253 |
<location>${project.basedir}/cms/target/cms.war</location> |
254 |
</deployable> |
255 |
<deployable> |
256 |
<location>${project.basedir}/site/target/site.war</location> |
257 |
<type>war</type> |
258 |
<properties> |
259 |
<context>/site</context> |
260 |
</properties> |
261 |
</deployable> |
262 |
</deployables> |
263 |
</configuration> |
264 |
</plugin> |
265 |
</plugins> |
266 |
</build> |
267 |
</profile> |
268 |
|
269 |
<profile> |
270 |
<id>dist</id> |
271 |
<dependencies> |
272 |
<dependency> |
273 |
<groupId>org.slf4j</groupId> |
274 |
<artifactId>slf4j-log4j12</artifactId> |
275 |
<scope>provided</scope> |
276 |
</dependency> |
277 |
<dependency> |
278 |
<groupId>org.slf4j</groupId> |
279 |
<artifactId>jcl-over-slf4j</artifactId> |
280 |
<scope>provided</scope> |
281 |
</dependency> |
282 |
<dependency> |
283 |
<groupId>log4j</groupId> |
284 |
<artifactId>log4j</artifactId> |
285 |
<scope>provided</scope> |
286 |
</dependency> |
287 |
</dependencies> |
288 |
<build> |
289 |
<defaultGoal>validate</defaultGoal> |
290 |
<plugins> |
291 |
<plugin> |
292 |
<artifactId>maven-assembly-plugin</artifactId> |
293 |
<executions> |
294 |
<execution> |
295 |
<id>distro-assembly</id> |
296 |
<phase>validate</phase> |
297 |
<goals> |
298 |
<goal>single</goal> |
299 |
</goals> |
300 |
<configuration> |
301 |
<descriptors> |
302 |
<descriptor>${project.basedir}/src/main/assembly/distribution.xml</descriptor> |
303 |
</descriptors> |
304 |
</configuration> |
305 |
</execution> |
306 |
</executions> |
307 |
</plugin> |
308 |
</plugins> |
309 |
</build> |
310 |
</profile> |
311 |
|
312 |
</profiles> |
313 |
|
314 |
</project> |