forked from apache/camel-spring-boot-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
238 lines (219 loc) · 7.12 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
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF 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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>spring-boot</artifactId>
<version>4.4.0-SNAPSHOT</version>
</parent>
<groupId>org.apache.camel.springboot.example</groupId>
<artifactId>examples</artifactId>
<name>Camel SB :: Examples</name>
<description>Camel Examples</description>
<packaging>pom</packaging>
<modules>
<module>spring-boot</module>
<module>actuator-http-metrics</module>
<module>amqp</module>
<module>aot-basic</module>
<module>arangodb</module>
<module>artemis</module>
<module>aws-secrets-manager</module>
<module>aws2-s3</module>
<module>dynamic-router-eip</module>
<module>endpointdsl</module>
<module>fhir</module>
<module>fhir-auth-tx</module>
<module>health-checks</module>
<module>infinispan</module>
<module>jira</module>
<module>kafka-avro</module>
<module>kafka-offsetrepository</module>
<module>kamelet-chucknorris</module>
<module>load-balancer-eip</module>
<module>mail-ms-exchange-oauth2</module>
<module>master</module>
<module>metrics</module>
<module>observation</module>
<module>opentelemetry</module>
<module>paho-mqtt5-shared-subscriptions</module>
<module>platform-http</module>
<module>pojo</module>
<module>rabbitmq</module>
<module>reactive-streams</module>
<module>resilience4j</module>
<module>rest-cxf</module>
<module>rest-openapi</module>
<module>rest-openapi-simple</module>
<module>rest-openapi-springdoc</module>
<module>routetemplate</module>
<module>routetemplate-xml</module>
<module>route-reload</module>
<module>routes-configuration</module>
<module>saga</module>
<module>soap-cxf</module>
<module>supervising-route-controller</module>
<module>twitter-salesforce</module>
<module>type-converter</module>
<module>validator</module>
<module>webhook</module>
<module>xml</module>
<module>xml-import</module>
<module>strimzi</module>
<module>spring-jdbc</module>
<module>quartz</module>
<module>splitter-eip</module>
<module>widget-gadget</module>
<module>azure</module>
</modules>
<properties>
<camel-version>4.4.0-SNAPSHOT</camel-version>
<skip.starting.camel.context>false</skip.starting.camel.context>
<javax.servlet.api.version>4.0.1</javax.servlet.api.version>
<jkube-maven-plugin-version>1.14.0</jkube-maven-plugin-version>
<kafka-avro-serializer-version>5.2.2</kafka-avro-serializer-version>
<reactor-version>3.5.11</reactor-version>
<testcontainers-version>1.19.1</testcontainers-version>
<hapi-structures-v24-version>2.3</hapi-structures-v24-version>
<narayana-spring-boot-version>2.6.7</narayana-spring-boot-version>
<artemis-jakarta-version>2.31.0</artemis-jakarta-version>
</properties>
<repositories>
<repository>
<id>apache.snapshots</id>
<url>https://repository.apache.org/snapshots/</url>
<name>Apache Snapshot Repo</name>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<url>https://repository.apache.org/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<dependencyManagement>
<dependencies>
<!--
CAMEL-13084 Fix the spring-boot examples start up error by overriding servlet API version from camel-parent
We need to clean it up once camel-parent upgrade the servlet api version.
-->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${javax.servlet.api.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!-- update readme file -->
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-package-maven-plugin</artifactId>
<version>${camel-version}</version>
<configuration>
<startingFolder></startingFolder>
<filter>spring-boot</filter>
</configuration>
<executions>
<execution>
<goals>
<goal>prepare-example</goal>
</goals>
<phase>process-resources</phase>
</execution>
</executions>
</plugin>
<!-- to validate Camel endpoints: mvn camel-report:validate -->
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-report-maven-plugin</artifactId>
<version>${camel-version}</version>
<configuration>
<failOnError>false</failOnError>
<includeTest>true</includeTest>
<includeXml>true</includeXml>
<ignoreLenientProperties>false</ignoreLenientProperties>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<systemPropertyVariables>
<skipStartingCamelContext>${skip.starting.camel.context}</skipStartingCamelContext>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>container-test</id>
<properties>
<skip.starting.camel.context>true</skip.starting.camel.context>
</properties>
</profile>
<!--
This profile allows you to add a repository to the repo list so that
you can test the examples out against a staged version of the camel distribution
-->
<profile>
<id>add-remote-repo</id>
<activation>
<property>
<name>remoteRepo</name>
</property>
</activation>
<repositories>
<repository>
<id>dynamic.repo</id>
<name>Repository Dynamically Added Via the Command Line</name>
<url>$remoteRepo</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>dynamic.repo</id>
<name>Repository Dynamically Added Via the Command Line</name>
<url>$remoteRepo</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</project>