pom.xml 4.71 KB
Newer Older
GitLab's avatar
GitLab committed
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5
    <modelVersion>4.0.0</modelVersion>

6
7
8
9
10
    <groupId>org.opengroup.osdu</groupId>
    <artifactId>stream-admin-service</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <description>OSDU Stream Admin Service</description>

11
12
13
14
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.5.5</version>
15
        <relativePath/>
16
17
18
    </parent>

    <properties>
19
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20
        <java.version>1.8</java.version>
21
22
23
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
        <!-- Dependency Versions -->
24
        <os-core-common.version>0.11.0</os-core-common.version>
25
        <testcontainers.version>1.16.0</testcontainers.version>
26
27
28
29
30
31
32
33
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.opengroup.osdu</groupId>
            <artifactId>os-core-common</artifactId>
            <version>${os-core-common.version}</version>
        </dependency>
34
        <dependency>
35
36
37
            <groupId>io.springfox</groupId>
            <artifactId>springfox-boot-starter</artifactId>
            <version>3.0.0</version>
38
39
40
41
        </dependency>
        <dependency>
            <groupId>org.openapitools</groupId>
            <artifactId>jackson-databind-nullable</artifactId>
42
            <version>0.2.1</version>
43
        </dependency>
44
45
46
47
        <dependency>
            <groupId>org.springframework.kafka</groupId>
            <artifactId>spring-kafka</artifactId>
        </dependency>
48
49
50
51
52
        <dependency>
            <groupId>io.kubernetes</groupId>
            <artifactId>client-java</artifactId>
            <version>12.0.1</version>
        </dependency>
53
54

        <!-- Test Dependencies -->
55
        <dependency>
56
57
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
58
59
            <scope>test</scope>
        </dependency>
60
        <dependency>
61
62
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-webflux</artifactId>
63
64
65
66
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.testcontainers</groupId>
67
68
            <artifactId>junit-jupiter</artifactId>
            <version>${testcontainers.version}</version>
69
70
71
72
73
74
75
76
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>kafka</artifactId>
            <version>${testcontainers.version}</version>
            <scope>test</scope>
        </dependency>
77
78
79
80
    </dependencies>

    <build>
        <plugins>
81
82
83
84
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
            <plugin>
                <groupId>org.openapitools</groupId>
                <artifactId>openapi-generator-maven-plugin</artifactId>
                <version>5.2.1</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                        <configuration>
                            <inputSpec>${project.basedir}/docs/api/streaming.openapi.yaml</inputSpec>
                            <generatorName>spring</generatorName>
                            <apiPackage>org.opengroup.osdu.streaming</apiPackage>
                            <modelPackage>org.opengroup.osdu.streaming.model</modelPackage>
                            <configOptions>
                                <delegatePattern>false</delegatePattern>
                                <interfaceOnly>true</interfaceOnly>
102
                                <useBeanValidation>false</useBeanValidation>
103
104
105
106
107
108
109
                            </configOptions>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125

    <repositories>
        <repository>
            <id>gitlab-maven</id>
            <url>https://community.opengroup.org/api/v4/projects/67/packages/maven</url>
        </repository>
    </repositories>

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

126
</project>