Skip to content
Snippets Groups Projects
pom.xml 9.7 KiB
Newer Older
  • Learn to ignore specific revisions
  • David Diederich's avatar
    David Diederich committed
    <?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/xsd/maven-4.0.0.xsd">
    
    David Diederich's avatar
    David Diederich committed
        <modelVersion>4.0.0</modelVersion>
    
        <groupId>org.opengroup.osdu.indexer</groupId>
        <artifactId>indexer-service</artifactId>
        <packaging>pom</packaging>
    
        <version>0.29.0-SNAPSHOT</version>
    
    David Diederich's avatar
    David Diederich committed
        <description>Indexer Service</description>
    
        <properties>
    
            <java.version>17</java.version>
            <maven.compiler.target>17</maven.compiler.target>
            <maven.compiler.source>17</maven.compiler.source>
    
            <os-core-common.version>3.1.0</os-core-common.version>
    
            <hibernate-validator.version>8.0.0.Final</hibernate-validator.version>
    
    Yauheni Lesnikau's avatar
    Yauheni Lesnikau committed
            <common-codec.version>1.14</common-codec.version>
            <netty.version>4.1.51.Final</netty.version>
            <reactor-netty.version>0.8.20.RELEASE</reactor-netty.version>
    
            <woodstox-core.version>6.4.0</woodstox-core.version>
    
            <log4j2.version>2.21.1</log4j2.version>
    
            <spring-boot-maven-plugin.version>3.3.4</spring-boot-maven-plugin.version>
    
            <json-smart.version>2.5.0</json-smart.version>
    
            <openapi.version>2.6.0</openapi.version>
    
    Derek Zhang's avatar
    Derek Zhang committed
            <spring.boot.version>3.3.7</spring.boot.version>
            <spring.framework.version>6.1.16</spring.framework.version>
    
            <spring.security.version>6.3.4</spring.security.version>
    
    David Diederich's avatar
    David Diederich committed
        </properties>
    
    
        <licenses>
        	<license>
        		<name>Apache License, Version 2.0</name>
        		<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
        		<distribution>repo</distribution>
        	</license>
        </licenses>
    
    
        <dependencyManagement>
            <dependencies>
    
                <dependency>
    
                    <groupId>org.springframework.security</groupId>
                    <artifactId>spring-security-bom</artifactId>
                    <version>${spring.security.version}</version>
    
                    <type>pom</type>
                    <scope>import</scope>
                </dependency>
    
                <dependency>
    
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-dependencies</artifactId>
                    <version>${spring.boot.version}</version>
    
    Yauheni Lesnikau's avatar
    Yauheni Lesnikau committed
                    <type>pom</type>
                    <scope>import</scope>
                </dependency>
                <dependency>
    
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-framework-bom</artifactId>
                    <version>${spring.framework.version}</version>
                    <type>pom</type>
                    <scope>import</scope>
    
    Yauheni Lesnikau's avatar
    Yauheni Lesnikau committed
                </dependency>
                <dependency>
                    <groupId>commons-codec</groupId>
                    <artifactId>commons-codec</artifactId>
                    <version>${common-codec.version}</version>
                </dependency>
                <dependency>
                    <groupId>io.projectreactor.netty</groupId>
                    <artifactId>reactor-netty</artifactId>
                    <version>${reactor-netty.version}</version>
    
                </dependency>
                <dependency>
                    <groupId>com.fasterxml.woodstox</groupId>
                    <artifactId>woodstox-core</artifactId>
                    <version>${woodstox-core.version}</version>
    
    Yauheni Lesnikau's avatar
    Yauheni Lesnikau committed
                </dependency>
    
                <dependency>
                    <groupId>net.minidev</groupId>
                    <artifactId>json-smart</artifactId>
                    <version>${json-smart.version}</version>
                </dependency>
    
            </dependencies>
        </dependencyManagement>
    
    
        <dependencies>
    
            <dependency>
                <groupId>org.opengroup.osdu</groupId>
    
                <artifactId>os-core-common</artifactId>
                <version>${os-core-common.version}</version>
    
            <dependency>
                <groupId>co.elastic.clients</groupId>
                <artifactId>elasticsearch-java</artifactId>
    
                <version>8.15.2</version>
    
            </dependency>
            <dependency>
                <groupId>org.elasticsearch.client</groupId>
                <artifactId>elasticsearch-rest-client</artifactId>
    
                <version>8.15.2</version>
    
            <dependency>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
    
                <scope>provided</scope>
            </dependency>
            <!--OpenApi -->
    
                <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
    
            <dependency>
                <groupId>org.springframework.plugin</groupId>
                <artifactId>spring-plugin-core</artifactId>
                <version>3.0.0</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.plugin</groupId>
                <artifactId>spring-plugin-metadata</artifactId>
                <version>3.0.0</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.springframework.plugin</groupId>
                        <artifactId>spring-plugin-core</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
        </dependencies>
    
        <repositories>
            <repository>
                <id>${repo.releases.id}</id>
                <url>${repo.releases.url}</url>
            </repository>
        </repositories>
    
        <distributionManagement>
            <repository>
                <id>${publish.releases.id}</id>
                <url>${publish.releases.url}</url>
            </repository>
            <snapshotRepository>
                <id>${publish.snapshots.id}</id>
                <url>${publish.snapshots.url}</url>
            </snapshotRepository>
        </distributionManagement>
    
    
        <profiles>
            <profile>
                <id>Default</id>
                <activation>
                    <property>
                        <name>!repo.releases.id</name>
                    </property>
                </activation>
                <properties>
                    <repo.releases.id>community-maven-repo</repo.releases.id>
                    <publish.snapshots.id>community-maven-via-job-token</publish.snapshots.id>
                    <publish.releases.id>community-maven-via-job-token</publish.releases.id>
                    <repo.releases.url>https://community.opengroup.org/api/v4/groups/17/-/packages/maven</repo.releases.url>
                    <publish.snapshots.url>https://community.opengroup.org/api/v4/projects/25/packages/maven</publish.snapshots.url>
                    <publish.releases.url>https://community.opengroup.org/api/v4/projects/25/packages/maven</publish.releases.url>
                </properties>
            </profile>
    
            <profile>
                <id>core</id>
                <activation>
                    <activeByDefault>true</activeByDefault>
                </activation>
                <modules>
                    <module>indexer-core</module>
                    <module>indexer-core-plus</module>
                </modules>
            </profile>
            <profile>
                <id>aws</id>
                <modules>
                    <module>provider/indexer-aws</module>
                </modules>
            </profile>
            <profile>
                <id>azure</id>
                <modules>
                    <module>provider/indexer-azure</module>
                </modules>
            </profile>
            <profile>
                <id>gc</id>
                <modules>
                    <module>provider/indexer-gc</module>
                </modules>
            </profile>
            <profile>
                <id>ibm</id>
                <modules>
                    <module>provider/indexer-ibm</module>
                </modules>
            </profile>
    
        <build>
            <pluginManagement>
                <plugins>
                    <plugin>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>build-info</id>
                                <goals>
                                    <goal>build-info</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </pluginManagement>
    
                    <groupId>io.github.git-commit-id</groupId>
                    <artifactId>git-commit-id-maven-plugin</artifactId>
                    <version>8.0.2</version>
    
                    <executions>
                        <execution>
                            <goals>
                                <goal>revision</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <verbose>true</verbose>
                        <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
                        <generateGitPropertiesFile>true</generateGitPropertiesFile>
                        <generateGitPropertiesFilename>
                            ${project.build.outputDirectory}/git.properties
                        </generateGitPropertiesFilename>
                    </configuration>
                </plugin>
    
                <plugin>
                    <groupId>org.jacoco</groupId>
                    <artifactId>jacoco-maven-plugin</artifactId>
    
                    <version>0.8.10</version>
    
                    <executions>
                    <execution>
                        <goals>
                        <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>report</id>
                        <phase>prepare-package</phase>
                        <goals>
                        <goal>report</goal>
                        </goals>
                    </execution>
                    </executions>
                </plugin>
    
    David Diederich's avatar
    David Diederich committed
    </project>