examples/lambda-example/pom.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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.accenture</groupId>
<artifactId>lambda-example</artifactId>
<packaging>jar</packaging>
<version>2.8.0</version>
<name>Example for simple microservices</name>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.8</version>
<relativePath/>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<netty.version>4.1.90.Final</netty.version>
<snakeyaml.version>2.0</snakeyaml.version>
<hazelcast.version>5.1.2</hazelcast.version>
<kafka.version>3.4.0</kafka.version>
<gson.version>2.10.1</gson.version>
<java.version>1.8</java.version>
</properties>
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2/</url>
</repository>
<!-- <repository>-->
<!-- <id>your-repo</id>-->
<!-- <url>https://your_repo_here/artifactory/libs-release</url>-->
<!-- </repository>-->
</repositories>
<dependencies>
<dependency>
<groupId>org.platformlambda</groupId>
<artifactId>platform-core</artifactId>
<version>2.8.0</version>
</dependency>
<!-- select your cloud connector (hazelcast-connector or kafka-connector).
For convenience, both Kafka and Hazelcast connectors are added.
you can select the connector from command line without recompiling from source.
For production, please select only one cloud connector to reduce memory footprint. -->
<dependency>
<groupId>org.platformlambda</groupId>
<artifactId>kafka-connector</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.platformlambda</groupId>
<artifactId>hazelcast-connector</artifactId>
<version>2.8.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.novocode</groupId>
<artifactId>junit-interface</artifactId>
<version>0.11</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>false</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<!-- DO NOT CHANGE THIS
AppStarter will find your Main Application(s) -->
<mainClass>org.platformlambda.core.system.AppStarter</mainClass>
</configuration>
<executions>
<execution>
<id>build-info</id>
<goals>
<goal>build-info</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>