Skip to content
Snippets Groups Projects
pom.xml 7.01 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>
    
        <properties>
            <java.version>1.8</java.version>
            <maven.compiler.target>1.8</maven.compiler.target>
            <maven.compiler.source>1.8</maven.compiler.source>
            <docker.image.prefix>opendes</docker.image.prefix>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    
    Rostislav Vatolin's avatar
    Rostislav Vatolin committed
            <os-core-common.version>0.15.0</os-core-common.version>
    
            <snakeyaml.version>1.26</snakeyaml.version>
    
            <resilience4jVersion>1.7.0</resilience4jVersion>
    
            <springfox.version>3.0.0</springfox.version>
    
            <json-smart.version>2.4.7</json-smart.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>
    
    
    David Diederich's avatar
    David Diederich committed
        <groupId>org.opengroup.osdu.legal</groupId>
        <artifactId>legal-service</artifactId>
    
        <version>0.15.0-SNAPSHOT</version>
    
    David Diederich's avatar
    David Diederich committed
        <packaging>pom</packaging>
        <name>legal-service</name>
        <description>Legal service</description>
    
    
        <modules>
            <module>legal-core</module>
            <module>provider/legal-gcp</module>
            <module>provider/legal-byoc</module>
            <module>provider/legal-azure</module>
            <module>provider/legal-aws</module>
    
            <module>provider/legal-ibm</module>
    
            <module>provider/legal-reference</module>
    
        </modules>
    
    David Diederich's avatar
    David Diederich committed
    
        <repositories>
            <repository>
    
                <id>${repo.releases.id}</id>
                <url>${repo.releases.url}</url>
    
    David Diederich's avatar
    David Diederich committed
            </repository>
        </repositories>
    
                <id>${publish.releases.id}</id>
                <url>${publish.releases.url}</url>
    
                <id>${publish.snapshots.id}</id>
                <url>${publish.snapshots.url}</url>
    
            </snapshotRepository>
        </distributionManagement>
    
    
        <dependencyManagement>
            <dependencies>
    
                <dependency>
                    <groupId>org.opengroup.osdu</groupId>
                    <artifactId>os-core-common</artifactId>
                    <version>${os-core-common.version}</version>
                    <type>pom</type>
                    <scope>import</scope>
                </dependency>
    
                <dependency>
                    <groupId>org.opengroup.osdu</groupId>
                    <artifactId>os-core-common</artifactId>
                    <version>${os-core-common.version}</version>
    
                    <exclusions>
                        <exclusion>
                            <groupId>org.elasticsearch</groupId>
                            <artifactId>elasticsearch</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>org.elasticsearch.client</groupId>
                            <artifactId>elasticsearch-rest-client</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>org.elasticsearch.client</groupId>
                            <artifactId>elasticsearch-rest-high-level-client</artifactId>
                        </exclusion>
                    </exclusions>
                </dependency>
                <!--explicitly load latest compatible version with security fix in it-->
                <dependency>
                    <groupId>org.yaml</groupId>
                    <artifactId>snakeyaml</artifactId>
                    <version>${snakeyaml.version}</version>
                </dependency>
    
                <dependency>
    	            <groupId>org.apache.logging.log4j</groupId>
    	            <artifactId>log4j-api</artifactId>
    	            <version>${log4j.version}</version>
                </dependency>
                <dependency>
    	            <groupId>org.apache.logging.log4j</groupId>
    	            <artifactId>log4j-to-slf4j</artifactId>
    	            <version>${log4j.version}</version>
                </dependency>
    
                <dependency>
                    <groupId>net.minidev</groupId>
                    <artifactId>json-smart</artifactId>
                    <version>${json-smart.version}</version>
                </dependency>
    
            </dependencies>
        </dependencyManagement>
    
    	
    		<dependencies>
    		    <!--Swagger-->
    			<dependency>
          			<groupId>io.springfox</groupId>
          			<artifactId>springfox-boot-starter</artifactId>
          			<version>${springfox.version}</version>
        		</dependency>
    		</dependencies>
    
        <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/74/packages/maven</publish.snapshots.url>
                    <publish.releases.url>https://community.opengroup.org/api/v4/projects/74/packages/maven</publish.releases.url>
    
                </properties>
            </profile>
        </profiles>
    
    
        <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>
    
            <plugins>
                <plugin>
                    <groupId>pl.project13.maven</groupId>
                    <artifactId>git-commit-id-plugin</artifactId>
                    <version>4.0.5</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>
            </plugins>
        </build>
    
    
    </project>