This repository was archived by the owner on Dec 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpom.xml
236 lines (223 loc) · 9.29 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!--
Properties must be defined before the artifact coordinates so that our way of defining parents works. If properties
is after the artifact coordinates, then Maven will fail to resolve parent versions because the defined.project.version
property has not yet been defined. Yes, we are taking advantage of a 'coding side effect'...
-->
<properties>
<!-- The version used for all modules. Parent tags of sub-modules should use this version. -->
<defined.project.version>1.3.11-SNAPSHOT</defined.project.version>
<install.pom>${project.build.directory}/pom.xml</install.pom>
<skip.maven.version.warning>true</skip.maven.version.warning>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.m1.utils>[2.2,2.3)</version.m1.utils>
<www.path>${project.artifactId}/${defined.project.version}</www.path>
</properties>
<groupId>com.m1.mimeui</groupId>
<artifactId>mimeui-core</artifactId>
<version>${defined.project.version}</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.0.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
<inherited>true</inherited>
<configuration>
<reportPlugins>
<plugin>
<!-- maven reports plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.3.1</version>
<reports>
<report>index</report>
<report>dependencies</report>
<report>modules</report>
</reports>
<configuration>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
</plugin>
</reportPlugins>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.m1.maven.plugins</groupId>
<artifactId>m1release-maven-plugin</artifactId>
<version>1.0.3</version>
</plugin>
</plugins>
</pluginManagement>
<extensions>
<!-- dav helps us with large files -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
</build>
<profiles>
<profile>
<id>coverage</id>
<activation>
<property>
<name>coverage</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<!-- code coverage plugin -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<inherited>true</inherited>
<!--
2.4.1 is patched version on M1 Artifactory server.
The patched version allows cobertura to run without 2 test executions.
-->
<version>2.4.1</version>
<configuration>
<formats>
<format>xml</format> <!-- xml used by Hudson -->
<format>html</format>
<!-- xml used by Hudson -->
</formats>
</configuration>
<executions>
<execution>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>apache-mime4j-core</artifactId>
<version>0.7.2</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>apache-mime4j-dom</artifactId>
<version>0.7.2</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>apache-mime4j-storage</artifactId>
<version>0.7.2</version>
</dependency>
<dependency>
<groupId>net.sourceforge.cssparser</groupId>
<artifactId>cssparser</artifactId>
<version>0.9.6</version>
</dependency>
<dependency>
<groupId>net.sourceforge.htmlcleaner</groupId>
<artifactId>htmlcleaner</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.1.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<site>
<id>site</id>
<!-- have to hardcode deploy url: https://jira.codehaus.org/browse/MSITE-604 -->
<url>scp://hudson.lab.dgslab.com/var/www/html/projects/${project.artifactId}/${project.version}</url>
</site>
<repository>
<id>central</id>
<name>libs-release-local</name>
<url>dav:${artifactory.url}/libs-release-local</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>libs-snapshot-local</name>
<url>dav:${artifactory.url}/libs-snapshot-local</url>
</snapshotRepository>
</distributionManagement>
<!--
Used by release plugin for release builds. Don't worry about setting the
depot path property unless you are doing an official release build (which only
Hudson should be doing...). The module path does not have to be set as it will
get picked up by the perforce workspace location, but helps keep things cleaner
in the logs if you set it.
Example: -Dperforce.module.path=perforce.lab.dgslab.com:1666://depot/int/cache/cibr
-->
<scm>
<connection>scm:perforce:${perforce.module.path}</connection>
<developerConnection>scm:perforce:${perforce.module.path}</developerConnection>
</scm>
</project>