Skip to content
Snippets Groups Projects
pom.xml 8.27 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?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>
        <artifactId>notification-ibm</artifactId>
        <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.26.0-SNAPSHOT</version>
    
            <relativePath>../../pom.xml</relativePath>
        </parent>
    
        <properties>
    
    Solomon Ayalew's avatar
    Solomon Ayalew committed
            <java.version>17</java.version>
    
            <maven.compiler.target>${java.version}</maven.compiler.target>
            <maven.compiler.source>${java.version}</maven.compiler.source>
    
    Brindaban Das's avatar
    Brindaban Das committed
            <undertow-websockets-jsr.version>2.2.11.Final</undertow-websockets-jsr.version>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
            <jackson-dataformat-cbor.version>2.13.0</jackson-dataformat-cbor.version>
    
            <jackson-databind.version>2.13.4.2</jackson-databind.version>
    
            <jackson.version>2.13.2</jackson.version>
    
            <spring-boot-maven-plugin.version>2.7.6</spring-boot-maven-plugin.version>
    
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-dependencies</artifactId>
    
            <version>2.7.17</version>
    
            <type>pom</type>
            <scope>import</scope>
          </dependency>
        </dependencies>
      </dependencyManagement>
    
    
        <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.25.1</version>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
                <exclusions>
                	<exclusion>
                		<groupId>org.apache.lucene</groupId>
                		<artifactId>lucene-core</artifactId>
                	</exclusion>
                	<exclusion>
                		<groupId>org.yaml</groupId>
                		<artifactId>snakeyaml</artifactId>
                	</exclusion>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
                	<exclusion>
                		<groupId>com.fasterxml.jackson.dataformat</groupId>
                		<artifactId>jackson-dataformat-cbor</artifactId>
                	</exclusion>
    
    Brindaban Das's avatar
    Brindaban Das committed
                	<exclusion>
                		<groupId>org.springframework.security</groupId>
        				<artifactId>spring-security-web</artifactId>
                	</exclusion>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
                </exclusions>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
            <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>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
            <dependency>
            	<groupId>org.yaml</groupId>
                <artifactId>snakeyaml</artifactId>
    
    Abhay Joshi's avatar
    Abhay Joshi committed
                <version>1.33</version>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
            </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.26.0-SNAPSHOT</version>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
                <exclusions>
                	<exclusion>
                		<groupId>io.netty</groupId>
                		<artifactId>netty-codec</artifactId>
                	</exclusion>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
                	<exclusion>
                		<groupId>io.undertow</groupId>
                		<artifactId>undertow-websockets-jsr</artifactId>
                	</exclusion>
                	<exclusion>
                		<groupId>io.undertow</groupId>
                		<artifactId>undertow-core</artifactId>
                	</exclusion>
    
    Brindaban Das's avatar
    Brindaban Das committed
                	<exclusion>
                		<groupId>org.springframework.security</groupId>
        				<artifactId>spring-security-web</artifactId>
                	</exclusion>
                	<exclusion>
    					<groupId>org.springframework.security</groupId>
    					<artifactId>spring-security-core</artifactId>
    				</exclusion>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
                </exclusions>
            </dependency>
    
    Brindaban Das's avatar
    Brindaban Das committed
            <dependency>
        		<groupId>org.springframework.security</groupId>
        		<artifactId>spring-security-web</artifactId>
    
    		</dependency>
    		<dependency>
    			<groupId>org.springframework.security</groupId>
    			<artifactId>spring-security-config</artifactId>
    
    Brindaban Das's avatar
    Brindaban Das committed
    		</dependency>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
            <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>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
                </exclusions>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
    		<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>
    
                    <version>${spring-boot-maven-plugin.version}</version>
    
                    <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>