Revision 35553
Added by Katerina Iatropoulou about 9 years ago
modules/uoa-web-generic/trunk/pom.xml | ||
---|---|---|
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 |
<parent> |
|
4 |
<groupId>eu.dnetlib</groupId> |
|
5 |
<artifactId>dnet-container-parent</artifactId> |
|
6 |
<version>1.0.0-SNAPSHOT</version> |
|
7 |
</parent> |
|
8 |
<modelVersion>4.0.0</modelVersion> |
|
9 |
<groupId>eu.dnetlib</groupId> |
|
10 |
<artifactId>uoa-web-generic</artifactId> |
|
11 |
<packaging>war</packaging> |
|
12 |
<version>1.0.0-SNAPSHOT</version> |
|
13 |
|
|
14 |
<scm> |
|
15 |
<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-web-generic/trunk</developerConnection> |
|
16 |
</scm> |
|
17 |
|
|
18 |
<properties> |
|
19 |
<struts2.version>2.3.16.3</struts2.version> |
|
20 |
<web.generic.version>default</web.generic.version> |
|
21 |
</properties> |
|
22 |
|
|
23 |
<build> |
|
24 |
<plugins> |
|
25 |
<plugin> |
|
26 |
<artifactId>maven-clean-plugin</artifactId> |
|
27 |
<version>2.6.1</version> |
|
28 |
<configuration> |
|
29 |
<filesets> |
|
30 |
<fileset> |
|
31 |
<directory>${basedir}/src/main/webapp/pages</directory> |
|
32 |
<includes> |
|
33 |
<include>*/**</include> |
|
34 |
</includes> |
|
35 |
</fileset> |
|
36 |
|
|
37 |
<fileset> |
|
38 |
<directory>${basedir}/src/main/webapp/static-content</directory> |
|
39 |
<includes> |
|
40 |
<include>*/**</include> |
|
41 |
</includes> |
|
42 |
</fileset> |
|
43 |
</filesets> |
|
44 |
</configuration> |
|
45 |
</plugin> |
|
46 |
<plugin> |
|
47 |
<groupId>org.apache.maven.plugins</groupId> |
|
48 |
<artifactId>maven-compiler-plugin</artifactId> |
|
49 |
<configuration> |
|
50 |
<excludes> |
|
51 |
<exclude>gr/uoa/di/driver/web/announcements/*.java</exclude> |
|
52 |
<exclude>gr/uoa/di/driver/web/ep/actions/*.java</exclude> |
|
53 |
<exclude>gr/uoa/di/driver/web/myDriver/*.java</exclude> |
|
54 |
<exclude>gr/uoa/di/driver/web/rss/*.java</exclude> |
|
55 |
</excludes> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
<plugin> |
|
59 |
<artifactId>maven-war-plugin</artifactId> |
|
60 |
<version>2.6</version> |
|
61 |
<configuration> |
|
62 |
<packagingExcludes>WEB-INF/lib/javax.servlet-api-3.0.1.jar</packagingExcludes> |
|
63 |
</configuration> |
|
64 |
</plugin> |
|
65 |
<plugin> |
|
66 |
<artifactId>maven-resources-plugin</artifactId> |
|
67 |
<version>2.7</version> |
|
68 |
<executions> |
|
69 |
<execution> |
|
70 |
<id>copy-resources</id> |
|
71 |
<!-- here the phase you need --> |
|
72 |
<phase>compile</phase> |
|
73 |
<goals> |
|
74 |
<goal>copy-resources</goal> |
|
75 |
</goals> |
|
76 |
<configuration> |
|
77 |
<outputDirectory>${basedir}/src/main/webapp</outputDirectory> |
|
78 |
<resources> |
|
79 |
<resource> |
|
80 |
<targetPath>pages</targetPath> |
|
81 |
<directory>/home/kiatrop/projects/dnet/4.0/uoa-web-jsp/src/default</directory> |
|
82 |
</resource> |
|
83 |
<resource> |
|
84 |
<targetPath>pages</targetPath> |
|
85 |
<directory>/home/kiatrop/projects/dnet/4.0/uoa-web-jsp/src/${web.generic.version}</directory> |
|
86 |
</resource> |
|
87 |
<resource> |
|
88 |
<targetPath>static-content</targetPath> |
|
89 |
<directory>/home/kiatrop/projects/dnet/4.0/uoa-web-static/src/default</directory> |
|
90 |
</resource> |
|
91 |
<resource> |
|
92 |
<targetPath>static-content</targetPath> |
|
93 |
<directory>/home/kiatrop/projects/dnet/4.0/uoa-web-static/src/${web.generic.version}</directory> |
|
94 |
</resource> |
|
95 |
</resources> |
|
96 |
</configuration> |
|
97 |
</execution> |
|
98 |
</executions> |
|
99 |
</plugin> |
|
100 |
</plugins> |
|
101 |
|
|
102 |
<!-- <resources> |
|
103 |
<resource> |
|
104 |
<directory>src/resources</directory> |
|
105 |
<excludes> |
|
106 |
<exclude>struts-community.xml</exclude> |
|
107 |
<exclude>struts-ep.xml</exclude> |
|
108 |
<exclude>struts-myDriver.xml</exclude> |
|
109 |
</excludes> |
|
110 |
</resource> |
|
111 |
</resources> --> |
|
112 |
</build> |
|
113 |
|
|
114 |
<dependencies> |
|
115 |
<dependency> |
|
116 |
<groupId>org.apache.struts</groupId> |
|
117 |
<artifactId>struts2-core</artifactId> |
|
118 |
<version>${struts2.version}</version> |
|
119 |
<exclusions> |
|
120 |
<exclusion> <!-- declare the exclusion here --> |
|
121 |
<groupId>javax.servlet.jsp</groupId> |
|
122 |
<artifactId>jsp-api</artifactId> |
|
123 |
</exclusion> |
|
124 |
</exclusions> |
|
125 |
</dependency> |
|
126 |
<dependency> |
|
127 |
<groupId>org.apache.struts</groupId> |
|
128 |
<artifactId>struts2-spring-plugin</artifactId> |
|
129 |
<version>${struts2.version}</version> |
|
130 |
<exclusions> |
|
131 |
<exclusion> |
|
132 |
<groupId>org.springframework</groupId> |
|
133 |
<artifactId>spring-beans</artifactId> |
|
134 |
</exclusion> |
|
135 |
<exclusion> |
|
136 |
<groupId>org.springframework</groupId> |
|
137 |
<artifactId>spring-core</artifactId> |
|
138 |
</exclusion> |
|
139 |
<exclusion> |
|
140 |
<groupId>org.springframework</groupId> |
|
141 |
<artifactId>spring-context</artifactId> |
|
142 |
</exclusion> |
|
143 |
<exclusion> |
|
144 |
<groupId>org.springframework</groupId> |
|
145 |
<artifactId>spring-web</artifactId> |
|
146 |
</exclusion> |
|
147 |
</exclusions> |
|
148 |
</dependency> |
|
149 |
<dependency> |
|
150 |
<groupId>org.apache.struts</groupId> |
|
151 |
<artifactId>struts2-dojo-plugin</artifactId> |
|
152 |
<version>${struts2.version}</version> |
|
153 |
</dependency> |
|
154 |
<dependency> |
|
155 |
<groupId>eu.dnetlib</groupId> |
|
156 |
<artifactId>uoa-hcm</artifactId> |
|
157 |
<version>[1.0.0]</version> |
|
158 |
</dependency> |
|
159 |
<dependency> |
|
160 |
<groupId>eu.dnetlib</groupId> |
|
161 |
<artifactId>uoa-api</artifactId> |
|
162 |
<version>[1.0.0]</version> |
|
163 |
</dependency> |
|
164 |
<dependency> |
|
165 |
<groupId>eu.dnetlib</groupId> |
|
166 |
<artifactId>uoa-utils</artifactId> |
|
167 |
<version>[1.0.0]</version> |
|
168 |
</dependency> |
|
169 |
<dependency> |
|
170 |
<groupId>eu.dnetlib</groupId> |
|
171 |
<artifactId>uoa-commons</artifactId> |
|
172 |
<version>[1.0.0]</version> |
|
173 |
<exclusions> |
|
174 |
<exclusion> |
|
175 |
<artifactId>cglib</artifactId> |
|
176 |
<groupId>cglib</groupId> |
|
177 |
</exclusion> |
|
178 |
</exclusions> |
|
179 |
</dependency> |
|
180 |
<dependency> |
|
181 |
<groupId>eu.dnetlib</groupId> |
|
182 |
<artifactId>uoa-clients</artifactId> |
|
183 |
<version>[1.0.0]</version> |
|
184 |
</dependency> |
|
185 |
<dependency> |
|
186 |
<groupId>backport-util-concurrent</groupId> |
|
187 |
<artifactId>backport-util-concurrent-java12</artifactId> |
|
188 |
<version>3.1</version> |
|
189 |
</dependency> |
|
190 |
<dependency> |
|
191 |
<groupId>eu.dnetlib</groupId> |
|
192 |
<artifactId>uoa-web-utils</artifactId> |
|
193 |
<version>[1.0.0-SNAPSHOT]</version> |
|
194 |
</dependency> |
|
195 |
<dependency> |
|
196 |
<groupId>eu.dnetlib</groupId> |
|
197 |
<artifactId>dnet-runtime</artifactId> |
|
198 |
<version>[1.0.0]</version> |
|
199 |
</dependency> |
|
200 |
<dependency> |
|
201 |
<groupId>org.apache.struts</groupId> |
|
202 |
<artifactId>struts2-json-plugin</artifactId> |
|
203 |
<version>2.3.20</version> |
|
204 |
</dependency> |
|
205 |
<dependency> |
|
206 |
<groupId>javax.mail</groupId> |
|
207 |
<artifactId>mail</artifactId> |
|
208 |
<version>1.4.7</version> |
|
209 |
<exclusions> |
|
210 |
<exclusion> |
|
211 |
<groupId>javax.activation</groupId> |
|
212 |
<artifactId>activation</artifactId> |
|
213 |
</exclusion> |
|
214 |
</exclusions> |
|
215 |
</dependency> |
|
216 |
</dependencies> |
|
217 |
</project> |
|
218 |
|
Also available in: Unified diff
added pom.xml that contains copy of jsp and static resources