eikrwaq | 5eb9cfd | 2018-05-22 09:48:30 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
Pamela Dragosh | 54dc8c4 | 2021-01-26 07:52:57 -0500 | [diff] [blame] | 4 | Modifications Copyright (C) 2020-2021 AT&T. All rights reserved. |
liamfallon | 1233214 | 2021-07-15 14:59:06 +0100 | [diff] [blame] | 5 | Modifications Copyright (C) 2021 Nordix Foundation. |
eikrwaq | 5eb9cfd | 2018-05-22 09:48:30 +0100 | [diff] [blame] | 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | |
| 19 | SPDX-License-Identifier: Apache-2.0 |
| 20 | ============LICENSE_END========================================================= |
| 21 | --> |
liamfallon | e2f4c02 | 2018-10-31 10:50:49 +0000 | [diff] [blame] | 22 | <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"> |
eikrwaq | 5eb9cfd | 2018-05-22 09:48:30 +0100 | [diff] [blame] | 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | <parent> |
| 25 | <groupId>org.onap.oparent</groupId> |
| 26 | <artifactId>oparent</artifactId> |
Dragosh, Pamela (pd1248) | df10f57 | 2021-07-29 10:23:21 -0400 | [diff] [blame] | 27 | <version>3.2.1</version> |
HOCKLA | 0278ad6 | 2019-12-04 11:38:24 -0600 | [diff] [blame] | 28 | <relativePath /> |
eikrwaq | 5eb9cfd | 2018-05-22 09:48:30 +0100 | [diff] [blame] | 29 | </parent> |
| 30 | <groupId>org.onap.policy.parent</groupId> |
| 31 | <artifactId>policy-parent</artifactId> |
liamfallon | 8426715 | 2022-02-26 10:45:05 +0000 | [diff] [blame] | 32 | <version>3.4.5-SNAPSHOT</version> |
eikrwaq | 5eb9cfd | 2018-05-22 09:48:30 +0100 | [diff] [blame] | 33 | <packaging>pom</packaging> |
| 34 | |
Pamela Dragosh | c6f09d3 | 2018-08-22 13:58:13 -0400 | [diff] [blame] | 35 | <properties> |
Dragosh, Pamela (pd1248) | df10f57 | 2021-07-29 10:23:21 -0400 | [diff] [blame] | 36 | <oparent.version>3.2.1</oparent.version> |
Pamela Dragosh | c6f09d3 | 2018-08-22 13:58:13 -0400 | [diff] [blame] | 37 | </properties> |
eikrwaq | 5eb9cfd | 2018-05-22 09:48:30 +0100 | [diff] [blame] | 38 | |
| 39 | <modules> |
liamfallon | 1233214 | 2021-07-15 14:59:06 +0100 | [diff] [blame] | 40 | <module>resources</module> |
eikrwaq | 5eb9cfd | 2018-05-22 09:48:30 +0100 | [diff] [blame] | 41 | <module>integration</module> |
| 42 | </modules> |
Pamela Dragosh | d3e3903 | 2019-10-04 16:45:50 -0400 | [diff] [blame] | 43 | |
| 44 | <build> |
| 45 | <pluginManagement> |
| 46 | <plugins> |
| 47 | <!-- |
| 48 | Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter |
| 49 | Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order |
| 50 | Use in combination to rewrite code and imports, then checkstyle |
| 51 | |
Pamela Dragosh | 4b48d37 | 2019-10-17 10:28:38 -0400 | [diff] [blame] | 52 | Be sure to override ${project.parent.basedir} in order to find the XML file |
| 53 | |
| 54 | mvn formatter:format spotless:apply process-sources -Dproject.parent.basedir=TODO |
Pamela Dragosh | d3e3903 | 2019-10-04 16:45:50 -0400 | [diff] [blame] | 55 | --> |
| 56 | <plugin> |
| 57 | <groupId>net.revelc.code.formatter</groupId> |
| 58 | <artifactId>formatter-maven-plugin</artifactId> |
HOCKLA | 4b7e270 | 2019-12-10 09:54:48 -0600 | [diff] [blame] | 59 | <version>2.11.0</version> |
Pamela Dragosh | d3e3903 | 2019-10-04 16:45:50 -0400 | [diff] [blame] | 60 | <configuration> |
| 61 | <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile> |
| 62 | </configuration> |
| 63 | <!-- https://code.revelc.net/formatter-maven-plugin/ |
| 64 | use mvn formatter:format to rewrite source files |
| 65 | use mvn formatter:validate to validate source files --> |
| 66 | </plugin> |
| 67 | <plugin> |
| 68 | <groupId>com.diffplug.spotless</groupId> |
| 69 | <artifactId>spotless-maven-plugin</artifactId> |
HOCKLA | 4b7e270 | 2019-12-10 09:54:48 -0600 | [diff] [blame] | 70 | <version>1.26.1</version> |
Pamela Dragosh | d3e3903 | 2019-10-04 16:45:50 -0400 | [diff] [blame] | 71 | <configuration> |
| 72 | <java> |
| 73 | <importOrder> |
| 74 | <order>com,java,javax,org</order> |
| 75 | </importOrder> |
| 76 | </java> |
| 77 | </configuration> |
| 78 | <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven |
| 79 | use mvn spotless:apply to rewrite source files |
| 80 | use mvn spotless:check to validate source files --> |
| 81 | </plugin> |
| 82 | </plugins> |
| 83 | </pluginManagement> |
| 84 | </build> |
| 85 | |
Pamela Dragosh | fb1af89 | 2018-08-27 13:51:57 -0400 | [diff] [blame] | 86 | </project> |