sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
egernug | b0ee038 | 2024-04-17 10:08:38 +0100 | [diff] [blame] | 4 | Copyright (c) 2021-2024 Nordix Foundation. |
puthuparambil.aditya | 08fe971 | 2021-07-13 11:52:13 +0100 | [diff] [blame] | 5 | Modifications Copyright (C) 2021 Bell Canada. |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +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 |
lukegleeson | b208aeb | 2021-07-08 16:48:15 +0100 | [diff] [blame] | 10 | |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 11 | http://www.apache.org/licenses/LICENSE-2.0 |
lukegleeson | b208aeb | 2021-07-08 16:48:15 +0100 | [diff] [blame] | 12 | |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 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. |
lukegleeson | b208aeb | 2021-07-08 16:48:15 +0100 | [diff] [blame] | 18 | |
| 19 | SPDX-License-Identifier: Apache-2.0 |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 20 | ============LICENSE_END========================================================= |
ToineSiebelink | 4cbd60b | 2021-09-30 16:53:42 +0100 | [diff] [blame] | 21 | --> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 22 | |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 23 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
puthuparambil.aditya | 08fe971 | 2021-07-13 11:52:13 +0100 | [diff] [blame] | 24 | 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"> |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 26 | <modelVersion>4.0.0</modelVersion> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 27 | |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 28 | <organization> |
| 29 | <name>ONAP - CPS</name> |
| 30 | <url>http://www.onap.org/</url> |
| 31 | </organization> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 32 | |
egernug | 5e4eb8c | 2024-06-21 12:53:06 +0100 | [diff] [blame] | 33 | <modules> |
| 34 | <module>dmi-service</module> |
Sourabh Sourabh | b5d7b53 | 2024-11-21 10:27:25 +0000 | [diff] [blame] | 35 | <module>dmi-stub</module> |
egernug | 5e4eb8c | 2024-06-21 12:53:06 +0100 | [diff] [blame] | 36 | </modules> |
sourabh_sourabh | d7ed9f0 | 2024-11-18 13:22:35 +0000 | [diff] [blame] | 37 | |
sourabh_sourabh | 3f72be5 | 2024-11-29 16:02:35 +0000 | [diff] [blame] | 38 | <groupId>org.onap.cps.ncmp-dmi-plugin</groupId> |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 39 | <artifactId>ncmp-dmi-plugin</artifactId> |
sourabh_sourabh | 9ad11f2 | 2024-11-20 14:43:25 +0000 | [diff] [blame] | 40 | <version>1.6.0-SNAPSHOT</version> |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 41 | <name>ncmp-dmi-plugin</name> |
| 42 | <description>DMI Plugin Service</description> |
sourabh_sourabh | d7ed9f0 | 2024-11-18 13:22:35 +0000 | [diff] [blame] | 43 | <packaging>pom</packaging> |
egernug | d59b5ef | 2023-10-19 11:23:13 +0100 | [diff] [blame] | 44 | |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 45 | <properties> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 46 | <!-- 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_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 50 | <base.image>${docker.pull.registry}/onap/integration-java17:12.0.0</base.image> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 51 | <image.tag>${project.version}-${maven.build.timestamp}</image.tag> |
| 52 | |
| 53 | <!-- Project Versioning and Timestamp --> |
sourabh_sourabh | f501c40 | 2024-11-26 13:45:56 +0000 | [diff] [blame] | 54 | <cps.groupId>org.onap.cps</cps.groupId> |
mpriyank | 0e0e352 | 2024-11-29 13:57:42 +0000 | [diff] [blame] | 55 | <cps.version>3.5.5</cps.version> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 56 | <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_sourabh | 38becbc | 2024-11-20 10:37:59 +0000 | [diff] [blame] | 66 | <maven.deploy.skip>false</maven.deploy.skip> |
| 67 | <maven.install.skip>false</maven.install.skip> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 68 | |
| 69 | <!-- ONAP Nexus Repository Configuration --> |
| 70 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 71 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 72 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 73 | </properties> |
| 74 | |
| 75 | <build> |
| 76 | <plugins> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 77 | <!-- 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_sourabh | f501c40 | 2024-11-26 13:45:56 +0000 | [diff] [blame] | 92 | <groupId>${cps.groupId}</groupId> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 93 | <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_sourabh | 3f72be5 | 2024-11-29 16:02:35 +0000 | [diff] [blame] | 102 | <inherited>true</inherited> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 103 | </execution> |
| 104 | </executions> |
| 105 | </plugin> |
| 106 | <!-- Maven Checkstyle Plugin --> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 107 | <plugin> |
| 108 | <groupId>org.apache.maven.plugins</groupId> |
| 109 | <artifactId>maven-checkstyle-plugin</artifactId> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 110 | <version>${maven.checkstyle.plugin.version}</version> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 111 | <executions> |
| 112 | <execution> |
| 113 | <id>onap-license</id> |
| 114 | <goals> |
| 115 | <goal>check</goal> |
| 116 | </goals> |
| 117 | <phase>process-sources</phase> |
| 118 | <configuration> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 119 | <configLocation>${checkstyle.config.location}/checkstyle/cps-checkstyle/check-license.xml</configLocation> |
| 120 | <includeResources>true</includeResources> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 121 | <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_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 132 | <id>cps-java-style</id> |
| 133 | <goals> |
| 134 | <goal>check</goal> |
| 135 | </goals> |
| 136 | <phase>process-sources</phase> |
| 137 | <configuration> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 138 | <configLocation>${checkstyle.config.location}/checkstyle/cps-checkstyle/cps-java-style.xml</configLocation> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 139 | <sourceDirectories> |
| 140 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 141 | </sourceDirectories> |
| 142 | <includeResources>true</includeResources> |
| 143 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 144 | <includeTestResources>true</includeTestResources> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 145 | <consoleOutput>false</consoleOutput> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 146 | <violationSeverity>warning</violationSeverity> |
| 147 | <failOnViolation>true</failOnViolation> |
| 148 | </configuration> |
| 149 | </execution> |
| 150 | </executions> |
| 151 | <dependencies> |
| 152 | <dependency> |
sourabh_sourabh | f501c40 | 2024-11-26 13:45:56 +0000 | [diff] [blame] | 153 | <groupId>${cps.groupId}</groupId> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 154 | <artifactId>checkstyle</artifactId> |
| 155 | <version>${cps.version}</version> |
| 156 | </dependency> |
| 157 | </dependencies> |
| 158 | </plugin> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 159 | <plugin> |
| 160 | <groupId>org.apache.maven.plugins</groupId> |
| 161 | <artifactId>maven-deploy-plugin</artifactId> |
| 162 | <version>${maven.deploy.plugin.version}</version> |
| 163 | </plugin> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 164 | </plugins> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 165 | <pluginManagement> |
| 166 | <plugins> |
| 167 | <plugin> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 168 | <groupId>org.apache.maven.plugins</groupId> |
| 169 | <artifactId>maven-compiler-plugin</artifactId> |
| 170 | <version>${maven.compiler.plugin.version}</version> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 171 | <configuration> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 172 | <encoding>${project.build.sourceEncoding}</encoding> |
| 173 | <source>17</source> |
| 174 | <target>17</target> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 175 | </configuration> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 176 | </plugin> |
| 177 | </plugins> |
| 178 | </pluginManagement> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 179 | </build> |
| 180 | |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 181 | |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 182 | <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_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 194 | |
lukegleeson | b208aeb | 2021-07-08 16:48:15 +0100 | [diff] [blame] | 195 | </project> |