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> |
egernug | e703e34 | 2024-07-08 10:59:08 +0100 | [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 | |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 38 | <groupId>org.onap.cps</groupId> |
| 39 | <artifactId>ncmp-dmi-plugin</artifactId> |
sourabh_sourabh | 33f9afa | 2024-11-19 13:36:26 +0000 | [diff] [blame] | 40 | <version>3.5.5-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 --> |
| 54 | <cps.version>3.5.5-SNAPSHOT</cps.version> |
| 55 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
| 56 | |
| 57 | <!-- Code Quality and Dependency Management --> |
| 58 | <checkstyle.config.location>${project.basedir}</checkstyle.config.location> |
| 59 | <maven.checkstyle.plugin.version>3.3.1</maven.checkstyle.plugin.version> |
| 60 | <maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version> |
| 61 | <maven.compiler.source>17</maven.compiler.source> |
| 62 | <maven.compiler.target>17</maven.compiler.target> |
| 63 | <maven.dependency.plugin.version>3.7.1</maven.dependency.plugin.version> |
| 64 | <maven.deploy.plugin.version>3.1.2</maven.deploy.plugin.version> |
| 65 | |
| 66 | <!-- ONAP Nexus Repository Configuration --> |
| 67 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 68 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 69 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 70 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 71 | </properties> |
| 72 | |
| 73 | <build> |
| 74 | <plugins> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 75 | <!-- Maven Dependency Plugin for unpacking resources only in the root module --> |
| 76 | <plugin> |
| 77 | <groupId>org.apache.maven.plugins</groupId> |
| 78 | <artifactId>maven-dependency-plugin</artifactId> |
| 79 | <version>${maven.dependency.plugin.version}</version> |
| 80 | <executions> |
| 81 | <execution> |
| 82 | <id>unpack-checkstyle-config</id> |
| 83 | <phase>initialize</phase> |
| 84 | <goals> |
| 85 | <goal>unpack</goal> |
| 86 | </goals> |
| 87 | <configuration> |
| 88 | <artifactItems> |
| 89 | <artifactItem> |
| 90 | <groupId>${project.groupId}</groupId> |
| 91 | <artifactId>checkstyle</artifactId> |
| 92 | <version>${cps.version}</version> |
| 93 | <type>jar</type> |
| 94 | <overWrite>true</overWrite> |
| 95 | <outputDirectory>${project.basedir}/checkstyle</outputDirectory> |
| 96 | <includes>cps-checkstyle/**</includes> |
| 97 | </artifactItem> |
| 98 | </artifactItems> |
| 99 | </configuration> |
| 100 | <inherited>false</inherited> |
| 101 | </execution> |
| 102 | </executions> |
| 103 | </plugin> |
| 104 | <!-- Maven Checkstyle Plugin --> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 105 | <plugin> |
| 106 | <groupId>org.apache.maven.plugins</groupId> |
| 107 | <artifactId>maven-checkstyle-plugin</artifactId> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 108 | <version>${maven.checkstyle.plugin.version}</version> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 109 | <executions> |
| 110 | <execution> |
| 111 | <id>onap-license</id> |
| 112 | <goals> |
| 113 | <goal>check</goal> |
| 114 | </goals> |
| 115 | <phase>process-sources</phase> |
| 116 | <configuration> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 117 | <configLocation>${checkstyle.config.location}/checkstyle/cps-checkstyle/check-license.xml</configLocation> |
| 118 | <includeResources>true</includeResources> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 119 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 120 | <includeTestResources>false</includeTestResources> |
| 121 | <sourceDirectories> |
| 122 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 123 | </sourceDirectories> |
| 124 | <consoleOutput>false</consoleOutput> |
| 125 | <violationSeverity>warning</violationSeverity> |
| 126 | <failOnViolation>true</failOnViolation> |
| 127 | </configuration> |
| 128 | </execution> |
| 129 | <execution> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 130 | <id>cps-java-style</id> |
| 131 | <goals> |
| 132 | <goal>check</goal> |
| 133 | </goals> |
| 134 | <phase>process-sources</phase> |
| 135 | <configuration> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 136 | <configLocation>${checkstyle.config.location}/checkstyle/cps-checkstyle/cps-java-style.xml</configLocation> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 137 | <sourceDirectories> |
| 138 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 139 | </sourceDirectories> |
| 140 | <includeResources>true</includeResources> |
| 141 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 142 | <includeTestResources>true</includeTestResources> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 143 | <consoleOutput>false</consoleOutput> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 144 | <violationSeverity>warning</violationSeverity> |
| 145 | <failOnViolation>true</failOnViolation> |
| 146 | </configuration> |
| 147 | </execution> |
| 148 | </executions> |
| 149 | <dependencies> |
| 150 | <dependency> |
| 151 | <groupId>${project.groupId}</groupId> |
| 152 | <artifactId>checkstyle</artifactId> |
| 153 | <version>${cps.version}</version> |
| 154 | </dependency> |
| 155 | </dependencies> |
| 156 | </plugin> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 157 | <plugin> |
| 158 | <groupId>org.apache.maven.plugins</groupId> |
| 159 | <artifactId>maven-deploy-plugin</artifactId> |
| 160 | <version>${maven.deploy.plugin.version}</version> |
| 161 | </plugin> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 162 | </plugins> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 163 | <pluginManagement> |
| 164 | <plugins> |
| 165 | <plugin> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 166 | <groupId>org.apache.maven.plugins</groupId> |
| 167 | <artifactId>maven-compiler-plugin</artifactId> |
| 168 | <version>${maven.compiler.plugin.version}</version> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 169 | <configuration> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 170 | <encoding>${project.build.sourceEncoding}</encoding> |
| 171 | <source>17</source> |
| 172 | <target>17</target> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 173 | </configuration> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 174 | </plugin> |
| 175 | </plugins> |
| 176 | </pluginManagement> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 177 | </build> |
| 178 | |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 179 | |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame] | 180 | <distributionManagement> |
| 181 | <repository> |
| 182 | <id>ecomp-releases</id> |
| 183 | <name>ECOMP Release Repository</name> |
| 184 | <url>${onap.nexus.url}${releaseNexusPath}</url> |
| 185 | </repository> |
| 186 | <snapshotRepository> |
| 187 | <id>ecomp-snapshots</id> |
| 188 | <name>ECOMP Snapshot Repository</name> |
| 189 | <url>${onap.nexus.url}${snapshotNexusPath}</url> |
| 190 | </snapshotRepository> |
| 191 | </distributionManagement> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 192 | |
lukegleeson | b208aeb | 2021-07-08 16:48:15 +0100 | [diff] [blame] | 193 | </project> |