pom.xml 6.02 KB
Newer Older
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
3
4
5
    <modelVersion>4.0.0</modelVersion>

    <properties>
6
        <os-core-common.version>0.11.0</os-core-common.version>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
7
8
9
10
11
12
13
14
        <java.version>1.8</java.version>
        <maven.compiler.target>1.8</maven.compiler.target>
        <maven.compiler.source>1.8</maven.compiler.source>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <groupId>org.opengroup.osdu.entitlements.v2</groupId>
    <artifactId>entitlements-v2-service</artifactId>
15
    <version>0.11.0-SNAPSHOT</version>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
16
17
18
19
20
21
22
23
    <packaging>pom</packaging>
    <name>entitlements-v2-service</name>
    <description>Entitlements V2 service</description>

    <modules>
        <module>entitlements-v2-core</module>
        <module>provider/entitlements-v2-azure</module>
        <module>provider/entitlements-v2-gcp</module>
24
        <module>provider/entitlements-v2-aws</module>
Bhushan Rade's avatar
Bhushan Rade committed
25
		<module>provider/entitlements-v2-ibm</module>
Riabokon Stanislav(EPAM)[GCP]'s avatar
Riabokon Stanislav(EPAM)[GCP] committed
26
        <module>provider/entitlements-v2-jdbc</module>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
27
28
29
30
31
32
33
34
35
36
37
38
39
    </modules>

    <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>

    <dependencyManagement>
        <dependencies>
            <dependency>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
40
41
42
                <groupId>org.opengroup.osdu</groupId>
                <artifactId>os-core-common</artifactId>
                <version>${os-core-common.version}</version>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
43
44
45
                <type>pom</type>
                <scope>import</scope>
            </dependency>
46
47
48
49
50
51
52
            <dependency>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-dependencies</artifactId>
				<version>2.1.18.RELEASE</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
53
54
55
56
            <dependency>
                <groupId>org.opengroup.osdu</groupId>
                <artifactId>os-core-common</artifactId>
                <version>${os-core-common.version}</version>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
57
58
59
60
61
62
63
64
65
66
67
68
69
70
                <exclusions>
                    <exclusion>
                        <groupId>org.elasticsearch.client</groupId>
                        <artifactId>elasticsearch-rest-client</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.elasticsearch</groupId>
                        <artifactId>elasticsearch</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.elasticsearch.client</groupId>
                        <artifactId>elasticsearch-rest-high-level-client</artifactId>
                    </exclusion>
                </exclusions>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
71
72
73
74
75
76
77
78
79
80
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-maven-plugin</artifactId>
81
82
83
84
85
86
87
88
                    <executions>
                        <execution>
                            <id>build-info</id>
                            <goals>
                                <goal>build-info</goal>
                            </goals>
                        </execution>
                    </executions>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
89
90
91
                </plugin>
            </plugins>
        </pluginManagement>
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
        <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>
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
    </build>

    <repositories>
        <repository>
            <id>${repo.releases.id}</id>
            <!--suppress UnresolvedMavenProperty -->
            <url>${repo.releases.url}</url>
        </repository>
    </repositories>

    <distributionManagement>
        <repository>
            <id>${publish.releases.id}</id>
            <!--suppress UnresolvedMavenProperty -->
            <url>${publish.releases.url}</url>
        </repository>
        <snapshotRepository>
            <id>${publish.snapshots.id}</id>
            <!--suppress UnresolvedMavenProperty -->
            <url>${publish.snapshots.url}</url>
        </snapshotRepository>
    </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/400/packages/maven</publish.snapshots.url>
                <publish.releases.url>https://community.opengroup.org/api/v4/projects/400/packages/maven</publish.releases.url>
            </properties>
        </profile>
    </profiles>

</project>