Skip to content
Snippets Groups Projects
pom.xml 6.87 KiB
Newer Older
  • Learn to ignore specific revisions
  • David Diederich's avatar
    David Diederich committed
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
      Copyright 2017-2019, Schlumberger
    
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
    
           http://www.apache.org/licenses/LICENSE-2.0
    
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
    -->
    
    <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</groupId>
    	<artifactId>os-notification</artifactId>
    
    	<version>0.25.0-SNAPSHOT</version>
    
    David Diederich's avatar
    David Diederich committed
    	<description>Root Notification Service project</description>
    
    	<properties>
    		<java.version>8</java.version>
    		<maven.compiler.target>${java.version}</maven.compiler.target>
    		<maven.compiler.source>${java.version}</maven.compiler.source>
    
    		<os-core-common.version>0.23.3</os-core-common.version>
    
    		<log4j2.version>2.17.1</log4j2.version>
    
    Alok Joshi's avatar
    Alok Joshi committed
    		<json-smart.version>2.4.7</json-smart.version>
    
    		<openapi.version>1.6.14</openapi.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
    	<packaging>pom</packaging>
    
    	<dependencyManagement>
    		<dependencies>
    
    			<dependency>
    				<groupId> org.apache.logging.log4j</groupId>
    				<artifactId>log4j-bom</artifactId>
    				<version>${log4j2.version}</version>
    				<type>pom</type>
    				<scope>import</scope>
    			</dependency>
    
    David Diederich's avatar
    David Diederich committed
    			<dependency>
    				<groupId>org.springframework.boot</groupId>
    				<artifactId>spring-boot-dependencies</artifactId>
    
    				<version>2.7.7</version>
    
    David Diederich's avatar
    David Diederich committed
    				<type>pom</type>
    				<scope>import</scope>
    			</dependency>
    
    
    			<dependency>
    				<groupId>org.opengroup.osdu</groupId>
    				<artifactId>os-core-common</artifactId>
    				<version>${os-core-common.version}</version>
    			</dependency>
    
    
    			<!-- overriding packages with known vulnerabilities -->
    			<!-- See: https://nvd.nist.gov/vuln/search/results?form_type=Advanced&results_type=overview&search_type=all&cpe_vendor=cpe%3A%2F%3Afasterxml&cpe_product=cpe%3A%2F%3Afasterxml%3Ajackson-databind&cpe_version=cpe%3A%2F%3Afasterxml%3Ajackson-databind%3A2.9.9-->
    		<dependency>
    				<groupId>com.fasterxml.jackson.core</groupId>
    				<artifactId>jackson-core</artifactId>
    
    				<version>2.14.1</version>
    
    			</dependency>
    			<dependency>
    				<groupId>com.fasterxml.jackson.core</groupId>
    				<artifactId>jackson-databind</artifactId>
    
    				<version>2.14.1</version>
    
    Spencer Sutton's avatar
    Spencer Sutton committed
    			<dependency>
    				<groupId>com.fasterxml.jackson.core</groupId>
    				<artifactId>jackson-annotations</artifactId>
    
    				<version>2.14.1</version>
    
    Spencer Sutton's avatar
    Spencer Sutton committed
    			</dependency>
    
    Bhushan Rade's avatar
    Bhushan Rade committed
    			
    			<dependency>
                    <groupId>org.apache.logging.log4j</groupId>
                    <artifactId>log4j-to-slf4j</artifactId>
                    <version>${log4j2.version}</version>
                </dependency>
                <dependency>
                    <groupId>org.apache.logging.log4j</groupId>
                    <artifactId>log4j-api</artifactId>
                    <version>${log4j2.version}</version>
                </dependency>
    
    Alok Joshi's avatar
    Alok Joshi committed
    			<dependency>
    				<groupId>net.minidev</groupId>
    				<artifactId>json-smart</artifactId>
    				<version>${json-smart.version}</version>
    			</dependency>
    
    David Diederich's avatar
    David Diederich committed
    		</dependencies>
    	</dependencyManagement>
    
    	<dependencies>
    		<dependency>
    			<groupId>org.projectlombok</groupId>
    			<artifactId>lombok</artifactId>
    			<version>1.18.8</version>
    			<scope>provided</scope>
    		</dependency>
    
    	<!-- swagger dependency -->
    	<dependency>
    
    		<groupId>org.springdoc</groupId>
    		<artifactId>springdoc-openapi-ui</artifactId>
    		<version>${openapi.version}</version>
    
    	</dependency>
    	<dependency>
    		<groupId>org.springframework.plugin</groupId>
    		<artifactId>spring-plugin-core</artifactId>
    		<version>2.0.0.RELEASE</version>
    	</dependency>
    	<dependency>
    		<groupId>org.springframework.plugin</groupId>
    		<artifactId>spring-plugin-metadata</artifactId>
    		<version>2.0.0.RELEASE</version>
    		<exclusions>
    			<exclusion>
    				<groupId>org.springframework.plugin</groupId>
    				<artifactId>spring-plugin-core</artifactId>
    			</exclusion>
    		</exclusions>
    	</dependency>
        	
    
    David Diederich's avatar
    David Diederich committed
    	</dependencies>
    
    	<modules>
    		<module>notification-core</module>
    
    		<module>provider/notification-gc</module>
    
    		<module>provider/notification-azure</module>
    
    Anuj Gupta's avatar
    Anuj Gupta committed
    		<module>provider/notification-ibm</module>
    
    		<module>provider/notification-aws</module>
    
    David Diederich's avatar
    David Diederich committed
    	</modules>
    
    
    	<repositories>
    		<repository>
    			<id>${repo.releases.id}</id>
    			<url>${repo.releases.url}</url>
    		</repository>
    	</repositories>
    
    
    David Diederich's avatar
    David Diederich committed
    	<distributionManagement>
    		<repository>
    
    			<id>${publish.releases.id}</id>
    			<url>${publish.releases.url}</url>
    
    David Diederich's avatar
    David Diederich committed
    		</repository>
    
    			<id>${publish.snapshots.id}</id>
    			<url>${publish.snapshots.url}</url>
    
    David Diederich's avatar
    David Diederich committed
    	</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/143/packages/maven</publish.snapshots.url>
    				<publish.releases.url>https://community.opengroup.org/api/v4/projects/143/packages/maven</publish.releases.url>
    			</properties>
    		</profile>
    	</profiles>
    
    
    	<build>
    		<pluginManagement>
    			<plugins>
    				<plugin>
    					<groupId>org.springframework.boot</groupId>
    					<artifactId>spring-boot-maven-plugin</artifactId>
    
    					<version>2.7.4</version>
    
    					<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>
    
    David Diederich's avatar
    David Diederich committed
    </project>