Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
pom.xml 8.15 KiB
<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2020 IBM Corp. All Rights Reserved.
 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">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.opengroup.osdu</groupId>
    <artifactId>notification-ibm</artifactId>
    <version>0.17.0-SNAPSHOT</version>
    <name>notification-ibm</name>
    <description>IBM implementation for Notification service</description>
    <packaging>jar</packaging>

    <parent>
        <groupId>org.opengroup.osdu</groupId>
        <artifactId>os-notification</artifactId>
        <version>0.17.0-SNAPSHOT</version>
        <relativePath>../../pom.xml</relativePath>
    </parent>

    <properties>
        <java.version>8</java.version>
        <maven.compiler.target>${java.version}</maven.compiler.target>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <undertow-websockets-jsr.version>2.2.11.Final</undertow-websockets-jsr.version>
        <jackson-dataformat-cbor.version>2.13.0</jackson-dataformat-cbor.version>
        <jackson-databind.version>2.13.2.2</jackson-databind.version>
        <jackson.version>2.13.2</jackson.version>
    </properties>

    <dependencies>
      <!--   <dependency>
            <groupId>org.opengroup.osdu</groupId>
            <artifactId>os-core-common</artifactId>
        </dependency> -->
     
        
        <dependency>
            <groupId>org.opengroup.osdu</groupId>
            <artifactId>os-core-lib-ibm</artifactId>
            <version>0.16.0-rc1</version>
            <exclusions>
            	<exclusion>
            		<groupId>org.apache.lucene</groupId>
            		<artifactId>lucene-core</artifactId>
            	</exclusion>
            	<exclusion>
            		<groupId>org.yaml</groupId>
            		<artifactId>snakeyaml</artifactId>
            	</exclusion>
            	<exclusion>
            		<groupId>com.fasterxml.jackson.dataformat</groupId>
            		<artifactId>jackson-dataformat-cbor</artifactId>
            	</exclusion>
            	<exclusion>
            		<groupId>org.springframework.security</groupId>
    				<artifactId>spring-security-web</artifactId>
            	</exclusion>
            </exclusions>
        </dependency>
        <dependency>
        	<groupId>com.fasterxml.jackson.dataformat</groupId>
            <artifactId>jackson-dataformat-cbor</artifactId>
            <version>${jackson-dataformat-cbor.version}</version>
        </dependency>
        <dependency>
    	    <groupId>com.fasterxml.jackson.core</groupId>
    	    <artifactId>jackson-databind</artifactId>
   		    <version>${jackson-databind.version}</version>
	    </dependency>
	    <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-annotations</artifactId>
            <version>${jackson.version}</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-core</artifactId>
            <version>${jackson.version}</version>
        </dependency>
        <dependency>
        	<groupId>org.yaml</groupId>
            <artifactId>snakeyaml</artifactId>
            <version>1.26</version>
        </dependency>
		<dependency>
			<groupId>org.apache.lucene</groupId>
            <artifactId>lucene-core</artifactId>
            <version>8.10.0</version>
		</dependency>
        <dependency>
            <groupId>org.opengroup.osdu</groupId>
            <artifactId>notification-core</artifactId>
            <version>0.17.0-SNAPSHOT</version>
            <exclusions>
            	<exclusion>
            		<groupId>io.netty</groupId>
            		<artifactId>netty-codec</artifactId>
            	</exclusion>
            	<exclusion>
            		<groupId>io.undertow</groupId>
            		<artifactId>undertow-websockets-jsr</artifactId>
            	</exclusion>
            	<exclusion>
            		<groupId>io.undertow</groupId>
            		<artifactId>undertow-core</artifactId>
            	</exclusion>
            	<exclusion>
            		<groupId>org.springframework.security</groupId>
    				<artifactId>spring-security-web</artifactId>
            	</exclusion>
            	<exclusion>
					<groupId>org.springframework.security</groupId>
					<artifactId>spring-security-core</artifactId>
				</exclusion>
            </exclusions>
        </dependency>
        <dependency>
    		<groupId>org.springframework.security</groupId>
    		<artifactId>spring-security-web</artifactId>
    		<version>5.3.8.RELEASE</version>
    		<exclusions>
    		<exclusion>
					<groupId>org.springframework.security</groupId>
					<artifactId>spring-security-core</artifactId>
				</exclusion>
            </exclusions>
		</dependency>
		 <dependency>
        	<groupId>org.springframework.security</groupId>
        	<artifactId>spring-security-core</artifactId>
        	<version>5.3.8.RELEASE</version>
   		</dependency>
        <dependency>
        	<groupId>io.undertow</groupId>
            <artifactId>undertow-core</artifactId>
            <version>${undertow-websockets-jsr.version}</version>
        </dependency>
        <dependency>
        	<groupId>io.undertow</groupId>
            <artifactId>undertow-websockets-jsr</artifactId>
            <version>${undertow-websockets-jsr.version}</version>
            <exclusions>
            	<exclusion>
            		<groupId>io.undertow</groupId>
            		<artifactId>undertow-core</artifactId>
            	</exclusion>
            </exclusions>
        </dependency>
		<dependency>
			<groupId>io.netty</groupId>
            <artifactId>netty-codec</artifactId>
            <version>4.1.68.Final</version>
		</dependency>
        <!-- unit test dependencies -->
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-mockito2</artifactId>
            <version>2.0.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-junit4</artifactId>
            <version>2.0.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>2.0.2-beta</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                        <configuration>
                            <classifier>spring-boot</classifier>
                            <mainClass>
                                org.opengroup.osdu.notification.provider.ibm.Application
                            </mainClass>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>