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 | b2c0e7a | 2019-10-25 00:46:44 +0000 | [diff] [blame] | 20 | <version>1.4.3-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 | b2c0e7a | 2019-10-25 00:46:44 +0000 | [diff] [blame] | 25 | <version>1.4.3-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> |
liboNet | efb2229 | 2019-03-20 03:10:03 +0800 | [diff] [blame] | 37 | </properties> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 38 | <modules> |
liboNet | f0944b0 | 2019-03-27 00:49:32 +0800 | [diff] [blame] | 39 | <module>model</module> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 40 | <module>main</module> |
liboNet | f0944b0 | 2019-03-27 00:49:32 +0800 | [diff] [blame] | 41 | <module>reception</module> |
| 42 | <module>forwarding</module> |
| 43 | <module>plugins</module> |
liboNet | 74c55a7 | 2019-03-22 02:35:16 +0800 | [diff] [blame] | 44 | <module>packages</module> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 45 | </modules> |
| 46 | <dependencies> |
| 47 | <dependency> |
| 48 | <groupId>junit</groupId> |
| 49 | <artifactId>junit</artifactId> |
| 50 | <version>4.12</version> |
| 51 | <scope>test</scope> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.slf4j</groupId> |
| 55 | <artifactId>slf4j-ext</artifactId> |
| 56 | <version>1.8.0-beta2</version> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>org.slf4j</groupId> |
| 60 | <artifactId>slf4j-api</artifactId> |
| 61 | <version>1.7.25</version> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>ch.qos.logback</groupId> |
| 65 | <artifactId>logback-core</artifactId> |
| 66 | <version>${version.logback}</version> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>ch.qos.logback</groupId> |
| 70 | <artifactId>logback-classic</artifactId> |
| 71 | <version>${version.logback}</version> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.onap.policy.common</groupId> |
| 75 | <artifactId>common-parameters</artifactId> |
| 76 | <version>${policy.common.version}</version> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.onap.policy.common</groupId> |
| 80 | <artifactId>ONAP-Logging</artifactId> |
| 81 | <version>${policy.common.version}</version> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>org.onap.policy.common</groupId> |
| 85 | <artifactId>capabilities</artifactId> |
| 86 | <version>${policy.common.version}</version> |
| 87 | </dependency> |
liboNet | ece7c61 | 2019-03-28 07:08:06 +0800 | [diff] [blame] | 88 | <dependency> |
| 89 | <groupId>com.fasterxml.jackson.core</groupId> |
| 90 | <artifactId>jackson-databind</artifactId> |
| 91 | <version>2.9.8</version> |
| 92 | </dependency> |
liboNet | ece7c61 | 2019-03-28 07:08:06 +0800 | [diff] [blame] | 93 | <dependency> |
| 94 | <groupId>org.json</groupId> |
| 95 | <artifactId>json</artifactId> |
| 96 | <version>20160810</version> |
| 97 | </dependency> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 98 | <dependency> |
| 99 | <groupId>org.onap.policy.common</groupId> |
| 100 | <artifactId>policy-endpoints</artifactId> |
| 101 | <version>${policy.common.version}</version> |
liboNet | ece7c61 | 2019-03-28 07:08:06 +0800 | [diff] [blame] | 102 | <exclusions> |
| 103 | <exclusion> |
| 104 | <groupId>com.fasterxml.jackson.core</groupId> |
| 105 | <artifactId>jackson-databind</artifactId> |
| 106 | </exclusion> |
| 107 | <exclusion> |
| 108 | <groupId>org.json</groupId> |
| 109 | <artifactId>json</artifactId> |
| 110 | </exclusion> |
| 111 | </exclusions> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>org.onap.policy.common</groupId> |
| 115 | <artifactId>utils</artifactId> |
| 116 | <version>${policy.common.version}</version> |
| 117 | </dependency> |
| 118 | <dependency> |
| 119 | <groupId>commons-cli</groupId> |
| 120 | <artifactId>commons-cli</artifactId> |
| 121 | <version>1.4</version> |
| 122 | </dependency> |
| 123 | <dependency> |
| 124 | <groupId>com.google.code.gson</groupId> |
| 125 | <artifactId>gson</artifactId> |
| 126 | <version>2.8.4</version> |
| 127 | </dependency> |
| 128 | </dependencies> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 129 | <build> |
| 130 | <plugins> |
| 131 | <plugin> |
| 132 | <groupId>org.jacoco</groupId> |
| 133 | <artifactId>jacoco-maven-plugin</artifactId> |
| 134 | <executions> |
| 135 | <execution> |
| 136 | <id>pre-unit-test</id> |
| 137 | <goals> |
| 138 | <goal>prepare-agent</goal> |
| 139 | </goals> |
| 140 | <configuration> |
| 141 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 142 | <append>true</append> |
| 143 | </configuration> |
| 144 | </execution> |
| 145 | <execution> |
| 146 | <id>post-unit-test</id> |
| 147 | <phase>test</phase> |
| 148 | <goals> |
| 149 | <goal>report</goal> |
| 150 | </goals> |
| 151 | <configuration> |
| 152 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 153 | </configuration> |
| 154 | </execution> |
| 155 | </executions> |
| 156 | </plugin> |
| 157 | <plugin> |
| 158 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 159 | <executions> |
| 160 | <execution> |
| 161 | <id>onap-java-style</id> |
| 162 | <goals> |
| 163 | <goal>check</goal> |
| 164 | </goals> |
| 165 | <phase>process-sources</phase> |
| 166 | <configuration> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 167 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 168 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 169 | <includeResources>true</includeResources> |
| 170 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 171 | <includeTestResources>true</includeTestResources> |
| 172 | <excludes> |
| 173 | </excludes> |
| 174 | <consoleOutput>true</consoleOutput> |
| 175 | <failOnViolation>true</failOnViolation> |
liboNet | 2cf6469 | 2019-03-29 07:29:51 +0800 | [diff] [blame] | 176 | <violationSeverity>error</violationSeverity> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 177 | </configuration> |
| 178 | </execution> |
| 179 | </executions> |
| 180 | <dependencies> |
| 181 | <dependency> |
| 182 | <groupId>org.onap.oparent</groupId> |
| 183 | <artifactId>checkstyle</artifactId> |
| 184 | <version>1.2.0</version> |
| 185 | <scope>compile</scope> |
| 186 | </dependency> |
| 187 | </dependencies> |
| 188 | </plugin> |
| 189 | </plugins> |
| 190 | <pluginManagement> |
| 191 | <plugins> |
| 192 | <plugin> |
| 193 | <groupId>org.jacoco</groupId> |
| 194 | <artifactId>jacoco-maven-plugin</artifactId> |
| 195 | <version>${jacoco.version}</version> |
| 196 | <configuration> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 197 | <excludes> |
| 198 | <exclude>**/gen/**</exclude> |
| 199 | <exclude>**/generated-sources/**</exclude> |
| 200 | <exclude>**/yang-gen/**</exclude> |
| 201 | <exclude>**/pax/**</exclude> |
| 202 | </excludes> |
| 203 | </configuration> |
| 204 | <executions> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 205 | <execution> |
| 206 | <id>pre-unit-test</id> |
| 207 | <goals> |
| 208 | <goal>prepare-agent</goal> |
| 209 | </goals> |
| 210 | <configuration> |
| 211 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 212 | </configuration> |
| 213 | </execution> |
liboNet | 94d7d99 | 2019-03-21 08:01:55 +0800 | [diff] [blame] | 214 | <execution> |
| 215 | <id>post-unit-test</id> |
| 216 | <phase>test</phase> |
| 217 | <goals> |
| 218 | <goal>report</goal> |
| 219 | </goals> |
| 220 | <configuration> |
| 221 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 222 | </configuration> |
| 223 | </execution> |
| 224 | </executions> |
| 225 | </plugin> |
| 226 | </plugins> |
| 227 | </pluginManagement> |
| 228 | </build> |
| 229 | </project> |