blob: dc04068c1e6d5373b17cb59b8f2c4a7fae50572d [file] [log] [blame]
Michal Banka7f770492021-02-08 12:42:52 +01001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6
7 <parent>
8 <groupId>org.onap.oparent</groupId>
9 <artifactId>oparent</artifactId>
10 <version>3.2.0</version>
11 <relativePath/>
12 </parent>
13
Michal Banka53761bf2021-02-15 13:15:39 +010014 <groupId>org.onap.dcaegen2.platform.ves-openapi-manager</groupId>
Michal Banka7f770492021-02-08 12:42:52 +010015 <artifactId>ves-openapi-manager</artifactId>
Tomasz Pietruszkiewicz41b034a2021-02-15 10:25:32 +010016 <version>1.0.0-SNAPSHOT</version>
Michal Banka7f770492021-02-08 12:42:52 +010017 <packaging>jar</packaging>
18
19 <properties>
20 <sdc-distribution-client.version>1.4.2</sdc-distribution-client.version>
21 <junit-jupiter.version>5.2.0</junit-jupiter.version>
22 <maven.compiler.source>11</maven.compiler.source>
23 <maven.compiler.target>11</maven.compiler.target>
24 <junit5.version>5.2.0</junit5.version>
25 <platform.version>1.2.0</platform.version>
26 <surefire.version>${mockito-core.version}</surefire.version>
27 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
29 <hibernate-validator.version>6.1.6.Final</hibernate-validator.version>
30 <jackson-databind.version>2.9.4</jackson-databind.version>
31 <mockito-core.version>2.22.0</mockito-core.version>
32 <spring.version>2.4.2</spring.version>
33 <docker-maven-plugin.version>0.31.0</docker-maven-plugin.version>
34 <skipDockerPush>false</skipDockerPush>
35 <nexusproxy>https://nexus.onap.org</nexusproxy>
36 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
37 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
38 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
39 <docker-image.namespace>onap</docker-image.namespace>
40 <docker-image.name.prefix>org.onap.dcaegen2.platform</docker-image.name.prefix>
41 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
42 <maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
Michal Banka7f770492021-02-08 12:42:52 +010043 </properties>
44
45 <build>
46 <finalName>ves-openapi-manager</finalName>
47 <plugins>
48 <plugin>
49 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-surefire-plugin</artifactId>
51 <version>${surefire.version}</version>
52 <dependencies>
53 <dependency>
54 <groupId>org.junit.platform</groupId>
55 <artifactId>junit-platform-surefire-provider</artifactId>
56 <version>${platform.version}</version>
57 </dependency>
58 <dependency>
59 <groupId>org.junit.jupiter</groupId>
60 <artifactId>junit-jupiter-engine</artifactId>
61 <version>${junit5.version}</version>
62 </dependency>
63 </dependencies>
64 </plugin>
65 <plugin>
66 <groupId>org.springframework.boot</groupId>
67 <artifactId>spring-boot-maven-plugin</artifactId>
68 <version>${spring.version}</version>
69 <executions>
70 <execution>
71 <goals>
72 <goal>repackage</goal>
73 </goals>
74 </execution>
75 </executions>
76 </plugin>
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-compiler-plugin</artifactId>
80 <version>${maven-compiler-plugin.version}</version>
81 <configuration>
82 <source>${maven.compiler.source}</source>
83 <target>${maven.compiler.target}</target>
84 </configuration>
85 </plugin>
Michal Bankaa3e5e532021-02-12 14:45:59 +010086 <plugin>
87 <groupId>io.fabric8</groupId>
88 <artifactId>docker-maven-plugin</artifactId>
89 <version>${docker-maven-plugin.version}</version>
90 <configuration>
91 <skipPush>${skipDockerPush}</skipPush>
92 <verbose>true</verbose>
93 <imagePullPolicy>IfNotPresent</imagePullPolicy>
94 <images>
95 <image>
96 <alias>${project.artifactId}</alias>
97 <name>${docker-image.namespace}/${docker-image.name.prefix}.${project.artifactId}</name>
98 <registry>${onap.nexus.dockerregistry.daily}</registry>
99 <build>
100 <dockerFileDir>${project.basedir}</dockerFileDir>
101 <tags>
102 <tag>${project.version}-${maven.build.timestamp}Z</tag>
103 </tags>
104 </build>
105 </image>
106 </images>
107 </configuration>
108 </plugin>
Michal Banka7f770492021-02-08 12:42:52 +0100109 </plugins>
110 </build>
Michal Banka7f770492021-02-08 12:42:52 +0100111
112 <dependencyManagement>
113 <dependencies>
114 <dependency>
115 <!-- Import dependency management from Spring Boot -->
116 <groupId>org.springframework.boot</groupId>
117 <artifactId>spring-boot-dependencies</artifactId>
118 <version>${spring.version}</version>
119 <type>pom</type>
120 <scope>import</scope>
121 </dependency>
122 </dependencies>
123 </dependencyManagement>
124 <dependencies>
125 <dependency>
126 <groupId>org.springframework.boot</groupId>
127 <artifactId>spring-boot-starter-web</artifactId>
128 </dependency>
129 <dependency>
130 <groupId>org.springframework.boot</groupId>
131 <artifactId>spring-boot-configuration-processor</artifactId>
132 <optional>true</optional>
133 </dependency>
134 <dependency>
135 <groupId>org.hibernate</groupId>
136 <artifactId>hibernate-validator</artifactId>
137 <version>${hibernate-validator.version}</version>
138 </dependency>
139 <dependency>
140 <groupId>org.projectlombok</groupId>
141 <artifactId>lombok</artifactId>
142 <optional>true</optional>
143 </dependency>
144 <dependency>
145 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
146 <artifactId>sdc-distribution-client</artifactId>
147 <version>${sdc-distribution-client.version}</version>
148 </dependency>
149 <dependency>
150 <groupId>com.fasterxml.jackson.core</groupId>
151 <artifactId>jackson-databind</artifactId>
152 <version>${jackson-databind.version}</version>
153 </dependency>
154 <dependency>
155 <groupId>com.fasterxml.jackson.dataformat</groupId>
156 <artifactId>jackson-dataformat-yaml</artifactId>
157 <version>${jackson-databind.version}</version>
158 </dependency>
159 <dependency>
160 <groupId>com.fasterxml.jackson.datatype</groupId>
161 <artifactId>jackson-datatype-jsr310</artifactId>
162 <version>${jackson-databind.version}</version>
163 </dependency>
164
165 <dependency>
166 <groupId>org.springframework.boot</groupId>
167 <artifactId>spring-boot-starter-test</artifactId>
168 <scope>test</scope>
169 </dependency>
170 <dependency>
171 <groupId>org.mockito</groupId>
172 <artifactId>mockito-core</artifactId>
173 <version>${mockito-core.version}</version>
174 <scope>test</scope>
175 </dependency>
Michal Banka7f770492021-02-08 12:42:52 +0100176 </dependencies>
177
178 <distributionManagement>
179 <repository>
180 <id>ecomp-releases</id>
181 <name>Integration simulators Release Repository</name>
182 <url>${nexusproxy}${releaseNexusPath}</url>
183 </repository>
184 <snapshotRepository>
185 <id>ecomp-snapshots</id>
186 <name>Integration simulators Snapshot Repository</name>
187 <url>${nexusproxy}${snapshotNexusPath}</url>
188 </snapshotRepository>
189 <site>
190 <id>ecomp-site</id>
191 <url>dav:${nexusproxy}${sitePath}</url>
192 </site>
193 </distributionManagement>
194
195</project>