Skip to content
Snippets Groups Projects
pom.xml 6.12 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?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">
    
      <parent>
        <artifactId>partition</artifactId>
        <groupId>org.opengroup.osdu</groupId>
    
        <version>0.9.0-SNAPSHOT</version>
    
        <relativePath>../../pom.xml</relativePath>
    
      </parent>
    
      <modelVersion>4.0.0</modelVersion>
      <artifactId>partition-azure</artifactId>
    
      <version>0.9.0-SNAPSHOT</version>
    
      <description>Partition service on Azure</description>
      <packaging>jar</packaging>
    
      <properties>
    
        <osdu.partition-core.version>0.9.0-SNAPSHOT</osdu.partition-core.version>
    
        <osdu.corelibazure.version>0.8.0-rc1</osdu.corelibazure.version>
        <osdu.oscorecommon.version>0.9.0-rc3</osdu.oscorecommon.version>
    
        <azure.version>2.3.5</azure.version>
    
        <junit.version>4.12</junit.version>
        <mockito.version>2.25.0</mockito.version>
        <powermock.version>2.0.2</powermock.version>
        <nimbus-jose-jwt>7.9</nimbus-jose-jwt>
        <jwks-rsa>0.12.0</jwks-rsa>
    
      </properties>
    
    
      <dependencyManagement>
        <dependencies>
          <!-- Inherit managed dependencies from core-lib-azure -->
          <dependency>
            <groupId>org.opengroup.osdu</groupId>
            <artifactId>core-lib-azure</artifactId>
            <version>${osdu.corelibazure.version}</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
        </dependencies>
      </dependencyManagement>
    
    
      <dependencies>
    
        <!-- OSDU dependencies -->
    
        <dependency>
    
          <groupId>org.opengroup.osdu</groupId>
          <artifactId>partition-core</artifactId>
          <version>${osdu.partition-core.version}</version>
    
        </dependency>
    
        <dependency>
          <groupId>org.opengroup.osdu</groupId>
          <artifactId>core-lib-azure</artifactId>
          <version>${osdu.corelibazure.version}</version>
        </dependency>
        <dependency>
          <groupId>org.opengroup.osdu</groupId>
          <artifactId>os-core-common</artifactId>
          <exclusions>
            <exclusion>
              <groupId>org.elasticsearch.client</groupId>
              <artifactId>elasticsearch-rest-client</artifactId>
            </exclusion>
          </exclusions>
        </dependency>
    
    
        <dependency>
          <groupId>org.springframework.boot</groupId>
          <artifactId>spring-boot-starter-security</artifactId>
          <exclusions>
            <exclusion>
              <groupId>ch.qos.logback</groupId>
              <artifactId>logback-classic</artifactId>
            </exclusion>
            <exclusion>
              <groupId>org.apache.logging.log4j</groupId>
              <artifactId>log4j-to-slf4j</artifactId>
            </exclusion>
          </exclusions>
        </dependency>
        <dependency>
          <groupId>org.springframework.security</groupId>
          <artifactId>spring-security-oauth2-client</artifactId>
        </dependency>
        <dependency>
          <groupId>org.springframework.security</groupId>
          <artifactId>spring-security-oauth2-jose</artifactId>
        </dependency>
    
    
        <!-- Azure dependencies -->
    
        <dependency>
    
          <groupId>com.microsoft.azure</groupId>
          <artifactId>azure-spring-boot-metrics-starter</artifactId>
    
        </dependency>
        <dependency>
    
          <groupId>org.springframework.boot</groupId>
          <artifactId>spring-boot-starter-log4j2</artifactId>
    
        </dependency>
    
    Alok Joshi's avatar
    Alok Joshi committed
        <dependency>
          <groupId>com.microsoft.azure</groupId>
    
          <artifactId>azure-storage</artifactId>
          <version>8.6.5</version>
    
    Alok Joshi's avatar
    Alok Joshi committed
        </dependency>
        <dependency>
    
          <groupId>com.microsoft.azure</groupId>
          <artifactId>azure-active-directory-spring-boot-starter</artifactId>
    
    Alok Joshi's avatar
    Alok Joshi committed
        </dependency>
    
        <dependency>
    
          <groupId>com.microsoft.azure</groupId>
          <artifactId>msal4j</artifactId>
    
        </dependency>
    
        <!-- Other dependencies -->
    
        <dependency>
    
          <groupId>com.auth0</groupId>
          <artifactId>jwks-rsa</artifactId>
          <version>${jwks-rsa}</version>
    
        </dependency>
        <dependency>
    
          <groupId>com.nimbusds</groupId>
          <artifactId>nimbus-jose-jwt</artifactId>
          <version>${nimbus-jose-jwt}</version>
    
        </dependency>
        <dependency>
          <groupId>org.projectlombok</groupId>
          <artifactId>lombok</artifactId>
        </dependency>
    
        <!-- Test dependencies -->
    
        <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
    
          <version>${junit.version}</version>
    
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.mockito</groupId>
          <artifactId>mockito-core</artifactId>
    
          <version>${mockito.version}</version>
    
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.powermock</groupId>
          <artifactId>powermock-api-mockito2</artifactId>
    
          <version>${powermock.version}</version>
    
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.powermock</groupId>
          <artifactId>powermock-module-junit4</artifactId>
    
          <version>${powermock.version}</version>
    
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.springframework.boot</groupId>
          <artifactId>spring-boot-starter-test</artifactId>
          <scope>test</scope>
          <exclusions>
            <exclusion>
              <groupId>org.mockito</groupId>
              <artifactId>mockito-all</artifactId>
            </exclusion>
            <exclusion>
              <groupId>org.junit.vintage</groupId>
              <artifactId>junit-vintage-engine</artifactId>
            </exclusion>
          </exclusions>
        </dependency>
        <dependency>
          <groupId>org.springframework.security</groupId>
          <artifactId>spring-security-test</artifactId>
          <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.partition.provider.azure.PartitionApplication</mainClass>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    
    </project>