liboNet | efb2229 | 2019-03-20 03:10:03 +0800 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | Copyright (c) 2017 Wind River Systems, Inc. |
| 4 | Copyright (c) 2017-2018 VMware, Inc. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at: |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | --> |
liboNet | 2cf6469 | 2019-03-29 07:29:51 +0800 | [diff] [blame] | 15 | |
| 16 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
liboNet | efb2229 | 2019-03-20 03:10:03 +0800 | [diff] [blame] | 17 | <parent> |
liboNet | bbfe2fb | 2019-07-12 06:14:44 +0800 | [diff] [blame] | 18 | <groupId>org.onap.multicloud.framework</groupId> |
| 19 | <artifactId>multicloud-framework</artifactId> |
Bin Yang | 077b4c0 | 2020-03-17 21:50:08 +0800 | [diff] [blame] | 20 | <version>1.5.2-SNAPSHOT</version> |
liboNet | efb2229 | 2019-03-20 03:10:03 +0800 | [diff] [blame] | 21 | </parent> |
| 22 | <modelVersion>4.0.0</modelVersion> |
liboNet | de2f1e4 | 2019-04-03 15:50:50 +0800 | [diff] [blame] | 23 | <groupId>org.onap.multicloud.framework</groupId> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 24 | <artifactId>multicloud-framework-artifactbroker</artifactId> |
Bin Yang | 077b4c0 | 2020-03-17 21:50:08 +0800 | [diff] [blame] | 25 | <version>1.5.2-SNAPSHOT</version> |
liboNet | efb2229 | 2019-03-20 03:10:03 +0800 | [diff] [blame] | 26 | <packaging>pom</packaging> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 27 | <name>multicloud-framework-artifactbroker</name> |
liboNet | efb2229 | 2019-03-20 03:10:03 +0800 | [diff] [blame] | 28 | <description>artifact broker</description> |
| 29 | <properties> |
| 30 | <encoding>UTF-8</encoding> |
| 31 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 32 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 33 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 34 | <version.logback>1.2.3</version.logback> |
| 35 | <policy.common.version>1.3.4</policy.common.version> |
liboNet | 41373a9 | 2019-04-03 02:26:05 +0800 | [diff] [blame] | 36 | <policy.engine.version>1.3.5</policy.engine.version> |
Liang Ding | e6a4b2a | 2020-02-25 00:46:14 -0800 | [diff] [blame] | 37 | <sonar.language>java</sonar.language> |
| 38 | <sonar.coverage.jacoco.xmlReportPaths> |
| 39 | ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml |
| 40 | </sonar.coverage.jacoco.xmlReportPaths> |
liboNet | efb2229 | 2019-03-20 03:10:03 +0800 | [diff] [blame] | 41 | </properties> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 42 | <modules> |
liboNet | f0944b0 | 2019-03-27 00:49:32 +0800 | [diff] [blame] | 43 | <module>model</module> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 44 | <module>main</module> |
liboNet | f0944b0 | 2019-03-27 00:49:32 +0800 | [diff] [blame] | 45 | <module>reception</module> |
| 46 | <module>forwarding</module> |
| 47 | <module>plugins</module> |
liboNet | 74c55a7 | 2019-03-22 02:35:16 +0800 | [diff] [blame] | 48 | <module>packages</module> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 49 | </modules> |
| 50 | <dependencies> |
| 51 | <dependency> |
| 52 | <groupId>junit</groupId> |
| 53 | <artifactId>junit</artifactId> |
| 54 | <version>4.12</version> |
| 55 | <scope>test</scope> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.slf4j</groupId> |
| 59 | <artifactId>slf4j-ext</artifactId> |
| 60 | <version>1.8.0-beta2</version> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>org.slf4j</groupId> |
| 64 | <artifactId>slf4j-api</artifactId> |
| 65 | <version>1.7.25</version> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>ch.qos.logback</groupId> |
| 69 | <artifactId>logback-core</artifactId> |
| 70 | <version>${version.logback}</version> |
| 71 | </dependency> |
| 72 | <dependency> |
| 73 | <groupId>ch.qos.logback</groupId> |
| 74 | <artifactId>logback-classic</artifactId> |
| 75 | <version>${version.logback}</version> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>org.onap.policy.common</groupId> |
| 79 | <artifactId>common-parameters</artifactId> |
| 80 | <version>${policy.common.version}</version> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>org.onap.policy.common</groupId> |
| 84 | <artifactId>ONAP-Logging</artifactId> |
| 85 | <version>${policy.common.version}</version> |
| 86 | </dependency> |
| 87 | <dependency> |
| 88 | <groupId>org.onap.policy.common</groupId> |
| 89 | <artifactId>capabilities</artifactId> |
| 90 | <version>${policy.common.version}</version> |
| 91 | </dependency> |
liboNet | ece7c61 | 2019-03-28 07:08:06 +0800 | [diff] [blame] | 92 | <dependency> |
| 93 | <groupId>com.fasterxml.jackson.core</groupId> |
| 94 | <artifactId>jackson-databind</artifactId> |
| 95 | <version>2.9.8</version> |
| 96 | </dependency> |
liboNet | ece7c61 | 2019-03-28 07:08:06 +0800 | [diff] [blame] | 97 | <dependency> |
| 98 | <groupId>org.json</groupId> |
| 99 | <artifactId>json</artifactId> |
| 100 | <version>20160810</version> |
| 101 | </dependency> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 102 | <dependency> |
| 103 | <groupId>org.onap.policy.common</groupId> |
| 104 | <artifactId>policy-endpoints</artifactId> |
| 105 | <version>${policy.common.version}</version> |
liboNet | ece7c61 | 2019-03-28 07:08:06 +0800 | [diff] [blame] | 106 | <exclusions> |
| 107 | <exclusion> |
| 108 | <groupId>com.fasterxml.jackson.core</groupId> |
| 109 | <artifactId>jackson-databind</artifactId> |
| 110 | </exclusion> |
| 111 | <exclusion> |
| 112 | <groupId>org.json</groupId> |
| 113 | <artifactId>json</artifactId> |
| 114 | </exclusion> |
| 115 | </exclusions> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>org.onap.policy.common</groupId> |
| 119 | <artifactId>utils</artifactId> |
| 120 | <version>${policy.common.version}</version> |
| 121 | </dependency> |
| 122 | <dependency> |
| 123 | <groupId>commons-cli</groupId> |
| 124 | <artifactId>commons-cli</artifactId> |
| 125 | <version>1.4</version> |
| 126 | </dependency> |
| 127 | <dependency> |
| 128 | <groupId>com.google.code.gson</groupId> |
| 129 | <artifactId>gson</artifactId> |
| 130 | <version>2.8.4</version> |
| 131 | </dependency> |
| 132 | </dependencies> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 133 | <build> |
| 134 | <plugins> |
| 135 | <plugin> |
Lukasz Rajewski | 7351cde | 2020-08-11 17:46:51 +0200 | [diff] [blame^] | 136 | <groupId>org.apache.maven.plugins</groupId> |
| 137 | <artifactId>maven-compiler-plugin</artifactId> |
| 138 | <version>3.8.0</version> |
| 139 | <configuration> |
| 140 | <release>11</release> |
| 141 | </configuration> |
| 142 | </plugin> |
| 143 | <plugin> |
| 144 | <groupId>org.apache.maven.plugins</groupId> |
| 145 | <artifactId>maven-enforcer-plugin</artifactId> |
| 146 | <executions> |
| 147 | <execution> |
| 148 | <id>enforce-versions</id> |
| 149 | <goals> |
| 150 | <goal>enforce</goal> |
| 151 | </goals> |
| 152 | <configuration> |
| 153 | <rules> |
| 154 | <requireMavenVersion> |
| 155 | <version>3.0.5</version> |
| 156 | </requireMavenVersion> |
| 157 | <requireJavaVersion> |
| 158 | <version>11</version> |
| 159 | </requireJavaVersion> |
| 160 | </rules> |
| 161 | </configuration> |
| 162 | </execution> |
| 163 | </executions> |
| 164 | </plugin> |
| 165 | <plugin> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 166 | <groupId>org.jacoco</groupId> |
| 167 | <artifactId>jacoco-maven-plugin</artifactId> |
| 168 | <executions> |
| 169 | <execution> |
| 170 | <id>pre-unit-test</id> |
| 171 | <goals> |
| 172 | <goal>prepare-agent</goal> |
| 173 | </goals> |
| 174 | <configuration> |
Liang Ding | e6a4b2a | 2020-02-25 00:46:14 -0800 | [diff] [blame] | 175 | <destFile>${sonar.coverage.jacoco.xmlReportPaths}</destFile> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 176 | <append>true</append> |
| 177 | </configuration> |
| 178 | </execution> |
| 179 | <execution> |
| 180 | <id>post-unit-test</id> |
| 181 | <phase>test</phase> |
| 182 | <goals> |
| 183 | <goal>report</goal> |
| 184 | </goals> |
| 185 | <configuration> |
Liang Ding | e6a4b2a | 2020-02-25 00:46:14 -0800 | [diff] [blame] | 186 | <dataFile>${sonar.coverage.jacoco.xmlReportPaths}</dataFile> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 187 | </configuration> |
| 188 | </execution> |
| 189 | </executions> |
| 190 | </plugin> |
| 191 | <plugin> |
| 192 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 193 | <executions> |
| 194 | <execution> |
| 195 | <id>onap-java-style</id> |
| 196 | <goals> |
| 197 | <goal>check</goal> |
| 198 | </goals> |
| 199 | <phase>process-sources</phase> |
| 200 | <configuration> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 201 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 202 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 203 | <includeResources>true</includeResources> |
| 204 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 205 | <includeTestResources>true</includeTestResources> |
| 206 | <excludes> |
| 207 | </excludes> |
| 208 | <consoleOutput>true</consoleOutput> |
| 209 | <failOnViolation>true</failOnViolation> |
liboNet | 2cf6469 | 2019-03-29 07:29:51 +0800 | [diff] [blame] | 210 | <violationSeverity>error</violationSeverity> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 211 | </configuration> |
| 212 | </execution> |
| 213 | </executions> |
| 214 | <dependencies> |
| 215 | <dependency> |
| 216 | <groupId>org.onap.oparent</groupId> |
| 217 | <artifactId>checkstyle</artifactId> |
| 218 | <version>1.2.0</version> |
| 219 | <scope>compile</scope> |
| 220 | </dependency> |
| 221 | </dependencies> |
| 222 | </plugin> |
Lukasz Rajewski | 7351cde | 2020-08-11 17:46:51 +0200 | [diff] [blame^] | 223 | <plugin> |
| 224 | <groupId>org.codehaus.mojo</groupId> |
| 225 | <artifactId>versions-maven-plugin</artifactId> |
| 226 | <configuration> |
| 227 | <generateBackupPoms>false</generateBackupPoms> |
| 228 | </configuration> |
| 229 | </plugin> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 230 | </plugins> |
| 231 | <pluginManagement> |
| 232 | <plugins> |
| 233 | <plugin> |
| 234 | <groupId>org.jacoco</groupId> |
| 235 | <artifactId>jacoco-maven-plugin</artifactId> |
| 236 | <version>${jacoco.version}</version> |
| 237 | <configuration> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 238 | <excludes> |
| 239 | <exclude>**/gen/**</exclude> |
| 240 | <exclude>**/generated-sources/**</exclude> |
| 241 | <exclude>**/yang-gen/**</exclude> |
| 242 | <exclude>**/pax/**</exclude> |
| 243 | </excludes> |
| 244 | </configuration> |
| 245 | <executions> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 246 | <execution> |
| 247 | <id>pre-unit-test</id> |
| 248 | <goals> |
| 249 | <goal>prepare-agent</goal> |
| 250 | </goals> |
| 251 | <configuration> |
Liang Ding | e6a4b2a | 2020-02-25 00:46:14 -0800 | [diff] [blame] | 252 | <destFile>${sonar.coverage.jacoco.xmlReportPaths}</destFile> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 253 | </configuration> |
| 254 | </execution> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 255 | <execution> |
| 256 | <id>post-unit-test</id> |
| 257 | <phase>test</phase> |
| 258 | <goals> |
| 259 | <goal>report</goal> |
| 260 | </goals> |
| 261 | <configuration> |
Liang Ding | e6a4b2a | 2020-02-25 00:46:14 -0800 | [diff] [blame] | 262 | <dataFile>${sonar.coverage.jacoco.xmlReportPaths}</dataFile> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 263 | </configuration> |
| 264 | </execution> |
| 265 | </executions> |
| 266 | </plugin> |
| 267 | </plugins> |
| 268 | </pluginManagement> |
| 269 | </build> |
| 270 | </project> |