blob: c71f27cfad4e445af6f1153835c690e382b17501 [file] [log] [blame]
<?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>3.9.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>spring-boot-activemq</module>
<module>spring-boot-actuator-http-metrics</module>
<module>spring-boot-amqp</module>
<module>spring-boot-apm-opentracing</module>
<module>spring-boot-arangodb</module>
<module>spring-boot-aws2-s3</module>
<module>spring-boot-clustered-route-controller</module>
<module>spring-boot-fhir</module>
<module>spring-boot-fhir-auth-tx</module>
<module>spring-boot-geocoder</module>
<module>spring-boot-grpc</module>
<module>spring-boot-grpc-kubernetes</module>
<module>spring-boot-health-checks</module>
<module>spring-boot-hystrix</module>
<module>spring-boot-infinispan</module>
<module>spring-boot-jira</module>
<module>spring-boot-kafka-avro</module>
<module>spring-boot-kafka-offsetrepository</module>
<module>spring-boot-load-balancer-eip</module>
<module>spring-boot-master</module>
<module>spring-boot-metrics</module>
<module>spring-boot-opentracing</module>
<module>spring-boot-pojo</module>
<module>spring-boot-rabbitmq</module>
<module>spring-boot-reactive-streams</module>
<module>spring-boot-resilience4j</module>
<module>spring-boot-rest-jpa</module>
<module>spring-boot-rest-producer</module>
<module>spring-boot-rest-swagger</module>
<module>spring-boot-rest-swagger-simple</module>
<module>spring-boot-rest-openapi</module>
<module>spring-boot-rest-openapi-simple</module>
<module>spring-boot-routetemplate</module>
<module>spring-boot-servicecall</module>
<module>spring-boot-supervising-route-controller</module>
<module>spring-boot-twitter-salesforce</module>
<module>spring-boot-type-converter</module>
<module>spring-boot-undertow-spring-security</module>
<module>spring-boot-validator</module>
<module>spring-boot-webhook</module>
<module>spring-boot-xml</module>
<module>spring-boot-zipkin</module>
<module>spring-boot-strimzi</module>
<module>spring-boot-splitter-eip</module>
<module>spring-boot-widget-gadget</module>
<module>spring-boot-unit-testing</module>
</modules>
<properties>
<camel-version>3.9.0-SNAPSHOT</camel-version>
<skip.starting.camel.context>false</skip.starting.camel.context>
<javax.servlet.api.version>4.0.1</javax.servlet.api.version>
<fabric8-maven-plugin-version>4.4.1</fabric8-maven-plugin-version>
<kafka-avro-serializer-version>5.2.2</kafka-avro-serializer-version>
<reactor-version>3.2.16.RELEASE</reactor-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>