Revision 104:1ae0392e1378 pom.xml
pom.xml | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 |
|
... | ... | |
112 | 113 |
</configuration> |
113 | 114 |
</plugin> |
114 | 115 |
<plugin> |
115 |
<artifactId>maven-antrun-plugin</artifactId> |
|
116 |
<executions> |
|
117 |
<execution> |
|
118 |
<id>env-config</id> |
|
119 |
<phase>process-resources</phase> |
|
120 |
<configuration> |
|
121 |
<target> |
|
122 |
<delete file="${project.build.outputDirectory}/log4j.xml" /> |
|
123 |
<copy file="resources/log4j${config.postfix}.xml" tofile="${project.build.outputDirectory}/log4j.xml" /> |
|
124 |
|
|
125 |
<delete> |
|
126 |
<fileset dir="${project.build.outputDirectory}" includes="log4j.*.xml" /> |
|
127 |
</delete> |
|
128 |
</target> |
|
129 |
</configuration> |
|
130 |
<goals> |
|
131 |
<goal>run</goal> |
|
132 |
</goals> |
|
133 |
</execution> |
|
134 |
</executions> |
|
135 |
</plugin> |
|
136 |
<plugin> |
|
137 | 116 |
<artifactId>maven-failsafe-plugin</artifactId> |
138 | 117 |
<version>2.6</version> |
139 | 118 |
<executions> |
... | ... | |
157 | 136 |
</plugin> |
158 | 137 |
</plugins> |
159 | 138 |
</build> |
139 |
|
|
140 |
|
|
141 |
|
|
160 | 142 |
<profiles> |
161 | 143 |
<profile> |
162 |
<id>env-dev-penril</id> |
|
163 |
<activation> |
|
164 |
<property> |
|
165 |
<name>env</name> |
|
166 |
<value>dev-penril</value> |
|
167 |
</property> |
|
168 |
</activation> |
|
169 |
<properties> |
|
170 |
<config.postfix>.dev-penril</config.postfix> |
|
171 |
</properties> |
|
172 |
<dependencies> |
|
173 |
<dependency> |
|
174 |
<groupId>axis</groupId> |
|
175 |
<artifactId>axis</artifactId> |
|
176 |
<version>1.4</version> |
|
177 |
<type>jar</type> |
|
178 |
<scope>compile</scope> |
|
179 |
</dependency> |
|
180 |
</dependencies> |
|
181 |
</profile> |
|
182 |
<profile> |
|
183 | 144 |
<id>env-staging-ci</id> |
184 | 145 |
<activation> |
185 | 146 |
<property> |
... | ... | |
342 | 303 |
</dependencies> |
343 | 304 |
</profile> |
344 | 305 |
<profile> |
306 |
<id>env-ant</id> |
|
307 |
<activation> |
|
308 |
<property> |
|
309 |
<name>env</name> |
|
310 |
</property> |
|
311 |
</activation> |
|
312 |
<build> |
|
313 |
<plugins> |
|
314 |
<plugin> |
|
315 |
<artifactId>maven-antrun-plugin</artifactId> |
|
316 |
<executions> |
|
317 |
<execution> |
|
318 |
<id>env-config</id> |
|
319 |
<phase>process-resources</phase> |
|
320 |
<configuration> |
|
321 |
<target> |
|
322 |
<delete file="${project.build.outputDirectory}/log4j.xml" /> |
|
323 |
<copy file="resources/log4j${config.postfix}.xml" tofile="${project.build.outputDirectory}/log4j.xml" /> |
|
324 |
|
|
325 |
<delete> |
|
326 |
<fileset dir="${project.build.outputDirectory}" includes="log4j.*.xml" /> |
|
327 |
</delete> |
|
328 |
</target> |
|
329 |
</configuration> |
|
330 |
<goals> |
|
331 |
<goal>run</goal> |
|
332 |
</goals> |
|
333 |
</execution> |
|
334 |
</executions> |
|
335 |
</plugin> |
|
336 |
</plugins> |
|
337 |
</build> |
|
338 |
</profile> |
|
339 |
<profile> |
|
340 |
<id>env-dev-penril</id> |
|
341 |
<activation> |
|
342 |
<property> |
|
343 |
<name>env</name> |
|
344 |
<value>dev-penril</value> |
|
345 |
</property> |
|
346 |
</activation> |
|
347 |
<properties> |
|
348 |
<config.postfix>.dev-penril</config.postfix> |
|
349 |
</properties> |
|
350 |
</profile> |
|
351 |
<profile> |
|
345 | 352 |
<id>env-maybank-dev</id> |
346 | 353 |
<activation> |
347 | 354 |
<property> |
... | ... | |
383 | 390 |
</plugins> |
384 | 391 |
</build> |
385 | 392 |
</profile> |
393 |
|
|
394 |
|
|
395 |
|
|
386 | 396 |
<profile> |
387 | 397 |
<id>cobertura-instrument</id> |
388 | 398 |
<activation> |
... | ... | |
705 | 715 |
</build> |
706 | 716 |
</profile> |
707 | 717 |
</profiles> |
718 |
|
|
719 |
|
|
720 |
|
|
708 | 721 |
<dependencies> |
709 | 722 |
<dependency> |
710 | 723 |
<groupId>junit</groupId> |
Also available in: Unified diff