| <!-- |
| |
| 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.camel.springboot.example</groupId> |
| <artifactId>examples</artifactId> |
| <version>4.4.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>camel-example-spring-boot-dynamic-router-eip</artifactId> |
| <packaging>pom</packaging> |
| |
| <name>Camel SB Examples :: Dynamic Router EIP :: Examples</name> |
| <description>Dynamic Router EIP component examples</description> |
| |
| <modules> |
| <module>dynamic-router-eip-single</module> |
| <module>dynamic-router-eip-stack</module> |
| </modules> |
| |
| <properties> |
| <category>EIP</category> |
| <spring-statemachine.version>4.0.0</spring-statemachine.version> |
| </properties> |
| |
| <!-- Spring-Boot and Camel BOM --> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-dependencies</artifactId> |
| <version>${spring-boot-version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.springboot</groupId> |
| <artifactId>camel-spring-boot-bom</artifactId> |
| <version>${project.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.statemachine</groupId> |
| <artifactId>spring-statemachine-bom</artifactId> |
| <version>${spring-statemachine.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-webflux</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-validation</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.springboot</groupId> |
| <artifactId>camel-spring-boot-starter</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.springboot</groupId> |
| <artifactId>camel-spring-starter</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.springboot</groupId> |
| <artifactId>camel-dynamic-router-starter</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| <version>${spring-boot-version}</version> |
| <configuration combine.children="append"> |
| <image> |
| <name>docker.io/library/${project.artifactId}</name> |
| <env> |
| <BPE_DELIM_JAVA_TOOL_OPTIONS xml:space="preserve"> </BPE_DELIM_JAVA_TOOL_OPTIONS> |
| <BPE_APPEND_JAVA_TOOL_OPTIONS>--add-opens=java.base/sun.net=ALL-UNNAMED</BPE_APPEND_JAVA_TOOL_OPTIONS> |
| <BP_HEALTH_CHECKER_ENABLED>true</BP_HEALTH_CHECKER_ENABLED> |
| <THC_PATH>/actuator/health</THC_PATH> |
| </env> |
| <buildpacks> |
| <buildpack>urn:cnb:builder:paketo-buildpacks/java</buildpack> |
| <buildpack>gcr.io/paketo-buildpacks/health-checker:latest</buildpack> |
| </buildpacks> |
| </image> |
| <layers> |
| <enabled>true</enabled> |
| </layers> |
| <jvmArguments>--add-opens=java.base/sun.net=ALL-UNNAMED</jvmArguments> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>process-aot</id> |
| <goals> |
| <goal>process-aot</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>podman</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| <configuration> |
| <docker> |
| <host>${XDG_RUNTIME_DIR}/podman/podman.sock</host> |
| <bindHostToBuilder>true</bindHostToBuilder> |
| </docker> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>build-image-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>docker</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| <configuration> |
| <docker> |
| <host>/var/run/docker.sock</host> |
| <bindHostToBuilder>true</bindHostToBuilder> |
| </docker> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>build-image-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |