blob: 767cbfd7abbdbe5953fb0b4a807478f3a07b8964 [file] [log] [blame]
eikrwaq5eb9cfd2018-05-22 09:48:30 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
Pamela Dragosh54dc8c42021-01-26 07:52:57 -05004 Modifications Copyright (C) 2020-2021 AT&T. All rights reserved.
liamfallon12332142021-07-15 14:59:06 +01005 Modifications Copyright (C) 2021 Nordix Foundation.
eikrwaq5eb9cfd2018-05-22 09:48:30 +01006 ================================================================================
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-->
liamfallone2f4c022018-10-31 10:50:49 +000022<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">
eikrwaq5eb9cfd2018-05-22 09:48:30 +010023 <modelVersion>4.0.0</modelVersion>
24 <parent>
25 <groupId>org.onap.oparent</groupId>
26 <artifactId>oparent</artifactId>
liamfallonc0b47fe2022-08-28 19:37:25 +010027 <!-- When changing, also change the oparent.version property -->
liamfallona3072612022-12-14 15:35:29 +000028 <version>3.3.3</version>
HOCKLA0278ad62019-12-04 11:38:24 -060029 <relativePath />
eikrwaq5eb9cfd2018-05-22 09:48:30 +010030 </parent>
31 <groupId>org.onap.policy.parent</groupId>
32 <artifactId>policy-parent</artifactId>
waynedunican30bda122024-02-16 13:07:06 +000033 <version>4.1.2-SNAPSHOT</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +010034 <packaging>pom</packaging>
35
Pamela Dragoshc6f09d32018-08-22 13:58:13 -040036 <properties>
liamfallona3072612022-12-14 15:35:29 +000037 <oparent.version>3.3.3</oparent.version>
Pamela Dragoshc6f09d32018-08-22 13:58:13 -040038 </properties>
eikrwaq5eb9cfd2018-05-22 09:48:30 +010039
40 <modules>
liamfallon12332142021-07-15 14:59:06 +010041 <module>resources</module>
eikrwaq5eb9cfd2018-05-22 09:48:30 +010042 <module>integration</module>
43 </modules>
Pamela Dragoshd3e39032019-10-04 16:45:50 -040044
liamfallona9870862022-12-14 11:38:26 +000045 <dependencyManagement>
46 <dependencies>
47 <dependency>
48 <groupId>org.onap.oparent</groupId>
49 <artifactId>dependencies</artifactId>
50 <version>${oparent.version}</version>
51 <type>pom</type>
52 <scope>import</scope>
53 </dependency>
54 </dependencies>
55 </dependencyManagement>
56
Pamela Dragoshd3e39032019-10-04 16:45:50 -040057 <build>
58 <pluginManagement>
59 <plugins>
60 <!--
61 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
62 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
63 Use in combination to rewrite code and imports, then checkstyle
64
Pamela Dragosh4b48d372019-10-17 10:28:38 -040065 Be sure to override ${project.parent.basedir} in order to find the XML file
66
liamfallon7c5702f2022-09-16 20:06:13 +010067 mvn formatter:format spotless:apply process-sources -Dproject.parent.basedir=<basedir>
Pamela Dragoshd3e39032019-10-04 16:45:50 -040068 -->
69 <plugin>
70 <groupId>net.revelc.code.formatter</groupId>
71 <artifactId>formatter-maven-plugin</artifactId>
HOCKLA4b7e2702019-12-10 09:54:48 -060072 <version>2.11.0</version>
Pamela Dragoshd3e39032019-10-04 16:45:50 -040073 <configuration>
74 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
75 </configuration>
76 <!-- https://code.revelc.net/formatter-maven-plugin/
77 use mvn formatter:format to rewrite source files
78 use mvn formatter:validate to validate source files -->
79 </plugin>
80 <plugin>
81 <groupId>com.diffplug.spotless</groupId>
82 <artifactId>spotless-maven-plugin</artifactId>
HOCKLA4b7e2702019-12-10 09:54:48 -060083 <version>1.26.1</version>
Pamela Dragoshd3e39032019-10-04 16:45:50 -040084 <configuration>
85 <java>
86 <importOrder>
87 <order>com,java,javax,org</order>
88 </importOrder>
89 </java>
90 </configuration>
91 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
92 use mvn spotless:apply to rewrite source files
93 use mvn spotless:check to validate source files -->
94 </plugin>
95 </plugins>
96 </pluginManagement>
97 </build>
98
Pamela Dragoshfb1af892018-08-27 13:51:57 -040099</project>