This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
forked from soi-toolkit/soi-toolkit-mule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
418 lines (387 loc) · 15.9 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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the soi-toolkit project under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The soi-toolkit project licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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">
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.soitoolkit</groupId>
<artifactId>soitoolkit</artifactId>
<packaging>pom</packaging>
<version>2.0.0-M7-SNAPSHOT</version>
<name>soitoolkit</name>
<description>SOI-Toolkit</description>
<url>http://soi-toolkit.org</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>http://github.com/soi-toolkit/soi-toolkit-mule</url>
<connection>scm:git:git://github.com/soi-toolkit/soi-toolkit-mule.git</connection>
<developerConnection>scm:git:git://github.com/soi-toolkit/soi-toolkit-mule.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<!-- Create properties used by the properties-maven-plugin to create a property file that can be used at runtime, e.g. by a monitor-service to provide build-info -->
<soitoolkit.buildinfo.group>${project.groupId}</soitoolkit.buildinfo.group>
<soitoolkit.buildinfo.artifact>${project.artifactId}</soitoolkit.buildinfo.artifact>
<soitoolkit.buildinfo.version>${project.version}</soitoolkit.buildinfo.version>
<compiler.target.version>1.7</compiler.target.version>
<compiler.source.version>1.7</compiler.source.version>
<!-- ************************************************************* -->
<!-- dependency versions - please keep list alphabetically ordered -->
<!-- ************************************************************* -->
<log4j.version>1.2.16</log4j.version>
<mockito.version>1.8.5</mockito.version>
<slf4j.version>1.7.7</slf4j.version>
<!-- ********************************************************* -->
<!-- plugin versions - please keep list alphabetically ordered -->
<!-- ********************************************************* -->
<cxf-codegen-plugin.version>2.5.1</cxf-codegen-plugin.version>
<exec-maven-plugin.version>1.2.1</exec-maven-plugin.version>
<maven-assembly-plugin.version>2.2-beta-5</maven-assembly-plugin.version>
<maven-clean-plugin.version>2.4.1</maven-clean-plugin.version>
<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
<maven-dependency-plugin.version>2.10</maven-dependency-plugin.version>
<maven-deploy-plugin.version>2.5</maven-deploy-plugin.version>
<maven-eclipse-plugin.version>2.9</maven-eclipse-plugin.version>
<maven-enforcer-plugin.version>1.1.1</maven-enforcer-plugin.version>
<maven-gpg-plugin.version>1.1</maven-gpg-plugin.version>
<maven-install-plugin.version>2.3.1</maven-install-plugin.version>
<maven-jar-plugin.version>2.3.1</maven-jar-plugin.version>
<maven-mule-plugin.version>1.9</maven-mule-plugin.version>
<maven-plugin-plugin.version>3.0</maven-plugin-plugin.version>
<!-- maven-release-plugin: version 2.0 is tagging at the wrong level in SVN
(project level instead of trunk-level) due to bug:
http://jira.codehaus.org/browse/MRELEASE-526 -->
<maven-release-plugin.version>2.0-beta-9</maven-release-plugin.version>
<maven-resources-plugin.version>2.4.3</maven-resources-plugin.version>
<maven-site-plugin.version>2.1.1</maven-site-plugin.version>
<maven-scm-plugin.version>1.4</maven-scm-plugin.version>
<maven-source-plugin.version>2.1.2</maven-source-plugin.version>
<maven-surefire-plugin.version>2.18.1</maven-surefire-plugin.version>
<maven-verifier-plugin.version>1.0</maven-verifier-plugin.version>
<maven-war-plugin.version>2.1</maven-war-plugin.version>
<properties-maven-plugin.version>1.0-alpha-2</properties-maven-plugin.version>
<studio-maven-plugin.version>3.4.2</studio-maven-plugin.version>
</properties>
<modules>
<module>commons</module>
<module>refapps</module>
<module>tools</module>
</modules>
<repositories>
<repository>
<id>mulesoft-public</id>
<name>Mulesoft dependencies repository</name>
<url>https://repository.mulesoft.org/nexus/content/repositories/public/</url>
</repository>
<repository>
<id>mulesoft-releases</id>
<name>Mulesoft releases repository</name>
<url>https://repository.mulesoft.org/releases/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<!-- for org.mule.tools:studio-maven-plugin -->
<id>mulesoft-releases</id>
<name>Mulesoft releases repository</name>
<layout>default</layout>
<url>https://repository.mulesoft.org/releases/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<dependencyManagement>
<dependencies>
<!-- ****************************************************** -->
<!-- dependencies - please keep list alphabetically ordered -->
<!-- ****************************************************** -->
<!-- log4j: replaced with log4j2 from mule 3.6.0 -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<!-- slf4j: version varies with mule version - but kept here to ensure
classpath consistency over different slf4j dependencies -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<!-- ************************************************* -->
<!-- plugins - please keep list alphabetically ordered -->
<!-- ************************************************* -->
<plugin>
<!-- CXF plugin for generating JAX-WS/JAXB src code from WSDL/XSD -->
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf-codegen-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${exec-maven-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>${maven-eclipse-plugin.version}</version>
</plugin>
<!--
Note: maven-enforcer-plugin version specified in sonatype parent
pluginManagement-section, we need to be explicit with version
where the plugin is declared since override of version here does
not seem to work (we pick up the older version from the parent).
-->
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.mule.tools</groupId>
<artifactId>maven-mule-plugin</artifactId>
<version>${maven-mule-plugin.version}</version>
</plugin>
<!--
Note: implicitly used by maven-plugin projects.
-->
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<version>${maven-plugin-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<version>${maven-scm-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>${maven-site-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-verifier-plugin</artifactId>
<version>${maven-verifier-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
</plugin>
<plugin>
<!--
Plugin for generating Mule Studio project files from a pom.xml using:
mvn studio:studio (instead of mvn eclipse:eclipse)
-->
<groupId>org.mule.tools</groupId>
<artifactId>studio-maven-plugin</artifactId>
<version>${studio-maven-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- ************************************************* -->
<!-- plugins - please keep list alphabetically ordered -->
<!-- ************************************************* -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${compiler.source.version}</source>
<target>${compiler.target.version}</target>
</configuration>
</plugin>
<plugin>
<!-- download source jar's for our dependencies whenever possible -->
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>false</downloadJavadocs>
</configuration>
</plugin>
<!--
Note: maven-enforcer-plugin version specified in sonatype parent
pluginManagement-section, we need to be explicit with version
where the plugin is declared since override of version here does
not seem to work (we pick up the older version from the parent).
-->
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>soi-toolkit: enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requirePluginVersions>
<message>### Best Practice is to always define plugin versions! ###</message>
</requirePluginVersions>
<requireMavenVersion>
<version>[3.0.3,)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[1.6.0,)</version>
</requireJavaVersion>
</rules>
<failFast>false</failFast>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- create test-jar files -->
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
</configuration>
</plugin>
<plugin>
<!-- create source jar files -->
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<!-- The id must be "attach-sources" to override plugin-config from
Sonatypes parent, otherwise the sorce-jar will be attached
twice during a release (if the release-plugin is used).
See issue #100: http://code.google.com/p/soi-toolkit/issues/detail?id=100
-->
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- Creates a property file that can be used at runtime,
e.g. by a monitor-service to provide build-info,
see build-properties in the top of this file -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>${properties-maven-plugin.version}</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>write-project-properties</goal>
</goals>
<configuration>
<outputFile>
${project.build.outputDirectory}/${project.artifactId}-build.properties
</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>