blob: b40beb84801454d87e258ca6490a0677ae54d02a [file] [log] [blame]
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +01001<?xml version="1.0" encoding="UTF-8"?>
DylanB95ESTb5a23832021-06-02 19:45:46 +01002<!--
3 ============LICENSE_START=======================================================
egernugb0ee0382024-04-17 10:08:38 +01004 Copyright (c) 2021-2024 Nordix Foundation.
puthuparambil.aditya08fe9712021-07-13 11:52:13 +01005 Modifications Copyright (C) 2021 Bell Canada.
DylanB95ESTb5a23832021-06-02 19:45:46 +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
lukegleesonb208aeb2021-07-08 16:48:15 +010010
DylanB95ESTb5a23832021-06-02 19:45:46 +010011 http://www.apache.org/licenses/LICENSE-2.0
lukegleesonb208aeb2021-07-08 16:48:15 +010012
DylanB95ESTb5a23832021-06-02 19:45:46 +010013 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.
lukegleesonb208aeb2021-07-08 16:48:15 +010018
19 SPDX-License-Identifier: Apache-2.0
DylanB95ESTb5a23832021-06-02 19:45:46 +010020 ============LICENSE_END=========================================================
ToineSiebelink4cbd60b2021-09-30 16:53:42 +010021-->
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +010022
DylanB95ESTb5a23832021-06-02 19:45:46 +010023<project xmlns="http://maven.apache.org/POM/4.0.0"
puthuparambil.aditya08fe9712021-07-13 11:52:13 +010024 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
DylanB95ESTb5a23832021-06-02 19:45:46 +010026 <modelVersion>4.0.0</modelVersion>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +000027
DylanB95ESTb5a23832021-06-02 19:45:46 +010028 <organization>
29 <name>ONAP - CPS</name>
30 <url>http://www.onap.org/</url>
31 </organization>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +000032
egernug5e4eb8c2024-06-21 12:53:06 +010033 <modules>
34 <module>dmi-service</module>
Sourabh Sourabhb5d7b532024-11-21 10:27:25 +000035 <module>dmi-stub</module>
egernug5e4eb8c2024-06-21 12:53:06 +010036 </modules>
sourabh_sourabhd7ed9f02024-11-18 13:22:35 +000037
sourabh_sourabh3f72be52024-11-29 16:02:35 +000038 <groupId>org.onap.cps.ncmp-dmi-plugin</groupId>
DylanB95ESTb5a23832021-06-02 19:45:46 +010039 <artifactId>ncmp-dmi-plugin</artifactId>
sourabh_sourabh9ad11f22024-11-20 14:43:25 +000040 <version>1.6.0-SNAPSHOT</version>
DylanB95ESTb5a23832021-06-02 19:45:46 +010041 <name>ncmp-dmi-plugin</name>
42 <description>DMI Plugin Service</description>
sourabh_sourabhd7ed9f02024-11-18 13:22:35 +000043 <packaging>pom</packaging>
egernugd59b5ef2023-10-19 11:23:13 +010044
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +010045 <properties>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +000046 <!-- Set UTF-8 encoding for consistent builds across platforms -->
47 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48
49 <!-- Application and Docker Configuration -->
sourabh_sourabh6c877ba2024-11-13 16:48:46 +000050 <base.image>${docker.pull.registry}/onap/integration-java17:12.0.0</base.image>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +000051 <image.tag>${project.version}-${maven.build.timestamp}</image.tag>
52
53 <!-- Project Versioning and Timestamp -->
sourabh_sourabhf501c402024-11-26 13:45:56 +000054 <cps.groupId>org.onap.cps</cps.groupId>
mpriyank0e0e3522024-11-29 13:57:42 +000055 <cps.version>3.5.5</cps.version>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +000056 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
57
58 <!-- Code Quality and Dependency Management -->
59 <checkstyle.config.location>${project.basedir}</checkstyle.config.location>
60 <maven.checkstyle.plugin.version>3.3.1</maven.checkstyle.plugin.version>
61 <maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version>
62 <maven.compiler.source>17</maven.compiler.source>
63 <maven.compiler.target>17</maven.compiler.target>
64 <maven.dependency.plugin.version>3.7.1</maven.dependency.plugin.version>
65 <maven.deploy.plugin.version>3.1.2</maven.deploy.plugin.version>
sourabh_sourabh38becbc2024-11-20 10:37:59 +000066 <maven.deploy.skip>false</maven.deploy.skip>
67 <maven.install.skip>false</maven.install.skip>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +000068
69 <!-- ONAP Nexus Repository Configuration -->
70 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +000071 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
72 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +010073 </properties>
74
75 <build>
76 <plugins>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +000077 <!-- Maven Dependency Plugin for unpacking resources only in the root module -->
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-dependency-plugin</artifactId>
81 <version>${maven.dependency.plugin.version}</version>
82 <executions>
83 <execution>
84 <id>unpack-checkstyle-config</id>
85 <phase>initialize</phase>
86 <goals>
87 <goal>unpack</goal>
88 </goals>
89 <configuration>
90 <artifactItems>
91 <artifactItem>
sourabh_sourabhf501c402024-11-26 13:45:56 +000092 <groupId>${cps.groupId}</groupId>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +000093 <artifactId>checkstyle</artifactId>
94 <version>${cps.version}</version>
95 <type>jar</type>
96 <overWrite>true</overWrite>
97 <outputDirectory>${project.basedir}/checkstyle</outputDirectory>
98 <includes>cps-checkstyle/**</includes>
99 </artifactItem>
100 </artifactItems>
101 </configuration>
sourabh_sourabh3f72be52024-11-29 16:02:35 +0000102 <inherited>true</inherited>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +0000103 </execution>
104 </executions>
105 </plugin>
106 <!-- Maven Checkstyle Plugin -->
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +0100107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-checkstyle-plugin</artifactId>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +0000110 <version>${maven.checkstyle.plugin.version}</version>
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +0100111 <executions>
112 <execution>
113 <id>onap-license</id>
114 <goals>
115 <goal>check</goal>
116 </goals>
117 <phase>process-sources</phase>
118 <configuration>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +0000119 <configLocation>${checkstyle.config.location}/checkstyle/cps-checkstyle/check-license.xml</configLocation>
120 <includeResources>true</includeResources>
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +0100121 <includeTestSourceDirectory>true</includeTestSourceDirectory>
122 <includeTestResources>false</includeTestResources>
123 <sourceDirectories>
124 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
125 </sourceDirectories>
126 <consoleOutput>false</consoleOutput>
127 <violationSeverity>warning</violationSeverity>
128 <failOnViolation>true</failOnViolation>
129 </configuration>
130 </execution>
131 <execution>
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +0100132 <id>cps-java-style</id>
133 <goals>
134 <goal>check</goal>
135 </goals>
136 <phase>process-sources</phase>
137 <configuration>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +0000138 <configLocation>${checkstyle.config.location}/checkstyle/cps-checkstyle/cps-java-style.xml</configLocation>
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +0100139 <sourceDirectories>
140 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
141 </sourceDirectories>
142 <includeResources>true</includeResources>
143 <includeTestSourceDirectory>true</includeTestSourceDirectory>
144 <includeTestResources>true</includeTestResources>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +0000145 <consoleOutput>false</consoleOutput>
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +0100146 <violationSeverity>warning</violationSeverity>
147 <failOnViolation>true</failOnViolation>
148 </configuration>
149 </execution>
150 </executions>
151 <dependencies>
152 <dependency>
sourabh_sourabhf501c402024-11-26 13:45:56 +0000153 <groupId>${cps.groupId}</groupId>
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +0100154 <artifactId>checkstyle</artifactId>
155 <version>${cps.version}</version>
156 </dependency>
157 </dependencies>
158 </plugin>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +0000159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-deploy-plugin</artifactId>
162 <version>${maven.deploy.plugin.version}</version>
163 </plugin>
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +0100164 </plugins>
sourabh_sourabh6c877ba2024-11-13 16:48:46 +0000165 <pluginManagement>
166 <plugins>
167 <plugin>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +0000168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-compiler-plugin</artifactId>
170 <version>${maven.compiler.plugin.version}</version>
sourabh_sourabh6c877ba2024-11-13 16:48:46 +0000171 <configuration>
sourabh_sourabh436a8dc2024-11-12 13:12:02 +0000172 <encoding>${project.build.sourceEncoding}</encoding>
173 <source>17</source>
174 <target>17</target>
sourabh_sourabh6c877ba2024-11-13 16:48:46 +0000175 </configuration>
sourabh_sourabh6c877ba2024-11-13 16:48:46 +0000176 </plugin>
177 </plugins>
178 </pluginManagement>
sourabh_sourabh1e1f49f2024-10-22 14:00:29 +0100179 </build>
180
sourabh_sourabh6c877ba2024-11-13 16:48:46 +0000181
sourabh_sourabh436a8dc2024-11-12 13:12:02 +0000182 <distributionManagement>
183 <repository>
184 <id>ecomp-releases</id>
185 <name>ECOMP Release Repository</name>
186 <url>${onap.nexus.url}${releaseNexusPath}</url>
187 </repository>
188 <snapshotRepository>
189 <id>ecomp-snapshots</id>
190 <name>ECOMP Snapshot Repository</name>
191 <url>${onap.nexus.url}${snapshotNexusPath}</url>
192 </snapshotRepository>
193 </distributionManagement>
sourabh_sourabh6c877ba2024-11-13 16:48:46 +0000194
lukegleesonb208aeb2021-07-08 16:48:15 +0100195</project>