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.restyling</groupId> |
7 |
<artifactId>demo</artifactId> |
8 |
<version>1.01.00-SNAPSHOT</version> |
9 |
</parent> |
10 |
|
11 |
<name>Restyling Demo Site</name> |
12 |
<description>Restyling Demo Site</description> |
13 |
<artifactId>demo-site</artifactId> |
14 |
<packaging>war</packaging> |
15 |
|
16 |
<dependencies> |
17 |
|
18 |
<dependency> |
19 |
<groupId>javax.servlet</groupId> |
20 |
<artifactId>jstl</artifactId> |
21 |
<scope>runtime</scope> |
22 |
</dependency> |
23 |
|
24 |
<dependency> |
25 |
<groupId>javax.servlet.jsp</groupId> |
26 |
<artifactId>jsp-api</artifactId> |
27 |
<version>${jsp-api.version}</version> |
28 |
<scope>provided</scope> |
29 |
</dependency> |
30 |
|
31 |
<dependency> |
32 |
<groupId>org.onehippo.cms7.hst.dependencies</groupId> |
33 |
<artifactId>hst-server-dependencies</artifactId> |
34 |
<type>pom</type> |
35 |
</dependency> |
36 |
|
37 |
<dependency> |
38 |
<groupId>org.onehippo.cms7.hst.dependencies</groupId> |
39 |
<artifactId>hst-spring-dependencies</artifactId> |
40 |
<type>pom</type> |
41 |
</dependency> |
42 |
|
43 |
<dependency> |
44 |
<groupId>org.onehippo.cms7.hst.dependencies</groupId> |
45 |
<artifactId>hst-client-dependencies</artifactId> |
46 |
<type>pom</type> |
47 |
</dependency> |
48 |
|
49 |
<dependency> |
50 |
<groupId>taglibs</groupId> |
51 |
<artifactId>standard</artifactId> |
52 |
<scope>runtime</scope> |
53 |
</dependency> |
54 |
|
55 |
<dependency> |
56 |
<groupId>commons-lang</groupId> |
57 |
<artifactId>commons-lang</artifactId> |
58 |
</dependency> |
59 |
|
60 |
<dependency> |
61 |
<groupId>org.freemarker</groupId> |
62 |
<artifactId>freemarker</artifactId> |
63 |
</dependency> |
64 |
|
65 |
<dependency> |
66 |
<groupId>org.onehippo.cms7.hst.components</groupId> |
67 |
<artifactId>hst-jaxrs</artifactId> |
68 |
</dependency> |
69 |
|
70 |
<dependency> |
71 |
<groupId>org.onehippo.cms7.hst.client-modules</groupId> |
72 |
<artifactId>hst-cms-rest</artifactId> |
73 |
</dependency> |
74 |
|
75 |
<dependency> |
76 |
<groupId>org.onehippo.cms7.hst.client-modules</groupId> |
77 |
<artifactId>hst-page-composer</artifactId> |
78 |
</dependency> |
79 |
|
80 |
<dependency> |
81 |
<groupId>org.easymock</groupId> |
82 |
<artifactId>easymock</artifactId> |
83 |
<scope>test</scope> |
84 |
</dependency> |
85 |
|
86 |
<dependency> |
87 |
<groupId>org.onehippo.cms7.hst</groupId> |
88 |
<artifactId>hst-mock</artifactId> |
89 |
<scope>test</scope> |
90 |
</dependency> |
91 |
</dependencies> |
92 |
|
93 |
<build> |
94 |
<finalName>site</finalName> |
95 |
<plugins> |
96 |
<plugin> |
97 |
<groupId>org.codehaus.cargo</groupId> |
98 |
<artifactId>cargo-maven2-plugin</artifactId> |
99 |
<configuration> |
100 |
<configuration> |
101 |
<type>runtime</type> |
102 |
</configuration> |
103 |
<container> |
104 |
<type>remote</type> |
105 |
</container> |
106 |
</configuration> |
107 |
</plugin> |
108 |
<plugin> |
109 |
<groupId>com.googlecode.mavenfilesync</groupId> |
110 |
<artifactId>maven-filesync-plugin</artifactId> |
111 |
<configuration> |
112 |
<mappings> |
113 |
<mapping> |
114 |
<sourceFolder>src/main/resources</sourceFolder> |
115 |
<destinationFolder>@../target/tomcat${cargo.tomcat.major.version}x/webapps/site/WEB-INF/classes</destinationFolder> |
116 |
</mapping> |
117 |
<mapping> |
118 |
<sourceFolder>src/main/webapp</sourceFolder> |
119 |
<destinationFolder>@../target/tomcat${cargo.tomcat.major.version}x/webapps/site</destinationFolder> |
120 |
</mapping> |
121 |
</mappings> |
122 |
</configuration> |
123 |
</plugin> |
124 |
</plugins> |
125 |
|
126 |
<resources> |
127 |
<resource> |
128 |
<directory>src/main/java</directory> |
129 |
<filtering>false</filtering> |
130 |
<includes> |
131 |
<include>**/*.properties</include> |
132 |
</includes> |
133 |
</resource> |
134 |
<resource> |
135 |
<directory>src/main/resources</directory> |
136 |
<filtering>true</filtering> |
137 |
</resource> |
138 |
</resources> |
139 |
</build> |
140 |
|
141 |
</project> |