-
Notifications
You must be signed in to change notification settings - Fork 4
/
pom.xml
191 lines (177 loc) · 7.62 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>
<groupId>org.mule.module</groupId>
<artifactId>mule-java-module</artifactId>
<version>1.3.0-SNAPSHOT</version>
<packaging>mule-extension</packaging>
<name>Mule Java Module</name>
<parent>
<groupId>org.mule.extensions</groupId>
<artifactId>mule-core-modules-parent</artifactId>
<version>1.1.9</version>
<relativePath></relativePath>
</parent>
<properties>
<commonsLang.version>3.12.0</commonsLang.version>
<springCore.version>5.3.33</springCore.version>
<mockitoVersion>4.11.0</mockitoVersion>
<!-- Remove when a new parent version with MTF is available -->
<munit.input.directory>src/test/munit</munit.input.directory>
<munit.output.directory>${basedir}/target/test-mule/munit</munit.output.directory>
<munit.extensions.maven.plugin.version>1.2.0</munit.extensions.maven.plugin.version>
<munit.version>3.1.0</munit.version>
<mavenResources.version>3.3.1</mavenResources.version>
<mtf.tools.version>1.2.0</mtf.tools.version>
<jacoco.version>0.8.10</jacoco.version>
<mulesoftLicenseVersion>1.4.0</mulesoftLicenseVersion>
<license.maven.plugin.version>4.2</license.maven.plugin.version>
<licensePath>LICENSE_HEADER_CPAL.txt</licensePath>
<licenseYear>2023</licenseYear>
<mule.sdk.api.version>0.7.0</mule.sdk.api.version>
<munit.failIfNoTests>false</munit.failIfNoTests>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license.maven.plugin.version}</version>
<dependencies>
<dependency>
<groupId>com.mulesoft.license</groupId>
<artifactId>license</artifactId>
<version>${mulesoftLicenseVersion}</version>
</dependency>
</dependencies>
<configuration>
<header>${licensePath}</header>
<properties>
<year>${licenseYear}</year>
</properties>
<includes>
<include>**/*.java</include>
</includes>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${mavenResources.version}</version>
<executions>
<execution>
<id>copy-munit-resourcesq</id>
<phase>process-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${munit.output.directory}</outputDirectory>
<resources>
<resource>
<directory>${munit.input.directory}</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mulesoft.munit</groupId>
<artifactId>munit-extensions-maven-plugin</artifactId>
<version>${munit.extensions.maven.plugin.version}</version>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
<phase>integration-test</phase>
</execution>
</executions>
<configuration>
<argLines>
<argLine>
-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${session.executionRootDirectory}/target/jacoco.exec
</argLine>
</argLines>
<runtimeConfiguration>
<discoverRuntimes>
<minMuleVersion>${minVersion}</minMuleVersion>
<includeSnapshots>false</includeSnapshots>
<product>EE</product>
</discoverRuntimes>
</runtimeConfiguration>
</configuration>
<dependencies>
<dependency>
<groupId>com.mulesoft.munit</groupId>
<artifactId>munit-runner</artifactId>
<version>${munit.version}</version>
<classifier>mule-plugin</classifier>
</dependency>
<dependency>
<groupId>com.mulesoft.munit</groupId>
<artifactId>munit-tools</artifactId>
<version>${munit.version}</version>
<classifier>mule-plugin</classifier>
</dependency>
<dependency>
<groupId>com.mulesoft.munit</groupId>
<artifactId>mtf-tools</artifactId>
<version>${mtf.tools.version}</version>
<classifier>mule-plugin</classifier>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commonsLang.version}</version>
</dependency>
<dependency>
<groupId>org.mule.sdk</groupId>
<artifactId>mule-sdk-api</artifactId>
<version>${mule.sdk.api.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${springCore.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-jcl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockitoVersion}</version>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>mule</id>
<name>Mule Repository</name>
<url>https://repository.mulesoft.org/nexus/content/repositories/public/</url>
</repository>
</repositories>
</project>