118 lines
3.5 KiB
XML
118 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<!--Get required dependencies from parent-->
|
|
<parent>
|
|
<groupId>org.apache.camel</groupId>
|
|
<artifactId>camel-dependencies</artifactId>
|
|
<version>3.3.0</version>
|
|
</parent>
|
|
|
|
<groupId>com.javadevjournal</groupId>
|
|
<artifactId>spring-boot-camel</artifactId>
|
|
<name>spring-boot-camel</name>
|
|
<description>Spring Boot Camel integration tutorial</description>
|
|
|
|
<properties>
|
|
<spring-boot-version>2.2.7.RELEASE</spring-boot-version>
|
|
<run.profiles>dev</run.profiles>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!--Import as a pom to let spring-boot to manage spring-boot dependencies version -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring-boot-version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!--Import as a pom to let camel to manage camel-spring-boot dependencies version-->
|
|
<dependency>
|
|
<groupId>org.apache.camel.springboot</groupId>
|
|
<artifactId>camel-spring-boot-dependencies</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!--Spring boot dependencies to enable REST, JPA and Core features-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
|
|
<!--Camel Spring Boot Dependencies to enable REST, JSON, SWAGGER, JPA features-->
|
|
<dependency>
|
|
<groupId>org.apache.camel.springboot</groupId>
|
|
<artifactId>camel-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.camel.springboot</groupId>
|
|
<artifactId>camel-servlet-starter</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.camel.springboot</groupId>
|
|
<artifactId>camel-jackson-starter</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.camel.springboot</groupId>
|
|
<artifactId>camel-swagger-java-starter</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.camel.springboot</groupId>
|
|
<artifactId>camel-jpa-starter</artifactId>
|
|
</dependency>
|
|
|
|
<!--In memory database-->
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!--Spring boot testing-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring-boot-version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|