-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
160 lines (145 loc) · 6.11 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
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- Set your ORGANIZATION_ID in the groupId section to publish your DataWeave library to Exchange -->
<!-- You can find more reference at https://docs.mulesoft.com/exchange/to-publish-assets-maven#publish-an-asset-to-exchange-using-maven -->
<!-- <groupId>ORGANIZATION_ID</groupId> -->
<!-- NOTE: Remember to add your Anypoint Platform credentials in ~/.m2/settings.xml file -->
<groupId>com.shyam</groupId>
<artifactId>dataweave-fun</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>dw-library</packaging>
<name>dataweave-fun</name>
<properties>
<data.weave.version>2.4.0-20220725</data.weave.version>
<data.weave.testing.framework.version>1.1.3</data.weave.testing.framework.version>
<data.weave.maven.plugin.version>0.3.2</data.weave.maven.plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>org.mule.weave</groupId>
<artifactId>runtime</artifactId>
<version>${data.weave.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mule.weave</groupId>
<artifactId>core-modules</artifactId>
<version>${data.weave.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mule.weave</groupId>
<artifactId>java-module</artifactId>
<version>${data.weave.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mule.weave</groupId>
<artifactId>yaml-module</artifactId>
<version>${data.weave.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mule.weave</groupId>
<artifactId>ndjson-module</artifactId>
<version>${data.weave.version}</version>
<scope>provided</scope>
</dependency>
<!-- The modules below are only available on MuleSoft's Enterprise Edition-->
<!-- <dependency>-->
<!-- <groupId>org.mule.weave</groupId>-->
<!-- <artifactId>excel-module</artifactId>-->
<!-- <version>${data.weave.version}</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.mule.weave</groupId>-->
<!-- <artifactId>flatfile-module</artifactId>-->
<!-- <version>${data.weave.version}</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.mule.weave</groupId>-->
<!-- <artifactId>avro-module</artifactId>-->
<!-- <version>${data.weave.version}</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>org.mule.weave</groupId>
<artifactId>data-weave-testing-framework</artifactId>
<version>${data.weave.testing.framework.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/dw</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/dw</directory>
</testResource>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.mule.weave</groupId>
<artifactId>data-weave-maven-plugin</artifactId>
<version>${data.weave.maven.plugin.version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
<!-- Add Exchange repository to publish your DataWeave library to Exchange -->
<!-- You can find more reference at https://docs.mulesoft.com/exchange/to-publish-assets-maven#publish-an-asset-to-exchange-using-maven -->
<!--
<distributionManagement>
<repository>
<id>exchange</id>
<name>Exchange Repository</name>
<url>https://maven.anypoint.mulesoft.com/api/v3/organizations/ORGANIZATION_ID/maven</url>
<layout>default</layout>
</repository>
</distributionManagement>
-->
<repositories>
<!-- Add Exchange repository to consume DataWeave library from Exchange -->
<!-- You can find more reference at https://docs.mulesoft.com/exchange/to-publish-assets-maven#consume-an-exchange-asset-with-maven -->
<!--
<repository>
<id>exchange</id>
<name>Exchange Repository</name>
<url>https://maven.anypoint.mulesoft.com/api/v3/organizations/ORGANIZATION_ID/maven</url>
<layout>default</layout>
</repository>
-->
<repository>
<id>mule-releases</id>
<url>https://repository-master.mulesoft.org/nexus/content/repositories/releases</url>
</repository>
<repository>
<id>mule-snapshots</id>
<url>https://repository-master.mulesoft.org/nexus/content/repositories/snapshots</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>mule-releases</id>
<url>https://repository-master.mulesoft.org/nexus/content/repositories/releases</url>
</pluginRepository>
<pluginRepository>
<id>mule-snapshots</id>
<url>https://repository-master.mulesoft.org/nexus/content/repositories/snapshots</url>
</pluginRepository>
</pluginRepositories>
</project>