blob: 42eb180bff3938d42db2ddf2c1f55803b5033d12 [file] [log] [blame]
eikrwaq5eb9cfd2018-05-22 09:48:30 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 ================================================================================
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 SPDX-License-Identifier: Apache-2.0
18 ============LICENSE_END=========================================================
19-->
liamfallone2f4c022018-10-31 10:50:49 +000020<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 +010021 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <groupId>org.onap.oparent</groupId>
24 <artifactId>oparent</artifactId>
Pamela Dragoshde8c0922019-09-03 14:42:44 -040025 <version>2.1.0</version>
HOCKLA0278ad62019-12-04 11:38:24 -060026 <relativePath />
eikrwaq5eb9cfd2018-05-22 09:48:30 +010027 </parent>
28 <groupId>org.onap.policy.parent</groupId>
29 <artifactId>policy-parent</artifactId>
HOCKLA0278ad62019-12-04 11:38:24 -060030 <version>3.1.1-SNAPSHOT</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +010031 <packaging>pom</packaging>
32
Pamela Dragoshc6f09d32018-08-22 13:58:13 -040033 <properties>
Pamela Dragoshde8c0922019-09-03 14:42:44 -040034 <oparent.version>2.1.0</oparent.version>
Pamela Dragoshc6f09d32018-08-22 13:58:13 -040035 </properties>
eikrwaq5eb9cfd2018-05-22 09:48:30 +010036
37 <modules>
38 <module>integration</module>
39 </modules>
Pamela Dragoshd3e39032019-10-04 16:45:50 -040040
41 <build>
42 <pluginManagement>
43 <plugins>
44 <!--
45 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
46 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
47 Use in combination to rewrite code and imports, then checkstyle
48
Pamela Dragosh4b48d372019-10-17 10:28:38 -040049 Be sure to override ${project.parent.basedir} in order to find the XML file
50
51 mvn formatter:format spotless:apply process-sources -Dproject.parent.basedir=TODO
Pamela Dragoshd3e39032019-10-04 16:45:50 -040052 -->
53 <plugin>
54 <groupId>net.revelc.code.formatter</groupId>
55 <artifactId>formatter-maven-plugin</artifactId>
56 <version>2.8.1</version>
57 <configuration>
58 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
59 </configuration>
60 <!-- https://code.revelc.net/formatter-maven-plugin/
61 use mvn formatter:format to rewrite source files
62 use mvn formatter:validate to validate source files -->
63 </plugin>
64 <plugin>
65 <groupId>com.diffplug.spotless</groupId>
66 <artifactId>spotless-maven-plugin</artifactId>
67 <version>1.18.0</version>
68 <configuration>
69 <java>
70 <importOrder>
71 <order>com,java,javax,org</order>
72 </importOrder>
73 </java>
74 </configuration>
75 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
76 use mvn spotless:apply to rewrite source files
77 use mvn spotless:check to validate source files -->
78 </plugin>
79 </plugins>
80 </pluginManagement>
81 </build>
82
Pamela Dragoshfb1af892018-08-27 13:51:57 -040083</project>