JohnKeeney | f1e4460 | 2024-06-07 13:07:03 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- spotless:off --> |
| 3 | <!-- |
| 4 | ============LICENSE_START======================================================= |
| 5 | Copyright (C) 2024 Ericsson |
| 6 | Modifications Copyright (C) 2024 OpenInfra Foundation Europe |
| 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | |
| 20 | SPDX-License-Identifier: Apache-2.0 |
| 21 | ============LICENSE_END========================================================= |
| 22 | --> |
| 23 | <!-- spotless:on --> |
| 24 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 25 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 26 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <parent> |
| 29 | <groupId>org.springframework.boot</groupId> |
| 30 | <artifactId>spring-boot-starter-parent</artifactId> |
| 31 | <version>3.2.0</version> |
| 32 | <relativePath /> |
| 33 | </parent> |
| 34 | <groupId>org.oran.smo</groupId> |
| 35 | <artifactId>topology-exposure-inventory</artifactId> |
JohnKeeney | b6cfcb4 | 2024-06-24 11:40:51 +0100 | [diff] [blame] | 36 | <version>0.1.0-SNAPSHOT</version> |
JohnKeeney | f1e4460 | 2024-06-07 13:07:03 +0100 | [diff] [blame] | 37 | <packaging>pom</packaging> |
| 38 | |
| 39 | <licenses> |
| 40 | <license> |
| 41 | <name>The Apache Software License, Version 2.0</name> |
| 42 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 43 | </license> |
| 44 | </licenses> |
| 45 | |
| 46 | <modules> |
| 47 | <module>yang-parser</module> |
| 48 | <module>pgsql-schema-generator</module> |
| 49 | <module>teiv</module> |
| 50 | </modules> |
| 51 | |
| 52 | <properties> |
| 53 | <!-- Set compiler Java version, MUST match the Dockerfile JDK version --> |
| 54 | <maven.compiler.release>17</maven.compiler.release> |
| 55 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
JohnKeeney | b6cfcb4 | 2024-06-24 11:40:51 +0100 | [diff] [blame] | 56 | <!-- Versions of co-located functions to use--> |
| 57 | <version.yang-parser-jar>1.1.0-SNAPSHOT</version.yang-parser-jar> <!--use current master snapshot version --> |
JohnKeeney | f1e4460 | 2024-06-07 13:07:03 +0100 | [diff] [blame] | 58 | <!-- 3PP Versions --> |
| 59 | <version.jackson-databind-nullable>0.2.6</version.jackson-databind-nullable> |
| 60 | <version.lombok>1.18.26</version.lombok> |
| 61 | <version.logback>6.6</version.logback> |
| 62 | <!-- Updated from 1.9.0 to comply with CVE-2022-36437 --> |
| 63 | <version.micrometer>1.10.6</version.micrometer> |
| 64 | <version.cloudevents-kafka>2.5.0</version.cloudevents-kafka> |
| 65 | <version.cloudevents-json-jackson>2.5.0</version.cloudevents-json-jackson> |
| 66 | <version.springdoc-openapi>2.1.0</version.springdoc-openapi> |
| 67 | <!-- Updated from version 1.33 to comply with CVE-2022-1471 --> |
| 68 | <version.postgresql>42.5.4</version.postgresql> |
| 69 | <jooq.version>3.18.6</jooq.version> |
| 70 | <version.saxpath>1.0-FCS</version.saxpath> |
| 71 | <!-- External Yang model source prefix URI --> |
| 72 | <source.3gpp.Rel18_SA103>https://forge.3gpp.org/rep/sa5/MnS/-/raw/Tag_Rel18_SA103/yang-models/</source.3gpp.Rel18_SA103> |
| 73 | <source.3gpp.Rel18_SA98>https://forge.3gpp.org/rep/sa5/MnS/-/raw/Tag_Rel18_SA98/yang-models/</source.3gpp.Rel18_SA98> |
| 74 | <source.3gpp.Rel17_SA97>https://forge.3gpp.org/rep/sa5/MnS/-/raw/Tag_Rel17_SA97/yang-models/</source.3gpp.Rel17_SA97> |
| 75 | <source.3gpp.Rel17_SA91>https://forge.3gpp.org/rep/sa5/MnS/-/raw/Rel-17-SA-91/yang-models/</source.3gpp.Rel17_SA91> |
| 76 | <source.ietfcatalog>https://www.ietf.org/ietf-ftp/yang/catalogmod/</source.ietfcatalog> |
| 77 | |
| 78 | <!-- Test Dependencies --> |
| 79 | <version.spring-cloud>2023.0.0</version.spring-cloud> |
| 80 | <version.mockitoinline>5.2.0</version.mockitoinline> |
| 81 | <version.testcontainers>1.18.0</version.testcontainers> |
| 82 | <!-- Plugin Dependencies --> |
JohnKeeney | 669c648 | 2024-07-09 18:49:32 +0100 | [diff] [blame] | 83 | <version.openapi-generator-maven-plugin>7.7.0</version.openapi-generator-maven-plugin> |
JohnKeeney | f1e4460 | 2024-06-07 13:07:03 +0100 | [diff] [blame] | 84 | <version.spotless-plugin>2.30.0</version.spotless-plugin> |
| 85 | <version.contract-documentation-generator-mvn-plugin>1.0.1</version.contract-documentation-generator-mvn-plugin> |
| 86 | <version.asciidoctor-maven-plugin>2.2.1</version.asciidoctor-maven-plugin> |
| 87 | <version.spring-cloud-starter-contract-verifier>3.0.2</version.spring-cloud-starter-contract-verifier> |
JohnKeeney | f1e4460 | 2024-06-07 13:07:03 +0100 | [diff] [blame] | 88 | <version.reactor-test>3.2.3.RELEASE</version.reactor-test> |
| 89 | <!-- Updated from 3.0 to comply with CVE-2023-20861, CVE-2022-22971 & 17 |
| 90 | more --> |
| 91 | <version.license-maven-plugin>4.2</version.license-maven-plugin> |
| 92 | <version.sonar-maven-plugin>3.9.1.2184</version.sonar-maven-plugin> |
| 93 | <version.antrun-maven-plugin>3.1.0</version.antrun-maven-plugin> |
| 94 | <version.antlr>4.13.0</version.antlr> |
aravind.est | 98f7fc8 | 2024-06-12 12:38:45 +0100 | [diff] [blame] | 95 | <docker-maven-plugin>0.43.4</docker-maven-plugin> |
JohnKeeney | f1e4460 | 2024-06-07 13:07:03 +0100 | [diff] [blame] | 96 | <!-- JaCoCo plugin for Java Code Coverage --> |
| 97 | <version.jacoco-maven.plugin>0.8.8</version.jacoco-maven.plugin> |
| 98 | <!-- Minimum ratio or percentage of instructions to be covered, used by |
| 99 | JaCoCo plugin. Industry standard is 0.8 or 80% which allows at least 80% |
| 100 | of the code to be covered by the test cases. --> |
| 101 | <jacoco-maven-plugin.coveredratio.minimum>0.8</jacoco-maven-plugin.coveredratio.minimum> |
| 102 | </properties> |
| 103 | <build> |
| 104 | <pluginManagement> |
| 105 | <plugins> |
| 106 | <plugin> |
| 107 | <groupId>com.mycila</groupId> |
| 108 | <artifactId>license-maven-plugin</artifactId> |
| 109 | <version>${version.license-maven-plugin}</version> |
| 110 | <configuration> |
| 111 | <licenseSets> |
| 112 | <licenseSet> |
| 113 | <header>${project.parent.basedir}/license/copyright-2024.txt</header> |
| 114 | <validHeaders> |
| 115 | <validHeader>${project.parent.basedir}/license/copyright-2024.txt</validHeader> |
| 116 | </validHeaders> |
| 117 | <excludes> |
| 118 | <exclude>**/*.html</exclude> |
| 119 | <exclude>**/*.tpl</exclude> |
| 120 | <exclude>**/*.tgz</exclude> |
| 121 | <exclude>**/VERSION*</exclude> |
| 122 | <exclude>license/copyright*</exclude> |
| 123 | <exclude>**/*.txt</exclude> |
| 124 | <exclude>**/*.config</exclude> |
| 125 | <exclude>**/*.yang</exclude> |
| 126 | <exclude>settings.xml</exclude> |
| 127 | <exclude>**/*.openapi-generator-ignore</exclude> |
| 128 | <exclude>**/src/main/resources/v1/.openapi-generator/*</exclude> |
| 129 | <exclude>generated/*</exclude> |
| 130 | <exclude>generated*/</exclude> |
| 131 | <exclude>dependencies/*</exclude> |
| 132 | <exclude>dependencies*/</exclude> |
JohnKeeney | 669c648 | 2024-07-09 18:49:32 +0100 | [diff] [blame] | 133 | <exclude>teiv/src/main/resources/v1/**/*.html</exclude> |
| 134 | <exclude>teiv/src/main/resources/v1/topology-exposure-inventory-openapi.json</exclude> |
JohnKeeney | f1e4460 | 2024-06-07 13:07:03 +0100 | [diff] [blame] | 135 | </excludes> |
| 136 | </licenseSet> |
| 137 | </licenseSets> |
| 138 | <headerDefinitions> |
| 139 | <headerDefinition>${project.parent.basedir}/license/javaHeaderDefinition.xml</headerDefinition> |
| 140 | <headerDefinition>${project.parent.basedir}/license/xmlHeaderDefinition.xml</headerDefinition> |
| 141 | </headerDefinitions> |
| 142 | <mapping> |
| 143 | <java>JAVADOC_STYLE</java> |
| 144 | <groovy>JAVADOC_STYLE</groovy> |
| 145 | <g4>JAVADOC_STYLE</g4> |
| 146 | <xml>XML_STYLE</xml> |
| 147 | </mapping> |
| 148 | </configuration> |
| 149 | </plugin> |
| 150 | <plugin> |
| 151 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 152 | <artifactId>sonar-maven-plugin</artifactId> |
| 153 | <version>${version.sonar-maven-plugin}</version> |
| 154 | </plugin> |
| 155 | </plugins> |
| 156 | </pluginManagement> |
| 157 | <plugins> |
| 158 | <plugin> |
| 159 | <groupId>com.diffplug.spotless</groupId> |
| 160 | <artifactId>spotless-maven-plugin</artifactId> |
| 161 | <version>${version.spotless-plugin}</version> |
| 162 | <configuration> |
| 163 | <formats> |
| 164 | <format> |
| 165 | <includes> |
| 166 | <include>pom.xml</include> |
| 167 | </includes> |
| 168 | <eclipseWtp> |
| 169 | <type>XML</type> |
| 170 | </eclipseWtp> |
| 171 | <toggleOffOn> |
| 172 | <off>spotless:off</off> |
| 173 | <on>spotless:on</on> |
| 174 | </toggleOffOn> |
| 175 | <indent> |
| 176 | <spaces>true</spaces> |
| 177 | <spacesPerTab>4</spacesPerTab> |
| 178 | </indent> |
| 179 | <trimTrailingWhitespace /> |
| 180 | <endWithNewline /> |
| 181 | </format> |
| 182 | <format> |
| 183 | <includes> |
| 184 | <include>**/*.json</include> |
| 185 | </includes> |
| 186 | <excludes> |
| 187 | <exclude>target/**/*.json</exclude> |
| 188 | <exclude>build/**/*.json</exclude> |
JohnKeeney | 669c648 | 2024-07-09 18:49:32 +0100 | [diff] [blame] | 189 | <!--generated --> |
| 190 | <exclude>**/resources/v1/topology-exposure-inventory-openapi.json</exclude> |
JohnKeeney | f1e4460 | 2024-06-07 13:07:03 +0100 | [diff] [blame] | 191 | </excludes> |
| 192 | <eclipseWtp> |
| 193 | <type>JSON</type> |
| 194 | </eclipseWtp> |
| 195 | <endWithNewline /> |
| 196 | <indent> |
| 197 | <spaces>true</spaces> |
| 198 | <spacesPerTab>4</spacesPerTab> |
| 199 | </indent> |
| 200 | <trimTrailingWhitespace /> |
| 201 | </format> |
| 202 | </formats> |
| 203 | <java> |
| 204 | <eclipse> |
| 205 | <file>${project.parent.basedir}/code_conventions.xml</file> |
| 206 | </eclipse> |
| 207 | <toggleOffOn> |
| 208 | <off>spotless:off</off> |
| 209 | <on>spotless:on</on> |
| 210 | </toggleOffOn> |
| 211 | <trimTrailingWhitespace /> |
| 212 | <removeUnusedImports /> |
| 213 | <endWithNewline /> |
| 214 | <licenseHeader> |
| 215 | <file>${project.parent.basedir}/CopyrightSample.txt</file> |
| 216 | </licenseHeader> |
| 217 | </java> |
| 218 | <groovy> |
| 219 | <includes> |
| 220 | <include>**/*.groovy</include> |
| 221 | </includes> |
| 222 | <greclipse> |
| 223 | <file>${project.parent.basedir}/code_conventions.xml</file> |
| 224 | </greclipse> |
| 225 | <licenseHeader> |
| 226 | <file>${project.parent.basedir}/CopyrightSample.txt</file> |
| 227 | </licenseHeader> |
| 228 | <endWithNewline /> |
| 229 | </groovy> |
| 230 | </configuration> |
| 231 | </plugin> |
| 232 | </plugins> |
| 233 | </build> |
| 234 | </project> |