Skip to content
Snippets Groups Projects
pom.xml 6.76 KiB
Newer Older
  • Learn to ignore specific revisions
  • ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
      Copyright 2019 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">
    
    ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
        <modelVersion>4.0.0</modelVersion>
    
        <parent>
            <groupId>org.opengroup.osdu.indexer</groupId>
            <artifactId>indexer-service</artifactId>
    
            <version>0.16.0-SNAPSHOT</version>
    
            <relativePath>../../pom.xml</relativePath>
    
    ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
        </parent>
    
        <artifactId>indexer-ibm</artifactId>
        <name>indexer-ibm</name>
        <description>Indexer Service IBM</description>
        <packaging>jar</packaging>
    
    Alan Braz's avatar
    Alan Braz committed
    	
    	<properties>
    
    		<os-core-lib-ibm.version>0.15.2</os-core-lib-ibm.version>
    
    Alan Braz's avatar
    Alan Braz committed
    	</properties>
    	
    
    	<profiles>
    		<profile>
    			<id>local</id>
    			<activation>
    				<activeByDefault>false</activeByDefault>
    			</activation>
    			<properties>
    				<build.profile.id>local</build.profile.id>
    				<profileActive>local</profileActive>
    			</properties>
    		</profile>
    	</profiles>
    	
    
    ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
         <dependencies>
    
            <!-- OSDU core service dependencies -->        
            <dependency>
                <groupId>org.opengroup.osdu.indexer</groupId>
                <artifactId>indexer-core</artifactId>
    
                <version>0.16.0-SNAPSHOT</version>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
                <exclusions>
                	<exclusion>
                		<groupId>io.netty</groupId>
                		<artifactId>netty-codec</artifactId>
                	</exclusion>
                </exclusions>
            </dependency>
            <dependency>
            	<groupId>io.netty</groupId>
                <artifactId>netty-codec</artifactId>
                <version>4.1.68.Final</version>
    
    ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
            </dependency>
       		<dependency>
       			<groupId>org.opengroup.osdu</groupId>
       			<artifactId>os-core-lib-ibm</artifactId>
    
    Alan Braz's avatar
    Alan Braz committed
       			<version>${os-core-lib-ibm.version}</version>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
       			<exclusions>
       				<exclusion>
       					<groupId>io.netty</groupId>
       					<artifactId>netty-codec</artifactId>
       				</exclusion>
       			</exclusions>
    
    ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
       		</dependency>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-security</artifactId>
            </dependency>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
            <!-- <dependency>
    
    ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
                <groupId>org.springframework.security.oauth</groupId>
                <artifactId>spring-security-oauth2</artifactId>
                <version>2.3.6.RELEASE</version>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
            </dependency> -->
    
    Gokul Nagare's avatar
    Gokul Nagare committed
            <!-- <dependency>
    
    ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-jwt</artifactId>
                <version>1.0.10.RELEASE</version>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
            </dependency> -->
    
    ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
    		<dependency>
    			<groupId>org.springframework.data</groupId>
    			<artifactId>spring-data-commons</artifactId>
    		</dependency>
    
            <dependency>
                <groupId>org.elasticsearch</groupId>
                <artifactId>elasticsearch</artifactId>
    
    Gokul Nagare's avatar
    Gokul Nagare committed
                <exclusions>
                	<exclusion>
                		<groupId>org.apache.lucene</groupId>
                		<artifactId>lucene-core</artifactId>
                	</exclusion>
                </exclusions>
            </dependency>
            <dependency>
            	<groupId>org.apache.lucene</groupId>
                <artifactId>lucene-core</artifactId>
                <version>8.10.0</version>
    
    ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
            </dependency>
            <dependency>
                <groupId>org.elasticsearch.client</groupId>
                <artifactId>elasticsearch-rest-client</artifactId>
            </dependency>
            <dependency>
                <groupId>org.elasticsearch.client</groupId>
                <artifactId>elasticsearch-rest-high-level-client</artifactId>
            </dependency>
    
            <!-- Test Dependencies -->
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-test</artifactId>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-test</artifactId>
                <scope>test</scope>
            </dependency>
    
            <dependency>
                <groupId>com.auth0</groupId>
                <artifactId>java-jwt</artifactId>
                <version>3.8.1</version>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <scope>test</scope>
            </dependency>
            <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito2 -->
            <dependency>
                <groupId>org.powermock</groupId>
                <artifactId>powermock-api-mockito2</artifactId>
                <version>2.0.2</version>
                <scope>test</scope>
            </dependency>
    
            <!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4 -->
            <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-core</artifactId>
    
    ethiraj krishnamanaidu's avatar
    ethiraj krishnamanaidu committed
                <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.indexer.ibm.IndexerIBMApplication
                                </mainClass>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <configuration>
                      <useSystemClassLoader>false</useSystemClassLoader>
                      <threadCount>1</threadCount>
                    </configuration>
                </plugin>
            </plugins>
        </build>
    
    
    </project>