<?xml version="1.0" encoding="UTF-8"?>

<!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- Copyright Contributors to the ODPi Egeria project. -->

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

    <parent>
        <artifactId>server-chassis</artifactId>
        <groupId>org.odpi.egeria</groupId>
        <version>3.10</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>

    <scm>
        <connection>scm:git:git://github.com/odpi/egeria.git</connection>
        <developerConnection>scm:git:ssh://github.com/odpi/egeria.git</developerConnection>
        <url>http://github.com/odpi/egeria/tree/master</url>
    </scm>

    <name>OMAG Server Platform Chassis for Spring</name>
    <description>
        Provides the spring-based OMAG server platform chassis.
    </description>

    <artifactId>server-chassis-spring</artifactId>

    <dependencies>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-autoconfigure</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.logging.log4j</groupId>
                    <artifactId>log4j-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

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

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>platform-services-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>search-integrator-api</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>search-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>admin-services-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>admin-services-server</artifactId>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>admin-services-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>ocf-metadata-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>repository-services-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>open-metadata-conformance-suite-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>asset-analysis-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>asset-consumer-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>asset-manager-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>asset-owner-spring</artifactId>
            <scope>runtime</scope>
        </dependency>


        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>asset-catalog-topic-connector</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>discovery-engine-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>repository-governance-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>stewardship-action-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>community-profile-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>design-model-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>data-privacy-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>it-infrastructure-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>project-management-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>dev-ops-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>software-developer-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>digital-architecture-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>digital-service-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>api-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>analytics-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>catalog-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>database-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>display-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>files-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>lineage-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>infrastructure-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>organization-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>security-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>topic-integrator-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>data-science-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>governance-action-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>governance-engine-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>governance-program-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>asset-catalog-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>analytics-modeling-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>subject-area-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>data-engine-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>glossary-view-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>asset-lineage-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>open-lineage-services-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>integration-daemon-services-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>engine-host-services-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>data-manager-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>security-manager-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>security-officer-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>glossary-author-view-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>rex-view-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>tex-view-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>dino-view-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>server-author-view-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <!-- Spring for REST APIs -->

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-validation</artifactId>
        </dependency>

        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-core</artifactId>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>org.odpi.egeria</groupId>
            <artifactId>http-helper</artifactId>
        </dependency>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
        </dependency>

        <!-- Documentation -->

        <dependency>
            <groupId>org.springdoc</groupId>
            <artifactId>springdoc-openapi-ui</artifactId>
        </dependency>

        <dependency>
            <groupId>io.swagger.core.v3</groupId>
            <artifactId>swagger-annotations</artifactId>
        </dependency>

    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <layout>ZIP</layout>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>analyze</id>
                        <goals>
                            <goal>analyze-only</goal>
                        </goals>
                        <configuration>
                            <ignoredUnusedDeclaredDependencies combine.children="append">
                                <!-- all egeria spring modules are dynamically added -->
                                <ignoredUnusedDeclaredDependency>org.odpi.egeria:*spring*
                                </ignoredUnusedDeclaredDependency>
                                <ignoredUnusedDeclaredDependency>org.odpi.egeria:*connector*
                                </ignoredUnusedDeclaredDependency>
                                <!-- Spring seems to cause false positives on dependency checker -->
                                <ignoredUnusedDeclaredDependency>org.springframework.boot:spring-boot-starter-web:*
                                </ignoredUnusedDeclaredDependency>
                                <ignoredUnusedDeclaredDependency>org.springframework.boot:spring-boot-starter-validation:*
                                </ignoredUnusedDeclaredDependency>

                                <ignoredUnusedDeclaredDependency>
                                    org.springframework.boot:spring-boot-starter-security:*
                                </ignoredUnusedDeclaredDependency>
                                <ignoredUnusedDeclaredDependency>
                                    org.springdoc:springdoc-openapi-ui:*
                                </ignoredUnusedDeclaredDependency>
                                <ignoredUnusedDeclaredDependency>
                                    org.odpi.egeria:search-integrator-api:*
                                </ignoredUnusedDeclaredDependency>
                            </ignoredUnusedDeclaredDependencies>
                            <ignoredDependencies>
                                <ignoreDependency>
                                    javax.annotation:javax.annotation-api:*
                                </ignoreDependency>
                            </ignoredDependencies>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <!-- Special configuration for dependency checking due to the way spring scans -->


        </plugins>
    </build>
    <profiles>
        <profile>
            <id>full-platform</id>
            <activation>
                <property>
                    <name>!adminChassisOnly</name>
                </property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>ocf-metadata-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>repository-services-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>open-metadata-conformance-suite-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>asset-analysis-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>asset-consumer-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>asset-manager-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>asset-owner-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>repository-governance-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>discovery-engine-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>stewardship-action-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>community-profile-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>design-model-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>data-privacy-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>it-infrastructure-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>project-management-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>dev-ops-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>software-developer-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>digital-architecture-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>digital-service-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>data-science-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>api-integrator-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>analytics-integrator-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>catalog-integrator-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>database-integrator-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>display-integrator-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>files-integrator-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>lineage-integrator-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>infrastructure-integrator-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>organization-integrator-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>security-integrator-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>governance-action-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>governance-engine-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>governance-program-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>asset-catalog-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>analytics-modeling-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>subject-area-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>data-engine-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>glossary-view-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>asset-lineage-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>open-lineage-services-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>data-manager-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>security-officer-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>security-manager-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>glossary-author-view-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>rex-view-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>tex-view-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>dino-view-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>

                <dependency>
                    <groupId>org.odpi.egeria</groupId>
                    <artifactId>server-author-view-spring</artifactId>
                    <scope>runtime</scope>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>openapi</id>
            <activation>
                <property>
                <name>openapi</name>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.springdoc</groupId>
                        <artifactId>springdoc-openapi-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>integration-test</id>
                                <goals>
                                    <goal>generate</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>pre-integration-test</id>
                                <goals>
                                    <goal>start</goal>
                                </goals>
                            </execution>
                            <execution>
                                <id>post-integration-test</id>
                                <goals>
                                    <goal>stop</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>
