|
1 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + 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"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 |
|
6 | | - <groupId>ORG_ID_TOKEN</groupId> |
| 6 | + <groupId>70ae4654-16a5-480b-afb1-3d728b24a317</groupId> |
7 | 7 | <artifactId>common-error-handler</artifactId> |
8 | | - <version>2.0.0</version> |
| 8 | + <version>3.0.1</version> |
9 | 9 | <packaging>mule-extension</packaging> |
10 | 10 |
|
11 | 11 | <name>error-handler-plugin</name> |
12 | 12 | <description>A Mule extension done with pure Mule DSL</description> |
13 | 13 |
|
14 | | - <parent> |
15 | | - <groupId>org.mule.extensions</groupId> |
16 | | - <artifactId>mule-modules-parent</artifactId> |
17 | | - <version>1.1.1</version> |
18 | | - </parent> |
19 | | - |
20 | 14 | <properties> |
21 | 15 | <!-- XML SDK properties --> |
22 | 16 | <mule.version>4.1.5</mule.version> |
23 | 17 | <mule.extensions.maven.plugin.version>1.1.5</mule.extensions.maven.plugin.version> |
24 | | - |
| 18 | + <munit.version>2.1.3</munit.version> |
| 19 | + <munit.extensions.maven.plugin.version>1.0.0-BETA</munit.extensions.maven.plugin.version> |
| 20 | + <munit.input.directory>src/test/munit</munit.input.directory> |
| 21 | + <munit.output.directory>${basedir}/target/test-mule/munit</munit.output.directory> |
25 | 22 | <maven.source.plugin.version>3.0.1</maven.source.plugin.version> |
26 | 23 | <maven.resources.plugin.version>3.1.0</maven.resources.plugin.version> |
27 | 24 | <maven.clean.plugin.version>3.1.0</maven.clean.plugin.version> |
|
32 | 29 | <maven.javadoc.plugin.version>3.0.1</maven.javadoc.plugin.version> |
33 | 30 | <maven.surefire.plugin.version>2.22.0</maven.surefire.plugin.version> |
34 | 31 | <app.runtime>4.1.5</app.runtime> |
35 | | - <mule.module.http.version>1.5.6</mule.module.http.version> |
| 32 | + <mule.module.http.version>1.2.0</mule.module.http.version> |
36 | 33 | </properties> |
37 | 34 |
|
38 | 35 | <distributionManagement> |
39 | 36 | <repository> |
40 | 37 | <id>Exchange2</id> |
41 | 38 | <name>Mule Repo</name> |
42 | | - <url>https://maven.anypoint.mulesoft.com/api/v1/organizations/${project.groupId}/maven</url> |
| 39 | + <url>https://maven.anypoint.mulesoft.com/api/v1/organizations/${groupId}/maven</url> |
43 | 40 | <layout>default</layout> |
44 | 41 | </repository> |
45 | 42 | </distributionManagement> |
|
60 | 57 | <version>${mule.version}</version> |
61 | 58 | <scope>provided</scope> |
62 | 59 | </dependency> |
| 60 | + <!--MUnit Dependencies --> |
63 | 61 | <dependency> |
64 | | - <groupId>org.mule.connectors</groupId> |
65 | | - <artifactId>mule-http-connector</artifactId> |
66 | | - <version>${mule.module.http.version}</version> |
67 | | - <classifier>mule-plugin</classifier> |
68 | | - </dependency> |
69 | | - |
70 | | - <dependency> |
71 | | - <groupId>org.mule.module</groupId> |
72 | | - <artifactId>mule-java-module</artifactId> |
73 | | - <version>1.1.1</version> |
| 62 | + <groupId>com.mulesoft.munit</groupId> |
| 63 | + <artifactId>munit-runner</artifactId> |
| 64 | + <version>${munit.version}</version> |
74 | 65 | <classifier>mule-plugin</classifier> |
| 66 | + <scope>test</scope> |
75 | 67 | </dependency> |
76 | 68 | <dependency> |
77 | | - <groupId>org.mule.modules</groupId> |
78 | | - <artifactId>mule-validation-module</artifactId> |
79 | | - <version>1.1.0</version> |
| 69 | + <groupId>com.mulesoft.munit</groupId> |
| 70 | + <artifactId>munit-tools</artifactId> |
| 71 | + <version>2.1.3</version> |
80 | 72 | <classifier>mule-plugin</classifier> |
81 | 73 | </dependency> |
82 | 74 | </dependencies> |
83 | 75 |
|
84 | 76 | <build> |
85 | 77 | <pluginManagement> |
86 | 78 | <plugins> |
87 | | - |
| 79 | + <plugin> |
| 80 | + <groupId>com.mulesoft.munit</groupId> |
| 81 | + <artifactId>munit-extensions-maven-plugin</artifactId> |
| 82 | + <version>${munit.extensions.maven.plugin.version}</version> |
| 83 | + <executions> |
| 84 | + <execution> |
| 85 | + <id>munit-extension-test</id> |
| 86 | + <phase>integration-test</phase> |
| 87 | + <goals> |
| 88 | + <goal>test</goal> |
| 89 | + </goals> |
| 90 | + </execution> |
| 91 | + </executions> |
| 92 | + </plugin> |
88 | 93 | <plugin> |
89 | 94 | <groupId>org.apache.maven.plugins</groupId> |
90 | 95 | <artifactId>maven-resources-plugin</artifactId> |
91 | 96 | <version>${maven.resources.plugin.version}</version> |
92 | 97 | <executions> |
93 | | - |
| 98 | + <execution> |
| 99 | + <id>copy-munit-resources</id> |
| 100 | + <phase>process-test-resources</phase> |
| 101 | + <goals> |
| 102 | + <goal>copy-resources</goal> |
| 103 | + </goals> |
| 104 | + <configuration> |
| 105 | + <outputDirectory>${munit.output.directory}</outputDirectory> |
| 106 | + <resources> |
| 107 | + <resource> |
| 108 | + <directory>${munit.input.directory}</directory> |
| 109 | + <filtering>true</filtering> |
| 110 | + </resource> |
| 111 | + </resources> |
| 112 | + </configuration> |
| 113 | + </execution> |
94 | 114 | </executions> |
95 | 115 | </plugin> |
96 | 116 | <!-- Maven Plugins --> |
|
139 | 159 | <version>${mule.extensions.maven.plugin.version}</version> |
140 | 160 | <extensions>true</extensions> |
141 | 161 | </plugin> |
142 | | - |
| 162 | + <plugin> |
| 163 | + <groupId>com.mulesoft.munit</groupId> |
| 164 | + <artifactId>munit-extensions-maven-plugin</artifactId> |
| 165 | + </plugin> |
143 | 166 | </plugins> |
144 | 167 | </build> |
145 | 168 |
|
|
0 commit comments