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 --> |
Magnusen, Drew (dm741q) | 95886e4 | 2017-11-21 10:56:05 -0600 | [diff] [blame] | 60 | <dmaap.version>1.0.0</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 | |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 112 | <repositories> |
| 113 | <!-- LF repositories --> |
| 114 | <repository> |
| 115 | <id>ecomp-releases</id> |
| 116 | <name>Release Repository</name> |
| 117 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 118 | </repository> |
| 119 | <repository> |
| 120 | <id>ecomp-staging</id> |
| 121 | <name>Staging Repository</name> |
| 122 | <url>${nexusproxy}/content/repositories/staging/</url> |
| 123 | </repository> |
| 124 | <repository> |
| 125 | <id>ecomp-snapshots</id> |
| 126 | <name>Snapshots Repository</name> |
| 127 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 128 | </repository> |
| 129 | <repository> |
| 130 | <id>ecomp-public</id> |
| 131 | <name>Public Repository</name> |
| 132 | <url>${nexusproxy}/content/repositories/public/</url> |
| 133 | </repository> |
| 134 | <!-- LF repositories END --> |
| 135 | </repositories> |
Pamela Dragosh | d78b530 | 2017-11-10 20:07:52 -0500 | [diff] [blame] | 136 | |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 137 | <dependencyManagement> |
| 138 | <dependencies> |
| 139 | <dependency> |
| 140 | <groupId>com.google.guava</groupId> |
| 141 | <artifactId>guava</artifactId> |
Jorge Hernandez | fb79f7a | 2017-08-31 00:09:45 -0500 | [diff] [blame] | 142 | <version>${guava.version}</version> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>javax.ws.rs</groupId> |
| 146 | <artifactId>javax.ws.rs-api</artifactId> |
| 147 | <version>2.0.1</version> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>org.glassfish.hk2.external</groupId> |
| 151 | <artifactId>javax.inject</artifactId> |
| 152 | <version>2.4.0-b31</version> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 156 | <artifactId>jackson-jaxrs-base</artifactId> |
| 157 | <version>${jackson.version}</version> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 161 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 162 | <version>${jackson.version}</version> |
| 163 | </dependency> |
| 164 | <dependency> |
| 165 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 166 | <artifactId>jackson-dataformat-xml</artifactId> |
| 167 | <version>${jackson.version}</version> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 171 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 172 | <version>${jackson.version}</version> |
| 173 | </dependency> |
| 174 | <dependency> |
| 175 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 176 | <artifactId>jackson-datatype-joda</artifactId> |
| 177 | <version>${jackson.version}</version> |
| 178 | </dependency> |
| 179 | <dependency> |
| 180 | <groupId>org.glassfish.jersey.containers</groupId> |
| 181 | <artifactId>jersey-common</artifactId> |
| 182 | <version>${jersey.version}</version> |
| 183 | </dependency> |
| 184 | <dependency> |
| 185 | <groupId>org.glassfish.jersey.containers</groupId> |
| 186 | <artifactId>jersey-container-servlet-core</artifactId> |
| 187 | <version>${jersey.version}</version> |
| 188 | </dependency> |
Jorge Hernandez | 881c32e | 2017-05-25 16:44:15 -0500 | [diff] [blame] | 189 | <dependency> |
| 190 | <groupId>io.swagger</groupId> |
| 191 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 192 | <version>${jersey.swagger.version}</version> |
| 193 | </dependency> |
Jorge Hernandez | 85e1256 | 2017-06-05 09:51:55 -0500 | [diff] [blame] | 194 | <dependency> |
| 195 | <groupId>org.apache.httpcomponents</groupId> |
| 196 | <artifactId>httpclient</artifactId> |
Jorge Hernandez | 8f61e18 | 2017-06-22 17:17:28 -0500 | [diff] [blame] | 197 | <version>${http.client.version}</version> |
Jorge Hernandez | 85e1256 | 2017-06-05 09:51:55 -0500 | [diff] [blame] | 198 | </dependency> |
| 199 | <dependency> |
| 200 | <groupId>org.apache.httpcomponents</groupId> |
| 201 | <artifactId>httpcore</artifactId> |
Jorge Hernandez | 8f61e18 | 2017-06-22 17:17:28 -0500 | [diff] [blame] | 202 | <version>${http.core.version}</version> |
| 203 | </dependency> |
| 204 | <dependency> |
| 205 | <groupId>ch.qos.logback</groupId> |
| 206 | <artifactId>logback-classic</artifactId> |
| 207 | <version>${logback.version}</version> |
Jorge Hernandez | 85e1256 | 2017-06-05 09:51:55 -0500 | [diff] [blame] | 208 | </dependency> |
Jorge Hernandez | f9f086c | 2017-08-15 19:12:25 -0500 | [diff] [blame] | 209 | <dependency> |
| 210 | <groupId>junit</groupId> |
| 211 | <artifactId>junit</artifactId> |
| 212 | <version>${junit.version}</version> |
| 213 | </dependency> |
| 214 | <dependency> |
| 215 | <groupId>org.eclipse.persistence</groupId> |
| 216 | <artifactId>eclipselink</artifactId> |
| 217 | <version>${eclipselink.version}</version> |
| 218 | </dependency> |
| 219 | <dependency> |
Jorge Hernandez | fb79f7a | 2017-08-31 00:09:45 -0500 | [diff] [blame] | 220 | <groupId>org.eclipse.persistence</groupId> |
| 221 | <artifactId>org.eclipse.persistence.jpa</artifactId> |
| 222 | <version>${eclipselink.version}</version> |
| 223 | </dependency> |
| 224 | <dependency> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 225 | <groupId>org.mariadb.jdbc</groupId> |
| 226 | <artifactId>mariadb-java-client</artifactId> |
| 227 | <version>${mariadb.jdbc.version}</version> |
Jorge Hernandez | f9f086c | 2017-08-15 19:12:25 -0500 | [diff] [blame] | 228 | </dependency> |
Jorge Hernandez | 0c40914 | 2017-08-16 12:41:11 -0500 | [diff] [blame] | 229 | <dependency> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 230 | <groupId>org.hibernate</groupId> |
| 231 | <artifactId>hibernate-core</artifactId> |
| 232 | <version>${hibernate.core.version}</version> |
Jorge Hernandez | 0c40914 | 2017-08-16 12:41:11 -0500 | [diff] [blame] | 233 | </dependency> |
| 234 | <dependency> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 235 | <groupId>org.hibernate.common</groupId> |
| 236 | <artifactId>hibernate-commons-annotations</artifactId> |
| 237 | <version>${hibernate.commons.annotations.version}</version> |
Temoc Rodriguez | 82ba922 | 2017-08-17 08:24:55 -0700 | [diff] [blame] | 238 | </dependency> |
Jorge Hernandez | fb79f7a | 2017-08-31 00:09:45 -0500 | [diff] [blame] | 239 | <dependency> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 240 | <groupId>commons-io</groupId> |
| 241 | <artifactId>commons-io</artifactId> |
| 242 | <version>${commons.io.version}</version> |
Jorge Hernandez | fb79f7a | 2017-08-31 00:09:45 -0500 | [diff] [blame] | 243 | </dependency> |
Jorge Hernandez | 7b245f0 | 2017-10-30 17:27:08 -0500 | [diff] [blame] | 244 | <dependency> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 245 | <groupId>xml-apis</groupId> |
| 246 | <artifactId>xml-apis</artifactId> |
| 247 | <version>${xml.apis.version}</version> |
Jorge Hernandez | 7b245f0 | 2017-10-30 17:27:08 -0500 | [diff] [blame] | 248 | </dependency> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 249 | </dependencies> |
| 250 | </dependencyManagement> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 251 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 252 | <build> |
| 253 | <plugins> |
| 254 | <plugin> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 255 | <groupId>org.jacoco</groupId> |
| 256 | <artifactId>jacoco-maven-plugin</artifactId> |
| 257 | <executions> |
| 258 | <execution> |
| 259 | <id>pre-unit-test</id> |
| 260 | <goals> |
| 261 | <goal>prepare-agent</goal> |
| 262 | </goals> |
| 263 | <configuration> |
| 264 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 265 | <append>true</append> |
| 266 | </configuration> |
| 267 | </execution> |
| 268 | <execution> |
| 269 | <id>post-unit-test</id> |
| 270 | <phase>test</phase> |
| 271 | <goals> |
| 272 | <goal>report</goal> |
| 273 | </goals> |
| 274 | <configuration> |
| 275 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 276 | </configuration> |
| 277 | </execution> |
| 278 | </executions> |
| 279 | </plugin> |
| 280 | <plugin> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 281 | <groupId>org.sonatype.plugins</groupId> |
| 282 | <artifactId>nexus-staging-maven-plugin</artifactId> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 283 | <extensions>true</extensions> |
| 284 | <configuration> |
| 285 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 286 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
Pamela Dragosh | 9626594 | 2017-07-31 21:31:31 -0400 | [diff] [blame] | 287 | <serverId>ecomp-staging</serverId> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 288 | </configuration> |
| 289 | </plugin> |
| 290 | <plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 291 | <groupId>org.apache.maven.plugins</groupId> |
| 292 | <artifactId>maven-deploy-plugin</artifactId> |
Pamela Dragosh | a5fd1fb | 2017-02-17 15:31:11 -0500 | [diff] [blame] | 293 | <configuration> |
| 294 | <skip /> |
| 295 | </configuration> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 296 | </plugin> |
| 297 | <plugin> |
| 298 | <groupId>org.apache.maven.plugins</groupId> |
| 299 | <artifactId>maven-compiler-plugin</artifactId> |
| 300 | <version>3.0</version> |
| 301 | <configuration> |
| 302 | <encoding>${project.encoding}</encoding> |
| 303 | <source>${project.source.version}</source> |
| 304 | <target>${project.target.version}</target> |
| 305 | </configuration> |
| 306 | </plugin> |
| 307 | <plugin> |
| 308 | <groupId>org.apache.maven.plugins</groupId> |
| 309 | <artifactId>maven-resources-plugin</artifactId> |
| 310 | <version>2.6</version> |
| 311 | <configuration> |
| 312 | <encoding>${project.encoding}</encoding> |
| 313 | </configuration> |
| 314 | </plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 315 | |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 316 | <plugin> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 317 | <groupId>org.apache.maven.plugins</groupId> |
| 318 | <artifactId>maven-site-plugin</artifactId> |
| 319 | <dependencies> |
| 320 | <dependency> |
| 321 | <groupId>org.apache.maven.wagon</groupId> |
| 322 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 323 | <version>2.10</version> |
| 324 | </dependency> |
| 325 | </dependencies> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 326 | </plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 327 | </plugins> |
| 328 | <pluginManagement> |
| 329 | <plugins> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 330 | <plugin> |
| 331 | <groupId>org.jacoco</groupId> |
| 332 | <artifactId>jacoco-maven-plugin</artifactId> |
| 333 | <version>${jacoco.version}</version> |
| 334 | <configuration> |
| 335 | <!-- Note: This exclusion list should match <sonar.exclusions> property |
| 336 | above --> |
| 337 | <excludes> |
| 338 | <exclude>**/gen/**</exclude> |
| 339 | <exclude>**/generated-sources/**</exclude> |
| 340 | <exclude>**/yang-gen/**</exclude> |
| 341 | <exclude>**/pax/**</exclude> |
| 342 | </excludes> |
| 343 | </configuration> |
| 344 | <executions> |
| 345 | <!-- Prepares the property pointing to the JaCoCo runtime agent which |
| 346 | is passed as VM argument when Maven the Surefire plugin is executed. --> |
| 347 | <execution> |
| 348 | <id>pre-unit-test</id> |
| 349 | <goals> |
| 350 | <goal>prepare-agent</goal> |
| 351 | </goals> |
| 352 | <configuration> |
| 353 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 354 | </configuration> |
| 355 | </execution> |
| 356 | <!-- Ensures that the code coverage report for unit tests is created |
| 357 | after unit tests have been run. --> |
| 358 | <execution> |
| 359 | <id>post-unit-test</id> |
| 360 | <phase>test</phase> |
| 361 | <goals> |
| 362 | <goal>report</goal> |
| 363 | </goals> |
| 364 | <configuration> |
| 365 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 366 | </configuration> |
| 367 | </execution> |
| 368 | </executions> |
| 369 | </plugin> |
| 370 | <plugin> |
| 371 | <groupId>org.eclipse.m2e</groupId> |
| 372 | <artifactId>lifecycle-mapping</artifactId> |
| 373 | <version>1.0.0</version> |
| 374 | <configuration> |
| 375 | <lifecycleMappingMetadata> |
| 376 | <pluginExecutions> |
| 377 | <pluginExecution> |
| 378 | <pluginExecutionFilter> |
| 379 | <groupId>org.apache.maven.plugins</groupId> |
| 380 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 381 | <versionRange>2.17,)</versionRange> |
| 382 | <goals> |
| 383 | <goal>check</goal> |
| 384 | </goals> |
| 385 | </pluginExecutionFilter> |
| 386 | <action> |
| 387 | <ignore /> |
| 388 | </action> |
| 389 | </pluginExecution> |
| 390 | </pluginExecutions> |
| 391 | </lifecycleMappingMetadata> |
| 392 | </configuration> |
| 393 | </plugin> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 394 | </plugins> |
| 395 | </pluginManagement> |
| 396 | </build> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 397 | <reporting> |
Pamela Dragosh | bd6c437 | 2018-02-16 10:30:56 -0500 | [diff] [blame] | 398 | <plugins> |
| 399 | <plugin> |
| 400 | <groupId>org.apache.maven.plugins</groupId> |
| 401 | <artifactId>maven-javadoc-plugin</artifactId> |
| 402 | <version>2.10.4</version> |
| 403 | <configuration> |
| 404 | <failOnError>false</failOnError> |
| 405 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 406 | <docletArtifact> |
| 407 | <groupId>org.umlgraph</groupId> |
| 408 | <artifactId>umlgraph</artifactId> |
| 409 | <version>5.6</version> |
| 410 | </docletArtifact> |
| 411 | <additionalparam>-views</additionalparam> |
| 412 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 413 | </configuration> |
| 414 | </plugin> |
| 415 | </plugins> |
Pamela Dragosh | b67f417 | 2017-04-10 10:24:23 -0400 | [diff] [blame] | 416 | </reporting> |
| 417 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 418 | </project> |