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 | |
egernug | 5e4eb8c | 2024-06-21 12:53:06 +0100 | [diff] [blame] | 28 | <packaging>pom</packaging> |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 29 | <organization> |
| 30 | <name>ONAP - CPS</name> |
| 31 | <url>http://www.onap.org/</url> |
| 32 | </organization> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 33 | |
egernug | 5e4eb8c | 2024-06-21 12:53:06 +0100 | [diff] [blame] | 34 | <modules> |
| 35 | <module>dmi-service</module> |
egernug | e703e34 | 2024-07-08 10:59:08 +0100 | [diff] [blame] | 36 | <module>dmi-stub</module> |
egernug | 5e4eb8c | 2024-06-21 12:53:06 +0100 | [diff] [blame] | 37 | </modules> |
DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 38 | <groupId>org.onap.cps</groupId> |
| 39 | <artifactId>ncmp-dmi-plugin</artifactId> |
mpriyank | 4e9a559 | 2024-05-15 10:48:17 +0100 | [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> |
egernug | d59b5ef | 2023-10-19 11:23:13 +0100 | [diff] [blame] | 43 | |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 44 | <properties> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 45 | <!-- Set UTF-8 encoding for consistent builds across platforms --> |
| 46 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 47 | |
| 48 | <!-- Application and Docker Configuration --> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 49 | <app>org.onap.cps.ncmp.dmi.Application</app> |
| 50 | <base.image>${docker.pull.registry}/onap/integration-java17:12.0.0</base.image> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 51 | <image.name>ncmp-dmi-plugin</image.name> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 52 | <image.tag>${project.version}-${maven.build.timestamp}</image.tag> |
| 53 | |
| 54 | <!-- Project Versioning and Timestamp --> |
| 55 | <cps.version>3.5.5-SNAPSHOT</cps.version> |
| 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> |
| 66 | |
| 67 | <!-- ONAP Nexus Repository Configuration --> |
| 68 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 69 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 70 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 71 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 72 | </properties> |
| 73 | |
| 74 | <build> |
| 75 | <plugins> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 76 | <!-- Maven Dependency Plugin for unpacking resources only in the root module --> |
| 77 | <plugin> |
| 78 | <groupId>org.apache.maven.plugins</groupId> |
| 79 | <artifactId>maven-dependency-plugin</artifactId> |
| 80 | <version>${maven.dependency.plugin.version}</version> |
| 81 | <executions> |
| 82 | <execution> |
| 83 | <id>unpack-checkstyle-config</id> |
| 84 | <phase>initialize</phase> |
| 85 | <goals> |
| 86 | <goal>unpack</goal> |
| 87 | </goals> |
| 88 | <configuration> |
| 89 | <artifactItems> |
| 90 | <artifactItem> |
| 91 | <groupId>${project.groupId}</groupId> |
| 92 | <artifactId>checkstyle</artifactId> |
| 93 | <version>${cps.version}</version> |
| 94 | <type>jar</type> |
| 95 | <overWrite>true</overWrite> |
| 96 | <outputDirectory>${project.basedir}/checkstyle</outputDirectory> |
| 97 | <includes>cps-checkstyle/**</includes> |
| 98 | </artifactItem> |
| 99 | </artifactItems> |
| 100 | </configuration> |
| 101 | <inherited>false</inherited> |
| 102 | </execution> |
| 103 | </executions> |
| 104 | </plugin> |
| 105 | <!-- Maven Checkstyle Plugin --> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 106 | <plugin> |
| 107 | <groupId>org.apache.maven.plugins</groupId> |
| 108 | <artifactId>maven-checkstyle-plugin</artifactId> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 109 | <version>${maven.checkstyle.plugin.version}</version> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 110 | <executions> |
| 111 | <execution> |
| 112 | <id>onap-license</id> |
| 113 | <goals> |
| 114 | <goal>check</goal> |
| 115 | </goals> |
| 116 | <phase>process-sources</phase> |
| 117 | <configuration> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 118 | <configLocation>${checkstyle.config.location}/checkstyle/cps-checkstyle/check-license.xml</configLocation> |
| 119 | <includeResources>true</includeResources> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 120 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 121 | <includeTestResources>false</includeTestResources> |
| 122 | <sourceDirectories> |
| 123 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 124 | </sourceDirectories> |
| 125 | <consoleOutput>false</consoleOutput> |
| 126 | <violationSeverity>warning</violationSeverity> |
| 127 | <failOnViolation>true</failOnViolation> |
| 128 | </configuration> |
| 129 | </execution> |
| 130 | <execution> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 131 | <id>cps-java-style</id> |
| 132 | <goals> |
| 133 | <goal>check</goal> |
| 134 | </goals> |
| 135 | <phase>process-sources</phase> |
| 136 | <configuration> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 137 | <configLocation>${checkstyle.config.location}/checkstyle/cps-checkstyle/cps-java-style.xml</configLocation> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 138 | <sourceDirectories> |
| 139 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 140 | </sourceDirectories> |
| 141 | <includeResources>true</includeResources> |
| 142 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 143 | <includeTestResources>true</includeTestResources> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 144 | <consoleOutput>false</consoleOutput> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 145 | <violationSeverity>warning</violationSeverity> |
| 146 | <failOnViolation>true</failOnViolation> |
| 147 | </configuration> |
| 148 | </execution> |
| 149 | </executions> |
| 150 | <dependencies> |
| 151 | <dependency> |
| 152 | <groupId>${project.groupId}</groupId> |
| 153 | <artifactId>checkstyle</artifactId> |
| 154 | <version>${cps.version}</version> |
| 155 | </dependency> |
| 156 | </dependencies> |
| 157 | </plugin> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 158 | <plugin> |
| 159 | <groupId>org.apache.maven.plugins</groupId> |
| 160 | <artifactId>maven-deploy-plugin</artifactId> |
| 161 | <version>${maven.deploy.plugin.version}</version> |
| 162 | </plugin> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 163 | </plugins> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 164 | <pluginManagement> |
| 165 | <plugins> |
| 166 | <plugin> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 167 | <groupId>org.apache.maven.plugins</groupId> |
| 168 | <artifactId>maven-compiler-plugin</artifactId> |
| 169 | <version>${maven.compiler.plugin.version}</version> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 170 | <configuration> |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 171 | <encoding>${project.build.sourceEncoding}</encoding> |
| 172 | <source>17</source> |
| 173 | <target>17</target> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 174 | </configuration> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 175 | </plugin> |
| 176 | </plugins> |
| 177 | </pluginManagement> |
sourabh_sourabh | 1e1f49f | 2024-10-22 14:00:29 +0100 | [diff] [blame] | 178 | </build> |
| 179 | |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 180 | |
sourabh_sourabh | 436a8dc | 2024-11-12 13:12:02 +0000 | [diff] [blame^] | 181 | <distributionManagement> |
| 182 | <repository> |
| 183 | <id>ecomp-releases</id> |
| 184 | <name>ECOMP Release Repository</name> |
| 185 | <url>${onap.nexus.url}${releaseNexusPath}</url> |
| 186 | </repository> |
| 187 | <snapshotRepository> |
| 188 | <id>ecomp-snapshots</id> |
| 189 | <name>ECOMP Snapshot Repository</name> |
| 190 | <url>${onap.nexus.url}${snapshotNexusPath}</url> |
| 191 | </snapshotRepository> |
| 192 | </distributionManagement> |
sourabh_sourabh | 6c877ba | 2024-11-13 16:48:46 +0000 | [diff] [blame] | 193 | |
lukegleeson | b208aeb | 2021-07-08 16:48:15 +0100 | [diff] [blame] | 194 | </project> |