04tudor / loyalty-campaign-service

Java project Loyalty Campaign Service using Hexagonal Architecture
0 stars 0 forks source link

example of bootstrap pom.xml #5

Closed 04tudor closed 6 months ago

04tudor commented 6 months ago

<?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">

4.0.0
<parent>
    <groupId>com.somebody</groupId>
    <artifactId>loyalty-rules-engine</artifactId>
    <version>${sha1}</version>
    <relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>loyalty-rules-infrastructure-bootstrap</artifactId>
<name>Infrastructure Bootstrap</name>

<dependencies>
    <dependency>
        <groupId>com.somebody</groupId>
        <artifactId>loyalty-rules-application</artifactId>
        <version>${project.version}</version>
    </dependency>

    <dependency>
        <groupId>md.maib</groupId>
        <artifactId>commons-spring-boot-starter-actuator</artifactId>
    </dependency>
    <dependency>
        <groupId>md.maib</groupId>
        <artifactId>commons-spring-boot-starter-logging</artifactId>
    </dependency>

    <dependency>
        <groupId>io.micrometer</groupId>
        <artifactId>micrometer-registry-prometheus</artifactId>
        <scope>runtime</scope>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-actuator</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
        <exclusions>
            <exclusion>
                <artifactId>spring-boot-starter-validation</artifactId>
                <groupId>org.springframework.boot</groupId>
            </exclusion>
        </exclusions>
    </dependency>

    <dependency>
        <groupId>org.apache.maven.shared</groupId>
        <artifactId>maven-invoker</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-bootstrap</artifactId>
        <scope>test</scope>
    </dependency>
</dependencies>