Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | ONAP Policy Engine - Drools PDP |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 4 | ================================================================================ |
Pamela Dragosh | 54f5e12 | 2018-02-07 13:02:32 -0500 | [diff] [blame] | 5 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [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 |
Temoc Rodriguez | 82ba922 | 2017-08-17 08:24:55 -0700 | [diff] [blame] | 10 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 11 | http://www.apache.org/licenses/LICENSE-2.0 |
Temoc Rodriguez | 82ba922 | 2017-08-17 08:24:55 -0700 | [diff] [blame] | 12 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [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. |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 18 | ============LICENSE_END========================================================= |
| 19 | --> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 20 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
Guo Ruijing | 15be35a | 2017-08-03 11:32:09 +0000 | [diff] [blame] | 25 | <parent> |
| 26 | <groupId>org.onap.oparent</groupId> |
| 27 | <artifactId>oparent</artifactId> |
Pamela Dragosh | 3358e1e | 2017-09-21 13:35:23 -0400 | [diff] [blame] | 28 | <version>0.1.1</version> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 29 | <relativePath /> |
Guo Ruijing | 15be35a | 2017-08-03 11:32:09 +0000 | [diff] [blame] | 30 | </parent> |
| 31 | |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 32 | <groupId>org.onap.policy.drools-pdp</groupId> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 33 | <artifactId>drools-pdp</artifactId> |
Jessica Wagantall | 9de8f79 | 2017-11-18 18:47:57 -0800 | [diff] [blame] | 34 | <version>1.2.0-SNAPSHOT</version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 35 | <packaging>pom</packaging> |
Jessica Wagantall | 0c625eb | 2017-09-08 13:34:37 -0700 | [diff] [blame] | 36 | <name>policy-drools-pdp</name> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 37 | |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 38 | <description>The ONAP Policy Engine drools-based PDP Project</description> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 39 | |
| 40 | <properties> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 41 | <!-- Project common build settings --> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 42 | <project.source.version>1.8</project.source.version> |
| 43 | <project.target.version>1.8</project.target.version> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 44 | |
| 45 | <!-- Project path properties --> |
| 46 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 47 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
| 48 | <releases.path>content/repositories/releases/</releases.path> |
| 49 | <snapshots.path>content/repositories/snapshots/</snapshots.path> |
| 50 | <staging.path>content/repositories/staging/</staging.path> |
| 51 | |
| 52 | <!-- sonar/jacoco overrides --> |
| 53 | <!-- Overriding oparent default sonar/jacoco settings Combine all our reports |
| 54 | into one file shared across sub-modules --> |
| 55 | <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> |
| 56 | <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 57 | <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> |
| 58 | |
| 59 | <!-- Project common dependency versions --> |
Pamela Dragosh | 22a2335 | 2018-03-14 08:18:29 -0400 | [diff] [blame^] | 60 | <dmaap.version>1.1.3</dmaap.version> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 61 | <cambria.version>0.0.1</cambria.version> |
Jorge Hernandez | 1f2fff6 | 2017-09-13 14:48:05 -0500 | [diff] [blame] | 62 | <jersey.version>2.25.1</jersey.version> |
Pamela Dragosh | 54f5e12 | 2018-02-07 13:02:32 -0500 | [diff] [blame] | 63 | <jersey.swagger.version>1.5.18</jersey.swagger.version> |
Pamela Dragosh | e7e2b09 | 2018-02-08 07:45:28 -0500 | [diff] [blame] | 64 | <jackson.version>2.9.4</jackson.version> |
Pamela Dragosh | 54f5e12 | 2018-02-07 13:02:32 -0500 | [diff] [blame] | 65 | <http.client.version>4.5.5</http.client.version> |
Jorge Hernandez | 8f61e18 | 2017-06-22 17:17:28 -0500 | [diff] [blame] | 66 | <http.core.version>4.4.4</http.core.version> |
| 67 | <logback.version>1.2.3</logback.version> |
Jorge Hernandez | f9f086c | 2017-08-15 19:12:25 -0500 | [diff] [blame] | 68 | <junit.version>4.12</junit.version> |
Jorge Hernandez | fb79f7a | 2017-08-31 00:09:45 -0500 | [diff] [blame] | 69 | <eclipselink.version>2.7.0</eclipselink.version> |
Jorge Hernandez | f9f086c | 2017-08-15 19:12:25 -0500 | [diff] [blame] | 70 | <mariadb.jdbc.version>2.1.0</mariadb.jdbc.version> |
Jorge Hernandez | 0c40914 | 2017-08-16 12:41:11 -0500 | [diff] [blame] | 71 | <hibernate.core.version>5.2.10.Final</hibernate.core.version> |
| 72 | <hibernate.commons.annotations.version>5.0.1.Final</hibernate.commons.annotations.version> |
Jorge Hernandez | fb79f7a | 2017-08-31 00:09:45 -0500 | [diff] [blame] | 73 | <commons.io.version>2.5</commons.io.version> |
Jorge Hernandez | 1f2fff6 | 2017-09-13 14:48:05 -0500 | [diff] [blame] | 74 | <guava.version>23.0</guava.version> |
Jorge Hernandez | 7b245f0 | 2017-10-30 17:27:08 -0500 | [diff] [blame] | 75 | <xml.apis.version>1.4.01</xml.apis.version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 76 | </properties> |
| 77 | |
| 78 | <modules> |
| 79 | <module>policy-utils</module> |
| 80 | <module>policy-core</module> |
| 81 | <module>policy-endpoints</module> |
| 82 | <module>policy-management</module> |
Jorge Hernandez | 564f818 | 2017-06-30 13:29:03 -0500 | [diff] [blame] | 83 | <module>feature-healthcheck</module> |
Jorge Hernandez | 9e69cc2 | 2017-06-26 08:05:30 -0500 | [diff] [blame] | 84 | <module>feature-eelf</module> |
Kevin McKiou | 36cf73f | 2017-08-22 16:08:06 -0500 | [diff] [blame] | 85 | <module>feature-session-persistence</module> |
Magnusen, Drew (dm741q) | ca5aaf0 | 2017-08-25 10:20:46 -0500 | [diff] [blame] | 86 | <module>feature-test-transaction</module> |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 87 | <module>api-state-management</module> |
| 88 | <module>feature-state-management</module> |
Kevin McKiou | 4c53995 | 2017-09-14 12:31:02 -0500 | [diff] [blame] | 89 | <module>api-active-standby-management</module> |
| 90 | <module>feature-active-standby-management</module> |
Charles Cole | c8e0ec6 | 2017-12-14 08:59:26 -0600 | [diff] [blame] | 91 | <module>feature-simulators</module> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 92 | <module>packages</module> |
| 93 | </modules> |
| 94 | |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 95 | <distributionManagement> |
| 96 | <repository> |
Jorge Hernandez | 41ca218 | 2017-07-31 15:35:01 -0500 | [diff] [blame] | 97 | <id>ecomp-releases</id> |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 98 | <name>ONAP Release Repository</name> |
Anaël Closson | 8f7e5de | 2017-04-12 11:09:25 +0200 | [diff] [blame] | 99 | <url>${nexusproxy}/${releases.path}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 100 | </repository> |
| 101 | <snapshotRepository> |
Jorge Hernandez | 41ca218 | 2017-07-31 15:35:01 -0500 | [diff] [blame] | 102 | <id>ecomp-snapshots</id> |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 103 | <name>ONAP Snapshot Repository</name> |
Anaël Closson | 8f7e5de | 2017-04-12 11:09:25 +0200 | [diff] [blame] | 104 | <url>${nexusproxy}/${snapshots.path}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 105 | </snapshotRepository> |
| 106 | <site> |
Jorge Hernandez | 41ca218 | 2017-07-31 15:35:01 -0500 | [diff] [blame] | 107 | <id>ecomp-site</id> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 108 | <url>dav:${nexusproxy}${sitePath}</url> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame] | 109 | </site> |
| 110 | </distributionManagement> |
| 111 | |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 112 | <dependencyManagement> |
| 113 | <dependencies> |
| 114 | <dependency> |
| 115 | <groupId>com.google.guava</groupId> |
| 116 | <artifactId>guava</artifactId> |
Jorge Hernandez | fb79f7a | 2017-08-31 00:09:45 -0500 | [diff] [blame] | 117 | <version>${guava.version}</version> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>javax.ws.rs</groupId> |
| 121 | <artifactId>javax.ws.rs-api</artifactId> |
| 122 | <version>2.0.1</version> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>org.glassfish.hk2.external</groupId> |
| 126 | <artifactId>javax.inject</artifactId> |
| 127 | <version>2.4.0-b31</version> |
| 128 | </dependency> |
| 129 | <dependency> |
| 130 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 131 | <artifactId>jackson-jaxrs-base</artifactId> |
| 132 | <version>${jackson.version}</version> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 136 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 137 | <version>${jackson.version}</version> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 141 | <artifactId>jackson-dataformat-xml</artifactId> |
| 142 | <version>${jackson.version}</version> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 146 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 147 | <version>${jackson.version}</version> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 151 | <artifactId>jackson-datatype-joda</artifactId> |
| 152 | <version>${jackson.version}</version> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>org.glassfish.jersey.containers</groupId> |
| 156 | <artifactId>jersey-common</artifactId> |
| 157 | <version>${jersey.version}</version> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>org.glassfish.jersey.containers</groupId> |
| 161 | <artifactId>jersey-container-servlet-core</artifactId> |
| 162 | <version>${jersey.version}</version> |
| 163 | </dependency> |
Jorge Hernandez | 881c32e | 2017-05-25 16:44:15 -0500 | [diff] [blame] | 164 | <dependency> |
| 165 | <groupId>io.swagger</groupId> |
| 166 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 167 | <version>${jersey.swagger.version}</version> |
| 168 | </dependency> |
Jorge Hernandez | 85e1256 | 2017-06-05 09:51:55 -0500 | [diff] [blame] | 169 | <dependency> |
| 170 | <groupId>org.apache.httpcomponents</groupId> |
| 171 | <artifactId>httpclient</artifactId> |
Jorge Hernandez | 8f61e18 | 2017-06-22 17:17:28 -0500 | [diff] [blame] | 172 | <version>${http.client.version}</version> |
Jorge Hernandez | 85e1256 | 2017-06-05 09:51:55 -0500 | [diff] [blame] | 173 | </dependency> |
| 174 | <dependency> |
| 175 | <groupId>org.apache.httpcomponents</groupId> |
| 176 | <artifactId>httpcore</artifactId> |
Jorge Hernandez | 8f61e18 | 2017-06-22 17:17:28 -0500 | [diff] [blame] | 177 | <version>${http.core.version}</version> |
| 178 | </dependency> |
| 179 | <dependency> |
| 180 | <groupId>ch.qos.logback</groupId> |
| 181 | <artifactId>logback-classic</artifactId> |
| 182 | <version>${logback.version}</version> |
Jorge Hernandez | 85e1256 | 2017-06-05 09:51:55 -0500 | [diff] [blame] | 183 | </dependency> |
Jorge Hernandez | f9f086c | 2017-08-15 19:12:25 -0500 | [diff] [blame] | 184 | <dependency> |
| 185 | <groupId>junit</groupId> |
| 186 | <artifactId>junit</artifactId> |
| 187 | <version>${junit.version}</version> |
| 188 | </dependency> |
| 189 | <dependency> |
| 190 | <groupId>org.eclipse.persistence</groupId> |
| 191 | <artifactId>eclipselink</artifactId> |
| 192 | <version>${eclipselink.version}</version> |
| 193 | </dependency> |
| 194 | <dependency> |
Jorge Hernandez | fb79f7a | 2017-08-31 00:09:45 -0500 | [diff] [blame] | 195 | <groupId>org.eclipse.persistence</groupId> |
| 196 | <artifactId>org.eclipse.persistence.jpa</artifactId> |
| 197 | <version>${eclipselink.version}</version> |
| 198 | </dependency> |
| 199 | <dependency> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 200 | <groupId>org.mariadb.jdbc</groupId> |
| 201 | <artifactId>mariadb-java-client</artifactId> |
| 202 | <version>${mariadb.jdbc.version}</version> |
Jorge Hernandez | f9f086c | 2017-08-15 19:12:25 -0500 | [diff] [blame] | 203 | </dependency> |
Jorge Hernandez | 0c40914 | 2017-08-16 12:41:11 -0500 | [diff] [blame] | 204 | <dependency> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 205 | <groupId>org.hibernate</groupId> |
| 206 | <artifactId>hibernate-core</artifactId> |
| 207 | <version>${hibernate.core.version}</version> |
Jorge Hernandez | 0c40914 | 2017-08-16 12:41:11 -0500 | [diff] [blame] | 208 | </dependency> |
| 209 | <dependency> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 210 | <groupId>org.hibernate.common</groupId> |
| 211 | <artifactId>hibernate-commons-annotations</artifactId> |
| 212 | <version>${hibernate.commons.annotations.version}</version> |
Temoc Rodriguez | 82ba922 | 2017-08-17 08:24:55 -0700 | [diff] [blame] | 213 | </dependency> |
Jorge Hernandez | fb79f7a | 2017-08-31 00:09:45 -0500 | [diff] [blame] | 214 | <dependency> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 215 | <groupId>commons-io</groupId> |
| 216 | <artifactId>commons-io</artifactId> |
| 217 | <version>${commons.io.version}</version> |
Jorge Hernandez | fb79f7a | 2017-08-31 00:09:45 -0500 | [diff] [blame] | 218 | </dependency> |
Jorge Hernandez | 7b245f0 | 2017-10-30 17:27:08 -0500 | [diff] [blame] | 219 | <dependency> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 220 | <groupId>xml-apis</groupId> |
| 221 | <artifactId>xml-apis</artifactId> |
| 222 | <version>${xml.apis.version}</version> |
Jorge Hernandez | 7b245f0 | 2017-10-30 17:27:08 -0500 | [diff] [blame] | 223 | </dependency> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 224 | </dependencies> |
| 225 | </dependencyManagement> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 226 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 227 | <build> |
| 228 | <plugins> |
| 229 | <plugin> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 230 | <groupId>org.jacoco</groupId> |
| 231 | <artifactId>jacoco-maven-plugin</artifactId> |
| 232 | <executions> |
| 233 | <execution> |
| 234 | <id>pre-unit-test</id> |
| 235 | <goals> |
| 236 | <goal>prepare-agent</goal> |
| 237 | </goals> |
| 238 | <configuration> |
| 239 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 240 | <append>true</append> |
| 241 | </configuration> |
| 242 | </execution> |
| 243 | <execution> |
| 244 | <id>post-unit-test</id> |
| 245 | <phase>test</phase> |
| 246 | <goals> |
| 247 | <goal>report</goal> |
| 248 | </goals> |
| 249 | <configuration> |
| 250 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 251 | </configuration> |
| 252 | </execution> |
| 253 | </executions> |
| 254 | </plugin> |
| 255 | <plugin> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 256 | <groupId>org.sonatype.plugins</groupId> |
| 257 | <artifactId>nexus-staging-maven-plugin</artifactId> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 258 | <extensions>true</extensions> |
| 259 | <configuration> |
| 260 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 261 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
Pamela Dragosh | 9626594 | 2017-07-31 21:31:31 -0400 | [diff] [blame] | 262 | <serverId>ecomp-staging</serverId> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 263 | </configuration> |
| 264 | </plugin> |
| 265 | <plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 266 | <groupId>org.apache.maven.plugins</groupId> |
| 267 | <artifactId>maven-deploy-plugin</artifactId> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 268 | <configuration> |
| 269 | <skip /> |
| 270 | </configuration> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 271 | </plugin> |
| 272 | <plugin> |
| 273 | <groupId>org.apache.maven.plugins</groupId> |
| 274 | <artifactId>maven-compiler-plugin</artifactId> |
| 275 | <version>3.0</version> |
| 276 | <configuration> |
| 277 | <encoding>${project.encoding}</encoding> |
| 278 | <source>${project.source.version}</source> |
| 279 | <target>${project.target.version}</target> |
| 280 | </configuration> |
| 281 | </plugin> |
| 282 | <plugin> |
| 283 | <groupId>org.apache.maven.plugins</groupId> |
| 284 | <artifactId>maven-resources-plugin</artifactId> |
| 285 | <version>2.6</version> |
| 286 | <configuration> |
| 287 | <encoding>${project.encoding}</encoding> |
| 288 | </configuration> |
| 289 | </plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 290 | |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 291 | <plugin> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 292 | <groupId>org.apache.maven.plugins</groupId> |
| 293 | <artifactId>maven-site-plugin</artifactId> |
| 294 | <dependencies> |
| 295 | <dependency> |
| 296 | <groupId>org.apache.maven.wagon</groupId> |
| 297 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 298 | <version>2.10</version> |
| 299 | </dependency> |
| 300 | </dependencies> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 301 | </plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 302 | </plugins> |
| 303 | <pluginManagement> |
| 304 | <plugins> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 305 | <plugin> |
| 306 | <groupId>org.jacoco</groupId> |
| 307 | <artifactId>jacoco-maven-plugin</artifactId> |
| 308 | <version>${jacoco.version}</version> |
| 309 | <configuration> |
| 310 | <!-- Note: This exclusion list should match <sonar.exclusions> property |
| 311 | above --> |
| 312 | <excludes> |
| 313 | <exclude>**/gen/**</exclude> |
| 314 | <exclude>**/generated-sources/**</exclude> |
| 315 | <exclude>**/yang-gen/**</exclude> |
| 316 | <exclude>**/pax/**</exclude> |
| 317 | </excludes> |
| 318 | </configuration> |
| 319 | <executions> |
| 320 | <!-- Prepares the property pointing to the JaCoCo runtime agent which |
| 321 | is passed as VM argument when Maven the Surefire plugin is executed. --> |
| 322 | <execution> |
| 323 | <id>pre-unit-test</id> |
| 324 | <goals> |
| 325 | <goal>prepare-agent</goal> |
| 326 | </goals> |
| 327 | <configuration> |
| 328 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 329 | </configuration> |
| 330 | </execution> |
| 331 | <!-- Ensures that the code coverage report for unit tests is created |
| 332 | after unit tests have been run. --> |
| 333 | <execution> |
| 334 | <id>post-unit-test</id> |
| 335 | <phase>test</phase> |
| 336 | <goals> |
| 337 | <goal>report</goal> |
| 338 | </goals> |
| 339 | <configuration> |
| 340 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 341 | </configuration> |
| 342 | </execution> |
| 343 | </executions> |
| 344 | </plugin> |
| 345 | <plugin> |
| 346 | <groupId>org.eclipse.m2e</groupId> |
| 347 | <artifactId>lifecycle-mapping</artifactId> |
| 348 | <version>1.0.0</version> |
| 349 | <configuration> |
| 350 | <lifecycleMappingMetadata> |
| 351 | <pluginExecutions> |
| 352 | <pluginExecution> |
| 353 | <pluginExecutionFilter> |
| 354 | <groupId>org.apache.maven.plugins</groupId> |
| 355 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 356 | <versionRange>2.17,)</versionRange> |
| 357 | <goals> |
| 358 | <goal>check</goal> |
| 359 | </goals> |
| 360 | </pluginExecutionFilter> |
| 361 | <action> |
| 362 | <ignore /> |
| 363 | </action> |
| 364 | </pluginExecution> |
| 365 | </pluginExecutions> |
| 366 | </lifecycleMappingMetadata> |
| 367 | </configuration> |
| 368 | </plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 369 | </plugins> |
| 370 | </pluginManagement> |
| 371 | </build> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 372 | <reporting> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 373 | <plugins> |
| 374 | <plugin> |
| 375 | <groupId>org.apache.maven.plugins</groupId> |
| 376 | <artifactId>maven-javadoc-plugin</artifactId> |
| 377 | <version>2.10.4</version> |
| 378 | <configuration> |
| 379 | <failOnError>false</failOnError> |
| 380 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 381 | <docletArtifact> |
| 382 | <groupId>org.umlgraph</groupId> |
| 383 | <artifactId>umlgraph</artifactId> |
| 384 | <version>5.6</version> |
| 385 | </docletArtifact> |
| 386 | <additionalparam>-views</additionalparam> |
| 387 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 388 | </configuration> |
| 389 | </plugin> |
| 390 | </plugins> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 391 | </reporting> |
| 392 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 393 | </project> |