elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 3 | ~ ============LICENSE_START===================================================================== |
deen1985 | 71c13cd | 2020-08-03 11:06:37 +0200 | [diff] [blame] | 4 | ~ Copyright (C) 2018-2020 NOKIA Intellectual Property, 2018-2020 Nordix Foundation. All rights reserved. |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 5 | ~ ============================================================================================== |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 6 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | ~ you may not use this file except in compliance with the License. |
| 8 | ~ You may obtain a copy of the License at |
| 9 | ~ |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 10 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 11 | ~ |
| 12 | ~ Unless required by applicable law or agreed to in writing, software |
| 13 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | ~ See the License for the specific language governing permissions and |
| 16 | ~ limitations under the License. |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 17 | ~ ============LICENSE_END======================================================================= |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 18 | --> |
elinuxhenrik | 5a61d0c | 2018-09-18 13:18:03 +0200 | [diff] [blame] | 19 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 20 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 23 | |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 24 | <parent> |
| 25 | <groupId>org.onap.oparent</groupId> |
| 26 | <artifactId>oparent</artifactId> |
elinuxhenrik | 415aa5b | 2019-06-28 12:18:16 +0000 | [diff] [blame] | 27 | <version>2.0.0</version> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 28 | <relativePath /> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 29 | </parent> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 30 | |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 31 | <groupId>org.onap.dcaegen2.collectors</groupId> |
| 32 | <artifactId>datafile</artifactId> |
Krzysztof Gajewski | 1af5c4d | 2021-01-05 14:40:29 +0100 | [diff] [blame] | 33 | <version>1.5.1-SNAPSHOT</version> |
wasala | 93adeb4 | 2018-09-18 14:17:19 +0200 | [diff] [blame] | 34 | |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 35 | <name>dcaegen2-collectors.datafile</name> |
| 36 | <description>datafile collector</description> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 37 | <packaging>pom</packaging> |
| 38 | |
| 39 | <licenses> |
| 40 | <license> |
| 41 | <name>The Apache Software License, Version 2.0</name> |
| 42 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 43 | </license> |
| 44 | </licenses> |
| 45 | |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 46 | <properties> |
Piotr Marcinkiewicz | 79461fa | 2020-07-29 15:23:46 +0200 | [diff] [blame] | 47 | <java.version>11</java.version> |
tkogut | 8ad1127 | 2020-12-02 11:53:06 +0100 | [diff] [blame] | 48 | <sdk.version>1.5.0</sdk.version> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 49 | <apache.httpcomponents.version>4.1.4</apache.httpcomponents.version> |
| 50 | <apache.commons.version>3.6</apache.commons.version> |
wasala | 93adeb4 | 2018-09-18 14:17:19 +0200 | [diff] [blame] | 51 | <immutable.version>2.7.1</immutable.version> |
tkogut | 8ad1127 | 2020-12-02 11:53:06 +0100 | [diff] [blame] | 52 | <spring.version>5.3.1</spring.version> |
| 53 | <spring-boot.version>2.4.0</spring-boot.version> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 54 | <commons-io.version>1.3.2</commons-io.version> |
| 55 | <commons-net.version>3.3</commons-net.version> |
Krzysztof Gajewski | 42c23b6 | 2020-12-15 11:19:51 +0100 | [diff] [blame] | 56 | <projectreactor.version>2020.0.2</projectreactor.version> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 57 | |
| 58 | <!-- LOGGING SETTINGS --> |
| 59 | <slf4j.version>1.7.25</slf4j.version> |
| 60 | <logback.version>1.2.3</logback.version> |
| 61 | |
| 62 | <!--TEST SETTINGS --> |
| 63 | <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile> |
Jan Malkiewicz | 5135fde | 2020-07-15 15:28:41 +0200 | [diff] [blame] | 64 | <junit-jupiter.version>5.5.2</junit-jupiter.version> |
ERIMROB | 42a2932 | 2020-08-14 13:39:24 +0100 | [diff] [blame] | 65 | <junit-platform.version>1.3.2</junit-platform.version> |
elinuxhenrik | addf3f1 | 2019-06-05 08:54:17 +0000 | [diff] [blame] | 66 | <mockito.version>2.23.4</mockito.version> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 67 | <testng.version>6.14.2</testng.version> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 68 | <jcraft.version>0.1.54</jcraft.version> |
ERIMROB | 42a2932 | 2020-08-14 13:39:24 +0100 | [diff] [blame] | 69 | <springfox.version>2.9.2</springfox.version> |
elinuxhenrik | addf3f1 | 2019-06-05 08:54:17 +0000 | [diff] [blame] | 70 | <awaitility.version>3.1.6</awaitility.version> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 71 | |
| 72 | <!-- Plugin versions --> |
| 73 | <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version> |
ERIMROB | 42a2932 | 2020-08-14 13:39:24 +0100 | [diff] [blame] | 74 | <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version> |
Krzysztof Gajewski | 42c23b6 | 2020-12-15 11:19:51 +0100 | [diff] [blame] | 75 | <docker-maven-plugin.version>1.2.1</docker-maven-plugin.version> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 76 | <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version> |
Hansen, Tony (th1395) | b788d2d | 2020-02-11 22:05:48 +0000 | [diff] [blame] | 77 | <sonar.coverage.jacoco.xmlReportPaths> |
| 78 | ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml |
| 79 | </sonar.coverage.jacoco.xmlReportPaths> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 80 | </properties> |
| 81 | |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 82 | <dependencyManagement> |
| 83 | <dependencies> |
| 84 | <dependency> |
| 85 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 86 | <artifactId>cbs-client</artifactId> |
| 87 | <version>${sdk.version}</version> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 91 | <artifactId>dmaap-client</artifactId> |
| 92 | <version>${sdk.version}</version> |
| 93 | </dependency> |
| 94 | <dependency> |
Remigiusz Janeczek | 3b6c273 | 2020-08-18 12:48:19 +0200 | [diff] [blame] | 95 | <groupId>org.onap.dcaegen2.services.sdk.security</groupId> |
| 96 | <artifactId>ssl</artifactId> |
| 97 | <version>${sdk.version}</version> |
| 98 | </dependency> |
| 99 | <dependency> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 100 | <groupId>org.apache.httpcomponents</groupId> |
| 101 | <artifactId>httpasyncclient</artifactId> |
| 102 | <version>${apache.httpcomponents.version}</version> |
| 103 | </dependency> |
| 104 | <dependency> |
elinuxhenrik | addf3f1 | 2019-06-05 08:54:17 +0000 | [diff] [blame] | 105 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 106 | <artifactId>common-dependency</artifactId> |
| 107 | <version>${sdk.version}</version> |
| 108 | </dependency> |
| 109 | <dependency> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 110 | <groupId>org.apache.commons</groupId> |
| 111 | <artifactId>commons-lang3</artifactId> |
| 112 | <version>${apache.commons.version}</version> |
| 113 | </dependency> |
| 114 | <dependency> |
| 115 | <groupId>org.immutables</groupId> |
| 116 | <artifactId>value</artifactId> |
| 117 | <version>${immutable.version}</version> |
| 118 | <scope>provided</scope> |
| 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>org.immutables</groupId> |
| 122 | <artifactId>gson</artifactId> |
| 123 | <version>${immutable.version}</version> |
| 124 | </dependency> |
| 125 | <dependency> |
| 126 | <groupId>org.springframework</groupId> |
| 127 | <artifactId>spring-beans</artifactId> |
| 128 | <version>${spring.version}</version> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>org.springframework</groupId> |
| 132 | <artifactId>spring-context</artifactId> |
| 133 | <version>${spring.version}</version> |
| 134 | </dependency> |
| 135 | <dependency> |
| 136 | <groupId>org.springframework</groupId> |
| 137 | <artifactId>spring-webflux</artifactId> |
| 138 | <version>${spring.version}</version> |
| 139 | </dependency> |
| 140 | <dependency> |
| 141 | <groupId>org.springframework.boot</groupId> |
| 142 | <artifactId>spring-boot-dependencies</artifactId> |
| 143 | <version>${spring-boot.version}</version> |
| 144 | <type>pom</type> |
| 145 | <scope>import</scope> |
| 146 | </dependency> |
| 147 | <dependency> |
| 148 | <groupId>commons-io</groupId> |
| 149 | <artifactId>commons-io</artifactId> |
| 150 | <version>${commons-io.version}</version> |
| 151 | </dependency> |
| 152 | <dependency> |
| 153 | <groupId>commons-net</groupId> |
| 154 | <artifactId>commons-net</artifactId> |
| 155 | <version>${commons-net.version}</version> |
| 156 | </dependency> |
| 157 | <dependency> |
| 158 | <groupId>com.jcraft</groupId> |
| 159 | <artifactId>jsch</artifactId> |
| 160 | <version>${jcraft.version}</version> |
| 161 | </dependency> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 162 | <dependency> |
| 163 | <groupId>ch.qos.logback</groupId> |
| 164 | <artifactId>logback-classic</artifactId> |
| 165 | <version>${logback.version}</version> |
| 166 | <scope>provided</scope> |
| 167 | </dependency> |
| 168 | <dependency> |
| 169 | <groupId>org.slf4j</groupId> |
| 170 | <artifactId>slf4j-api</artifactId> |
| 171 | <version>${slf4j.version}</version> |
| 172 | </dependency> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 173 | <dependency> |
| 174 | <groupId>org.junit.jupiter</groupId> |
| 175 | <artifactId>junit-jupiter-api</artifactId> |
| 176 | <version>${junit-jupiter.version}</version> |
| 177 | <scope>test</scope> |
| 178 | </dependency> |
| 179 | <dependency> |
| 180 | <groupId>org.junit.jupiter</groupId> |
| 181 | <artifactId>junit-jupiter-engine</artifactId> |
| 182 | <version>${junit-jupiter.version}</version> |
| 183 | <scope>test</scope> |
| 184 | </dependency> |
| 185 | <dependency> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 186 | <groupId>org.springframework</groupId> |
| 187 | <artifactId>spring-test</artifactId> |
| 188 | <version>${spring.version}</version> |
| 189 | <scope>test</scope> |
| 190 | </dependency> |
| 191 | <dependency> |
| 192 | <groupId>org.mockito</groupId> |
elinuxhenrik | addf3f1 | 2019-06-05 08:54:17 +0000 | [diff] [blame] | 193 | <artifactId>mockito-junit-jupiter</artifactId> |
| 194 | <version>${mockito.version}</version> |
| 195 | <scope>test</scope> |
| 196 | </dependency> |
| 197 | <dependency> |
| 198 | <groupId>org.mockito</groupId> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 199 | <artifactId>mockito-core</artifactId> |
| 200 | <version>${mockito.version}</version> |
| 201 | <scope>test</scope> |
| 202 | </dependency> |
| 203 | <dependency> |
| 204 | <groupId>org.testng</groupId> |
| 205 | <artifactId>testng</artifactId> |
| 206 | <version>${testng.version}</version> |
| 207 | <scope>test</scope> |
| 208 | </dependency> |
| 209 | <dependency> |
| 210 | <groupId>org.springframework.boot</groupId> |
| 211 | <artifactId>spring-boot-starter-test</artifactId> |
| 212 | <version>${spring-boot.version}</version> |
| 213 | <scope>test</scope> |
| 214 | </dependency> |
| 215 | <dependency> |
elinuxhenrik | addf3f1 | 2019-06-05 08:54:17 +0000 | [diff] [blame] | 216 | <groupId>org.awaitility</groupId> |
| 217 | <artifactId>awaitility</artifactId> |
| 218 | <version>${awaitility.version}</version> |
| 219 | <scope>test</scope> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 220 | </dependency> |
| 221 | |
| 222 | <!--REQUIRED TO GENERATE DOCUMENTATION --> |
| 223 | <dependency> |
| 224 | <groupId>io.springfox</groupId> |
| 225 | <artifactId>springfox-swagger2</artifactId> |
| 226 | <version>${springfox.version}</version> |
| 227 | </dependency> |
| 228 | <dependency> |
| 229 | <groupId>io.springfox</groupId> |
| 230 | <artifactId>springfox-swagger-ui</artifactId> |
| 231 | <version>${springfox.version}</version> |
| 232 | </dependency> |
Krzysztof Gajewski | 42c23b6 | 2020-12-15 11:19:51 +0100 | [diff] [blame] | 233 | <dependency> |
| 234 | <groupId>io.projectreactor</groupId> |
| 235 | <artifactId>reactor-bom</artifactId> |
| 236 | <version>${projectreactor.version}</version> |
| 237 | <type>pom</type> |
| 238 | <scope>import</scope> |
| 239 | </dependency> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 240 | </dependencies> |
| 241 | </dependencyManagement> |
| 242 | |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 243 | <modules> |
Vijay Venkatesh Kumar | 0ae7a7f | 2018-10-05 14:14:00 +0200 | [diff] [blame] | 244 | <module>datafile-app-server</module> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 245 | </modules> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 246 | |
| 247 | <build> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 248 | <pluginManagement> |
| 249 | <plugins> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 250 | <plugin> |
| 251 | <groupId>org.apache.maven.plugins</groupId> |
| 252 | <artifactId>maven-resources-plugin</artifactId> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 253 | <version>${maven-resources-plugin.version}</version> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 254 | <configuration> |
| 255 | <encoding>${project.build.sourceEncoding}</encoding> |
| 256 | </configuration> |
| 257 | </plugin> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 258 | <plugin> |
| 259 | <groupId>org.apache.maven.plugins</groupId> |
| 260 | <artifactId>maven-compiler-plugin</artifactId> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 261 | <version>3.7.0</version> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 262 | <configuration> |
| 263 | <source>${java.version}</source> |
| 264 | <target>${java.version}</target> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 265 | <encoding>${project.build.sourceEncoding}</encoding> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 266 | <showWarnings>true</showWarnings> |
| 267 | <showDeprecation>true</showDeprecation> |
| 268 | </configuration> |
| 269 | </plugin> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 270 | <plugin> |
| 271 | <groupId>org.apache.maven.plugins</groupId> |
| 272 | <artifactId>maven-surefire-plugin</artifactId> |
ERIMROB | 42a2932 | 2020-08-14 13:39:24 +0100 | [diff] [blame] | 273 | <version>${maven-surefire-plugin.version}</version> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 274 | <dependencies> |
| 275 | <dependency> |
| 276 | <groupId>org.junit.platform</groupId> |
| 277 | <artifactId>junit-platform-surefire-provider</artifactId> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 278 | <version>${junit-platform.version}</version> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 279 | </dependency> |
ERIMROB | 42a2932 | 2020-08-14 13:39:24 +0100 | [diff] [blame] | 280 | <dependency> |
| 281 | <groupId>org.junit.jupiter</groupId> |
| 282 | <artifactId>junit-jupiter-engine</artifactId> |
| 283 | <version>${junit-jupiter.version}</version> |
| 284 | </dependency> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 285 | </dependencies> |
| 286 | </plugin> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 287 | <plugin> |
| 288 | <groupId>com.spotify</groupId> |
| 289 | <artifactId>docker-maven-plugin</artifactId> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 290 | <version>${docker-maven-plugin.version}</version> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 291 | </plugin> |
| 292 | <plugin> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 293 | <groupId>org.springframework.boot</groupId> |
| 294 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 295 | <version>${spring-boot.version}</version> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 296 | <executions> |
| 297 | <execution> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 298 | <goals> |
elinuxhenrik | f394594 | 2018-09-14 15:49:10 +0200 | [diff] [blame] | 299 | <goal>repackage</goal> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 300 | </goals> |
| 301 | </execution> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 302 | </executions> |
| 303 | </plugin> |
| 304 | <plugin> |
| 305 | <groupId>org.apache.maven.plugins</groupId> |
| 306 | <artifactId>maven-deploy-plugin</artifactId> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 307 | </plugin> |
pwielebs | 8a84a9d | 2019-01-07 13:48:18 +0100 | [diff] [blame] | 308 | <plugin> |
| 309 | <groupId>org.apache.maven.plugins</groupId> |
| 310 | <artifactId>maven-enforcer-plugin</artifactId> |
| 311 | <configuration> |
| 312 | <skip>true</skip> |
| 313 | </configuration> |
| 314 | </plugin> |
PatrikBuhr | 1ee111c | 2019-04-12 08:24:36 +0000 | [diff] [blame] | 315 | <plugin> |
| 316 | <groupId>pl.project13.maven</groupId> |
| 317 | <artifactId>git-commit-id-plugin</artifactId> |
elinuxhenrik | 215ab93 | 2019-04-17 11:07:48 +0200 | [diff] [blame] | 318 | <version>${git-commit-id-plugin.version}</version> |
PatrikBuhr | 1ee111c | 2019-04-12 08:24:36 +0000 | [diff] [blame] | 319 | </plugin> |
PatrikBuhr | 30eab2b | 2019-05-29 08:31:52 +0000 | [diff] [blame] | 320 | <plugin> |
| 321 | <groupId>net.revelc.code.formatter</groupId> |
| 322 | <artifactId>formatter-maven-plugin</artifactId> |
| 323 | <version>2.8.1</version> |
| 324 | <configuration> |
| 325 | <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile> |
| 326 | </configuration> |
tkogut | 8ad1127 | 2020-12-02 11:53:06 +0100 | [diff] [blame] | 327 | <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format |
PatrikBuhr | 30eab2b | 2019-05-29 08:31:52 +0000 | [diff] [blame] | 328 | to rewrite source files use mvn formatter:validate to validate source files --> |
| 329 | </plugin> |
| 330 | <plugin> |
| 331 | <groupId>com.diffplug.spotless</groupId> |
| 332 | <artifactId>spotless-maven-plugin</artifactId> |
| 333 | <version>1.18.0</version> |
| 334 | <configuration> |
| 335 | <java> |
| 336 | <removeUnusedImports/> |
| 337 | <importOrder> |
| 338 | <order>com,java,javax,org</order> |
| 339 | </importOrder> |
| 340 | </java> |
| 341 | </configuration> |
| 342 | <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use |
| 343 | mvn spotless:apply to rewrite source files use mvn spotless:check to validate |
| 344 | source files --> |
| 345 | </plugin> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 346 | </plugins> |
| 347 | </pluginManagement> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 348 | </build> |
elinuxhenrik | d661dbc | 2018-08-17 12:34:58 +0200 | [diff] [blame] | 349 | </project> |