ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Determe, Sebastien (sd378r) | e35744d | 2017-08-29 04:21:41 -0700 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP CLAMP |
| 5 | ================================================================================ |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 6 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights |
Determe, Sebastien (sd378r) | e35744d | 2017-08-29 04:21:41 -0700 | [diff] [blame] | 7 | reserved. |
| 8 | ================================================================================ |
| 9 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | you may not use this file except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
ChrisC | 6c9759e | 2017-08-30 01:13:58 -0700 | [diff] [blame] | 12 | |
Determe, Sebastien (sd378r) | e35744d | 2017-08-29 04:21:41 -0700 | [diff] [blame] | 13 | http://www.apache.org/licenses/LICENSE-2.0 |
ChrisC | 6c9759e | 2017-08-30 01:13:58 -0700 | [diff] [blame] | 14 | |
Determe, Sebastien (sd378r) | e35744d | 2017-08-29 04:21:41 -0700 | [diff] [blame] | 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | ============LICENSE_END============================================ |
| 21 | =================================================================== |
Determe, Sebastien (sd378r) | e35744d | 2017-08-29 04:21:41 -0700 | [diff] [blame] | 22 | --> |
Gary Wu | 3a0d027 | 2018-08-24 15:18:20 -0700 | [diff] [blame] | 23 | <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"> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <groupId>org.onap.clamp</groupId> |
| 26 | <artifactId>clds</artifactId> |
Determe, Sebastien (sd378r) | 7a58af8 | 2018-06-06 13:47:21 +0200 | [diff] [blame] | 27 | <version>3.0.0-SNAPSHOT</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 28 | <name>clamp</name> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 29 | |
sebdet | 0adebac | 2018-10-03 11:48:00 +0200 | [diff] [blame] | 30 | <!-- <parent> --> |
| 31 | <!-- <groupId>org.onap.oparent</groupId> --> |
| 32 | <!-- <artifactId>oparent</artifactId> --> |
| 33 | <!-- <version>1.2.0</version> --> |
| 34 | <!-- </parent> --> |
Determe, Sebastien (sd378r) | a66fe45 | 2017-08-08 06:42:49 -0700 | [diff] [blame] | 35 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 36 | <description> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 37 | This project build the ONAP CLAMP JAR that contains CLAMP back-end code and its UI part. |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 38 | |
| 39 | By Default "mvn clean install" command will execute also the unit tests |
| 40 | and the integration tests. The integration tests require a docker engine running. |
| 41 | |
Determe, Sebastien (sd378r) | 08b9492 | 2018-03-27 10:25:41 +0200 | [diff] [blame] | 42 | If you want to skip the integration test you can by doing: |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 43 | "mvn clean install -DskipITs=true" |
| 44 | |
| 45 | For Spring it's possible to specify the application.properties location |
| 46 | "mvn clean install -Dspring.config.location=classpath:application-test.properties" |
| 47 | |
| 48 | The application.properties contains the location of the CLAMP parameters files: |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 49 | - org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json |
| 50 | - org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties |
ChrisC | ae04cf3 | 2018-02-05 05:21:59 -0800 | [diff] [blame] | 51 | |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 52 | </description> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 53 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 54 | <properties> |
Jessica Wagantall | 0a689de | 2018-04-04 18:29:29 -0700 | [diff] [blame] | 55 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 56 | <clamp.project.version>${project.version}</clamp.project.version> |
| 57 | <clamp.build.timestamp>${maven.build.timestamp}</clamp.build.timestamp> |
| 58 | <maven.compiler.source>1.8</maven.compiler.source> |
| 59 | <maven.compiler.target>1.8</maven.compiler.target> |
| 60 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 61 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 62 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 63 | <docker.mariadb.port.host>3306</docker.mariadb.port.host> |
Determe, Sebastien (sd378r) | 378d05b | 2018-03-23 14:46:56 +0100 | [diff] [blame] | 64 | <docker.http-cache.port.host>8085</docker.http-cache.port.host> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 65 | <project.scm.id>git-server</project.scm.id> |
| 66 | <java.version>1.8</java.version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 67 | |
| 68 | <eelf.core.version>1.0.0</eelf.core.version> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 69 | <camel.version>2.22.0</camel.version> |
Determe, Sebastien (sd378r) | cca933e | 2018-08-13 16:18:13 +0200 | [diff] [blame] | 70 | <springboot.version>2.0.3.RELEASE</springboot.version> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 71 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 72 | <sonar.language>java</sonar.language> |
| 73 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 74 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 75 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 76 | <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 77 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 78 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 79 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 80 | <docker.push.registry>localhost:5000</docker.push.registry> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 81 | <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 82 | <docker.skip.build>true</docker.skip.build> |
| 83 | <docker.skip.push>true</docker.skip.push> |
| 84 | <docker.skip.tag>true</docker.skip.tag> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 85 | <skip.staging.artifacts>false</skip.staging.artifacts> |
Gary Wu | 3a0d027 | 2018-08-24 15:18:20 -0700 | [diff] [blame] | 86 | <python.http.proxy.param/> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 87 | <tomcat.version>8.5.32</tomcat.version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 88 | </properties> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 89 | |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 90 | <profiles> |
| 91 | <profile> |
| 92 | <id>without-test</id> |
| 93 | <activation> |
| 94 | <property> |
| 95 | <name>maven.test.skip</name> |
| 96 | <value>true</value> |
| 97 | </property> |
| 98 | </activation> |
| 99 | <properties> |
| 100 | <docker.skip.run>true</docker.skip.run> |
Determe, Sebastien (sd378r) | 7747b78 | 2018-07-05 16:10:52 +0200 | [diff] [blame] | 101 | <docker.skip>true</docker.skip> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 102 | </properties> |
| 103 | </profile> |
| 104 | <profile> |
| 105 | <id>without-IT-only</id> |
| 106 | <activation> |
| 107 | <property> |
| 108 | <name>skipITs</name> |
| 109 | <value>true</value> |
| 110 | </property> |
| 111 | </activation> |
| 112 | <properties> |
| 113 | <docker.skip.run>true</docker.skip.run> |
Determe, Sebastien (sd378r) | 7747b78 | 2018-07-05 16:10:52 +0200 | [diff] [blame] | 114 | <docker.skip>true</docker.skip> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 115 | </properties> |
| 116 | </profile> |
| 117 | <profile> |
| 118 | <id>without-IT-only2</id> |
| 119 | <activation> |
| 120 | <property> |
| 121 | <name>skipTests</name> |
| 122 | <value>true</value> |
| 123 | </property> |
| 124 | </activation> |
| 125 | <properties> |
| 126 | <docker.skip.run>true</docker.skip.run> |
Determe, Sebastien (sd378r) | 7747b78 | 2018-07-05 16:10:52 +0200 | [diff] [blame] | 127 | <docker.skip>true</docker.skip> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 128 | </properties> |
| 129 | </profile> |
| 130 | <profile> |
| 131 | <id>docker</id> |
| 132 | <properties> |
| 133 | <skip.staging.artifacts>true</skip.staging.artifacts> |
| 134 | <docker.skip.build>false</docker.skip.build> |
| 135 | <docker.skip.tag>false</docker.skip.tag> |
| 136 | <docker.skip.push>false</docker.skip.push> |
Determe, Sebastien (sd378r) | 7747b78 | 2018-07-05 16:10:52 +0200 | [diff] [blame] | 137 | <docker.skip>false</docker.skip> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 138 | </properties> |
| 139 | </profile> |
| 140 | </profiles> |
| 141 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 142 | <distributionManagement> |
| 143 | <repository> |
| 144 | <id>ecomp-releases</id> |
| 145 | <name>Clamp Release Repository</name> |
| 146 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 147 | </repository> |
| 148 | <snapshotRepository> |
| 149 | <id>ecomp-snapshots</id> |
| 150 | <name>Clamp Snapshot Repository</name> |
| 151 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 152 | </snapshotRepository> |
| 153 | <site> |
| 154 | <id>ecomp-site</id> |
| 155 | <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url> |
| 156 | </site> |
| 157 | </distributionManagement> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 158 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 159 | <repositories> |
| 160 | <repository> |
| 161 | <id>central</id> |
| 162 | <name>Maven 2 repository 2</name> |
| 163 | <url>http://repo2.maven.org/maven2/</url> |
| 164 | </repository> |
| 165 | <repository> |
| 166 | <id>ecomp-releases</id> |
| 167 | <name>ONAP Release Repository</name> |
| 168 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 169 | </repository> |
| 170 | <repository> |
| 171 | <id>ecomp-staging</id> |
| 172 | <name>ONAP Staging Repository</name> |
| 173 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
| 174 | </repository> |
| 175 | <repository> |
| 176 | <id>ecomp-snapshots</id> |
| 177 | <name>ONAP Snapshot Repository</name> |
| 178 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 179 | <snapshots> |
| 180 | <enabled>true</enabled> |
| 181 | </snapshots> |
| 182 | <releases> |
| 183 | <enabled>false</enabled> |
| 184 | </releases> |
| 185 | </repository> |
| 186 | <repository> |
| 187 | <id>spring-repo</id> |
| 188 | <name>Spring repo</name> |
| 189 | <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url> |
| 190 | </repository> |
| 191 | <repository> |
| 192 | <id>repository.jboss.org-public</id> |
| 193 | <name>JBoss.org Maven repository</name> |
| 194 | <url>https://repository.jboss.org/nexus/content/groups/public</url> |
| 195 | </repository> |
| 196 | </repositories> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 197 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 198 | <dependencyManagement> |
| 199 | <dependencies> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 200 | <!-- Spring Boot BOM --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 201 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 202 | <groupId>org.springframework.boot</groupId> |
| 203 | <artifactId>spring-boot-dependencies</artifactId> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 204 | <version>${springboot.version}</version> |
| 205 | <type>pom</type> |
| 206 | <scope>import</scope> |
| 207 | </dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 208 | <!-- Camel BOM --> |
| 209 | <dependency> |
| 210 | <groupId>org.apache.camel</groupId> |
| 211 | <artifactId>camel-spring-boot-dependencies</artifactId> |
| 212 | <version>${camel.version}</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 213 | <type>pom</type> |
| 214 | <scope>import</scope> |
| 215 | </dependency> |
| 216 | </dependencies> |
| 217 | </dependencyManagement> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 218 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 219 | <dependencies> |
| 220 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 221 | <groupId>com.att.eelf</groupId> |
| 222 | <artifactId>eelf-core</artifactId> |
| 223 | <version>${eelf.core.version}</version> |
| 224 | </dependency> |
Determe, Sebastien (sd378r) | 7a58af8 | 2018-06-06 13:47:21 +0200 | [diff] [blame] | 225 | <dependency> |
Determe, Sebastien (sd378r) | 499e4e8 | 2018-08-09 17:14:09 +0200 | [diff] [blame] | 226 | <groupId>org.codehaus.janino</groupId> |
| 227 | <artifactId>janino</artifactId> |
| 228 | <version>3.0.8</version> |
| 229 | </dependency> |
| 230 | <dependency> |
Determe, Sebastien (sd378r) | 7a58af8 | 2018-06-06 13:47:21 +0200 | [diff] [blame] | 231 | <groupId>org.apache.tomcat.embed</groupId> |
| 232 | <artifactId>tomcat-embed-core</artifactId> |
| 233 | <version>${tomcat.version}</version> |
| 234 | </dependency> |
| 235 | <dependency> |
| 236 | <groupId>org.apache.tomcat.embed</groupId> |
| 237 | <artifactId>tomcat-embed-el</artifactId> |
| 238 | <version>${tomcat.version}</version> |
| 239 | </dependency> |
| 240 | <dependency> |
| 241 | <groupId>org.apache.tomcat.embed</groupId> |
| 242 | <artifactId>tomcat-embed-websocket</artifactId> |
| 243 | <version>${tomcat.version}</version> |
| 244 | </dependency> |
| 245 | <dependency> |
| 246 | <groupId>org.apache.tomcat</groupId> |
| 247 | <artifactId>tomcat-annotations-api</artifactId> |
| 248 | <version>${tomcat.version}</version> |
| 249 | </dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 250 | <!-- For CAMEL --> |
| 251 | <dependency> |
| 252 | <groupId>org.apache.camel</groupId> |
| 253 | <artifactId>camel-spring-boot-starter</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 254 | </dependency> |
| 255 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 256 | <groupId>org.apache.camel</groupId> |
| 257 | <artifactId>camel-jaxb-starter</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 258 | </dependency> |
| 259 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 260 | <groupId>org.apache.camel</groupId> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 261 | <artifactId>camel-servlet-starter</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 262 | </dependency> |
Determe, Sebastien (sd378r) | f785516 | 2018-04-27 14:02:39 +0200 | [diff] [blame] | 263 | <dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 264 | <groupId>org.apache.camel</groupId> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 265 | <artifactId>camel-jackson-starter</artifactId> |
| 266 | </dependency> |
| 267 | <dependency> |
| 268 | <groupId>org.apache.camel</groupId> |
| 269 | <artifactId>camel-swagger-java-starter</artifactId> |
| 270 | <exclusions> |
| 271 | <exclusion> |
| 272 | <groupId>javax.ws.rs</groupId> |
| 273 | <artifactId>jsr311-api</artifactId> |
| 274 | </exclusion> |
Determe, Sebastien (sd378r) | db25b62 | 2018-08-06 15:30:35 +0200 | [diff] [blame] | 275 | <exclusion> |
| 276 | <groupId>org.slf4j</groupId> |
| 277 | <artifactId>slf4j-ext</artifactId> |
| 278 | </exclusion> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 279 | </exclusions> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 280 | </dependency> |
| 281 | <dependency> |
Determe, Sebastien (sd378r) | f785516 | 2018-04-27 14:02:39 +0200 | [diff] [blame] | 282 | <groupId>javax.xml.bind</groupId> |
| 283 | <artifactId>jaxb-api</artifactId> |
| 284 | <version>2.3.0</version> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 285 | </dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 286 | <dependency> |
| 287 | <groupId>org.glassfish.jersey.core</groupId> |
| 288 | <artifactId>jersey-common</artifactId> |
| 289 | <version>2.27</version> |
| 290 | </dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 291 | <!-- Spring famework --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 292 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 293 | <groupId>org.springframework.boot</groupId> |
| 294 | <artifactId>spring-boot-starter-web</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 295 | </dependency> |
| 296 | <dependency> |
| 297 | <groupId>org.springframework.boot</groupId> |
| 298 | <artifactId>spring-boot-starter-tomcat</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 299 | </dependency> |
| 300 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 301 | <groupId>org.springframework</groupId> |
| 302 | <artifactId>spring-jdbc</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 303 | </dependency> |
| 304 | <dependency> |
| 305 | <groupId>org.springframework.boot</groupId> |
| 306 | <artifactId>spring-boot-starter-security</artifactId> |
| 307 | </dependency> |
| 308 | <dependency> |
| 309 | <groupId>org.springframework.boot</groupId> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 310 | <artifactId>spring-boot-autoconfigure</artifactId> |
| 311 | </dependency> |
| 312 | <dependency> |
| 313 | <groupId>org.springframework.boot</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 314 | <artifactId>spring-boot-starter-test</artifactId> |
| 315 | <scope>test</scope> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 316 | <exclusions> |
| 317 | <exclusion> |
| 318 | <groupId>com.vaadin.external.google</groupId> |
| 319 | <artifactId>android-json</artifactId> |
| 320 | </exclusion> |
| 321 | </exclusions> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 322 | </dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 323 | <!-- Others dependencies --> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 324 | <dependency> |
xg353y | e640955 | 2018-05-08 16:21:39 +0200 | [diff] [blame] | 325 | <groupId>org.onap.aaf.authz</groupId> |
| 326 | <artifactId>aaf-cadi-aaf</artifactId> |
xg353y | 7e836e1 | 2018-06-06 15:50:33 +0200 | [diff] [blame] | 327 | <version>2.1.1</version> |
xg353y | e640955 | 2018-05-08 16:21:39 +0200 | [diff] [blame] | 328 | <exclusions> |
| 329 | <exclusion> |
| 330 | <groupId>javax.servlet</groupId> |
| 331 | <artifactId>servlet-api</artifactId> |
| 332 | </exclusion> |
| 333 | </exclusions> |
| 334 | </dependency> |
| 335 | <dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 336 | <groupId>ch.qos.logback</groupId> |
| 337 | <artifactId>logback-core</artifactId> |
| 338 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 339 | </dependency> |
| 340 | <dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 341 | <groupId>ch.qos.logback</groupId> |
| 342 | <artifactId>logback-classic</artifactId> |
| 343 | <version>1.2.3</version> |
| 344 | </dependency> |
| 345 | <dependency> |
| 346 | <groupId>commons-dbcp</groupId> |
| 347 | <artifactId>commons-dbcp</artifactId> |
| 348 | <version>1.4</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 349 | </dependency> |
| 350 | <dependency> |
| 351 | <groupId>commons-io</groupId> |
| 352 | <artifactId>commons-io</artifactId> |
| 353 | <version>2.6</version> |
| 354 | </dependency> |
| 355 | <dependency> |
| 356 | <groupId>com.googlecode.json-simple</groupId> |
| 357 | <artifactId>json-simple</artifactId> |
| 358 | </dependency> |
| 359 | <dependency> |
| 360 | <groupId>org.apache.commons</groupId> |
| 361 | <artifactId>commons-vfs2</artifactId> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 362 | <version>2.2</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 363 | </dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 364 | <dependency> |
| 365 | <groupId>joda-time</groupId> |
| 366 | <artifactId>joda-time</artifactId> |
| 367 | </dependency> |
| 368 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 369 | <groupId>org.slf4j</groupId> |
| 370 | <artifactId>slf4j-api</artifactId> |
| 371 | </dependency> |
| 372 | <dependency> |
| 373 | <groupId>javax.ws.rs</groupId> |
| 374 | <artifactId>javax.ws.rs-api</artifactId> |
| 375 | <version>2.0</version> |
| 376 | </dependency> |
| 377 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 378 | <groupId>junit</groupId> |
| 379 | <artifactId>junit</artifactId> |
| 380 | </dependency> |
| 381 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 382 | <groupId>javax.transaction</groupId> |
| 383 | <artifactId>jta</artifactId> |
| 384 | <version>1.1</version> |
| 385 | </dependency> |
| 386 | <dependency> |
| 387 | <groupId>javax.persistence</groupId> |
| 388 | <artifactId>persistence-api</artifactId> |
| 389 | <version>1.0.2</version> |
| 390 | </dependency> |
| 391 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 392 | <groupId>org.onap.policy.engine</groupId> |
| 393 | <artifactId>PolicyEngineAPI</artifactId> |
sebdet | 0adebac | 2018-10-03 11:48:00 +0200 | [diff] [blame] | 394 | <version>1.3.0-SNAPSHOT</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 395 | <exclusions> |
| 396 | <exclusion> |
Bertozzi, Julien (jb379x) | 009f713 | 2018-03-08 15:53:57 -0500 | [diff] [blame] | 397 | <groupId>com.google.guava</groupId> |
| 398 | <artifactId>guava</artifactId> |
| 399 | </exclusion> |
| 400 | <exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 401 | <artifactId>log4j</artifactId> |
| 402 | <groupId>log4j</groupId> |
| 403 | </exclusion> |
| 404 | <exclusion> |
| 405 | <groupId>org.slf4j</groupId> |
| 406 | <artifactId>slf4j-log4j12</artifactId> |
| 407 | </exclusion> |
| 408 | <exclusion> |
| 409 | <artifactId>apache-log4j-extras</artifactId> |
| 410 | <groupId>log4j</groupId> |
| 411 | </exclusion> |
| 412 | <exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 413 | <groupId>mysql</groupId> |
| 414 | <artifactId>mysql-connector-java</artifactId> |
| 415 | </exclusion> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 416 | <exclusion> |
| 417 | <groupId>commons-io</groupId> |
| 418 | <artifactId>commons-io</artifactId> |
| 419 | </exclusion> |
Determe, Sebastien (sd378r) | a75076b | 2018-04-09 14:06:35 +0200 | [diff] [blame] | 420 | <exclusion> |
Determe, Sebastien (sd378r) | 215a355 | 2018-07-02 16:12:21 +0200 | [diff] [blame] | 421 | <artifactId>grizzly-http-server</artifactId> |
Determe, Sebastien (sd378r) | a75076b | 2018-04-09 14:06:35 +0200 | [diff] [blame] | 422 | <groupId>org.glassfish.grizzly</groupId> |
| 423 | </exclusion> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 424 | <exclusion> |
| 425 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 426 | <artifactId>dmaapClient</artifactId> |
| 427 | </exclusion> |
| 428 | <exclusion> |
| 429 | <groupId>org.onap.policy.common</groupId> |
| 430 | <artifactId>integrity-monitor</artifactId> |
| 431 | </exclusion> |
| 432 | <exclusion> |
| 433 | <groupId>org.onap.policy.common</groupId> |
| 434 | <artifactId>integrity-audit</artifactId> |
| 435 | </exclusion> |
| 436 | <exclusion> |
| 437 | <groupId>org.onap.aaf.cadi</groupId> |
| 438 | <artifactId>cadi-aaf</artifactId> |
| 439 | </exclusion> |
Determe, Sebastien (sd378r) | d153aaa | 2018-07-05 17:18:19 +0200 | [diff] [blame] | 440 | <exclusion> |
| 441 | <groupId>javax.jms</groupId> |
| 442 | <artifactId>jms</artifactId> |
| 443 | </exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 444 | </exclusions> |
| 445 | </dependency> |
| 446 | <dependency> |
| 447 | <groupId>org.onap.policy.common</groupId> |
| 448 | <artifactId>ONAP-Logging</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 449 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 450 | <exclusions> |
| 451 | <exclusion> |
| 452 | <artifactId>log4j</artifactId> |
| 453 | <groupId>log4j</groupId> |
| 454 | </exclusion> |
| 455 | <exclusion> |
| 456 | <groupId>org.slf4j</groupId> |
| 457 | <artifactId>slf4j-log4j12</artifactId> |
| 458 | </exclusion> |
| 459 | <exclusion> |
| 460 | <artifactId>apache-log4j-extras</artifactId> |
| 461 | <groupId>log4j</groupId> |
| 462 | </exclusion> |
| 463 | </exclusions> |
| 464 | </dependency> |
| 465 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 466 | <groupId>org.onap.policy.drools-applications.controlloop.common</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 467 | <artifactId>policy-yaml</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 468 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 469 | <exclusions> |
| 470 | <exclusion> |
| 471 | <artifactId>log4j</artifactId> |
| 472 | <groupId>log4j</groupId> |
| 473 | </exclusion> |
| 474 | <exclusion> |
| 475 | <groupId>org.slf4j</groupId> |
| 476 | <artifactId>slf4j-log4j12</artifactId> |
| 477 | </exclusion> |
| 478 | <exclusion> |
| 479 | <artifactId>apache-log4j-extras</artifactId> |
| 480 | <groupId>log4j</groupId> |
| 481 | </exclusion> |
| 482 | </exclusions> |
| 483 | </dependency> |
| 484 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 485 | <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 486 | <artifactId>sdc</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 487 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 488 | <exclusions> |
| 489 | <exclusion> |
| 490 | <artifactId>log4j</artifactId> |
| 491 | <groupId>log4j</groupId> |
| 492 | </exclusion> |
| 493 | <exclusion> |
| 494 | <groupId>org.slf4j</groupId> |
| 495 | <artifactId>slf4j-log4j12</artifactId> |
| 496 | </exclusion> |
| 497 | <exclusion> |
| 498 | <artifactId>apache-log4j-extras</artifactId> |
| 499 | <groupId>log4j</groupId> |
| 500 | </exclusion> |
| 501 | </exclusions> |
| 502 | </dependency> |
| 503 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 504 | <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 505 | <artifactId>aai</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 506 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 507 | <exclusions> |
| 508 | <exclusion> |
| 509 | <artifactId>log4j</artifactId> |
| 510 | <groupId>log4j</groupId> |
| 511 | </exclusion> |
| 512 | <exclusion> |
| 513 | <groupId>org.slf4j</groupId> |
| 514 | <artifactId>slf4j-log4j12</artifactId> |
| 515 | </exclusion> |
| 516 | <exclusion> |
| 517 | <artifactId>apache-log4j-extras</artifactId> |
| 518 | <groupId>log4j</groupId> |
| 519 | </exclusion> |
| 520 | </exclusions> |
| 521 | </dependency> |
| 522 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 523 | <groupId>org.apache.commons</groupId> |
| 524 | <artifactId>commons-csv</artifactId> |
| 525 | <version>1.3</version> |
| 526 | </dependency> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 527 | <!-- Other dependencies to fix nexus IQ reported vulnerabilities --> |
| 528 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 529 | <groupId>org.codehaus.plexus</groupId> |
| 530 | <artifactId>plexus-utils</artifactId> |
| 531 | <version>3.0.24</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 532 | </dependency> |
| 533 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 534 | <groupId>commons-fileupload</groupId> |
| 535 | <artifactId>commons-fileupload</artifactId> |
| 536 | <version>1.3.3</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 537 | </dependency> |
| 538 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 539 | <groupId>org.jboss.spec.javax.ws.rs</groupId> |
| 540 | <artifactId>jboss-jaxrs-api_2.0_spec</artifactId> |
| 541 | <version>1.0.1.Final</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 542 | </dependency> |
Determe, Sebastien (sd378r) | 3df350a | 2018-07-03 15:38:34 +0200 | [diff] [blame] | 543 | <dependency> |
| 544 | <groupId>com.google.guava</groupId> |
| 545 | <artifactId>guava</artifactId> |
sebdet | 0adebac | 2018-10-03 11:48:00 +0200 | [diff] [blame] | 546 | <version>25.1-jre</version> |
Determe, Sebastien (sd378r) | 3df350a | 2018-07-03 15:38:34 +0200 | [diff] [blame] | 547 | </dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 548 | <!-- Remove the MYSQL connector and replace it by Mariadb --> |
| 549 | <dependency> |
| 550 | <groupId>org.mariadb.jdbc</groupId> |
| 551 | <artifactId>mariadb-java-client</artifactId> |
Determe, Sebastien (sd378r) | 373a927 | 2018-02-20 18:19:39 +0100 | [diff] [blame] | 552 | <version>2.2.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 553 | </dependency> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 554 | <!-- For SDC Controller --> |
| 555 | <dependency> |
Determe, Sebastien (sd378r) | dd2d790 | 2018-04-06 11:48:07 +0200 | [diff] [blame] | 556 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 557 | <artifactId>sdc-distribution-client</artifactId> |
Determe, Sebastien (sd378r) | dd2d790 | 2018-04-06 11:48:07 +0200 | [diff] [blame] | 558 | <version>1.3.0</version> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 559 | </dependency> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 560 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 561 | <groupId>org.onap.sdc.sdc-tosca</groupId> |
| 562 | <artifactId>sdc-tosca</artifactId> |
osgn422w | 999cc72 | 2018-08-27 18:11:16 +0200 | [diff] [blame] | 563 | <version>1.4.1</version> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 564 | </dependency> |
Gabriel | 2dc06bd | 2018-06-25 08:25:06 +0200 | [diff] [blame] | 565 | <!-- TESTING --> |
| 566 | <dependency> |
| 567 | <groupId>org.assertj</groupId> |
| 568 | <artifactId>assertj-core</artifactId> |
| 569 | <version>3.10.0</version> |
| 570 | <scope>test</scope> |
| 571 | </dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 572 | <dependency> |
| 573 | <groupId>org.mockito</groupId> |
| 574 | <artifactId>mockito-core</artifactId> |
| 575 | <version>1.10.19</version> |
| 576 | <scope>test</scope> |
| 577 | </dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 578 | </dependencies> |
| 579 | <pluginRepositories> |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 580 | <pluginRepository> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 581 | <id>central-for-plugins</id> |
| 582 | <name>Maven 2 repository 2</name> |
| 583 | <url>http://repo2.maven.org/maven2/</url> |
| 584 | </pluginRepository> |
| 585 | <pluginRepository> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 586 | <snapshots> |
| 587 | <enabled>false</enabled> |
| 588 | </snapshots> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 589 | <id>jcenter-releases-for-plugins</id> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 590 | <name>jcenter</name> |
| 591 | <url>http://jcenter.bintray.com</url> |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 592 | </pluginRepository> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 593 | </pluginRepositories> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 594 | <build> |
| 595 | <finalName>clamp</finalName> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 596 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 597 | <testResources> |
| 598 | <testResource> |
| 599 | <directory>src/test/resources</directory> |
| 600 | <excludes> |
| 601 | <exclude>**/*.jks</exclude> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 602 | <exclude>**/*.csar</exclude> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 603 | </excludes> |
| 604 | <filtering>true</filtering> |
| 605 | </testResource> |
| 606 | <testResource> |
| 607 | <directory>src/test/resources/https</directory> |
| 608 | <includes> |
| 609 | <include>**.jks</include> |
| 610 | </includes> |
| 611 | <filtering>false</filtering> |
| 612 | <targetPath>https</targetPath> |
| 613 | </testResource> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 614 | <testResource> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 615 | <directory>src/test/resources/example/sdc</directory> |
| 616 | <includes> |
| 617 | <include>**.csar</include> |
| 618 | </includes> |
| 619 | <filtering>false</filtering> |
| 620 | <targetPath>example/sdc</targetPath> |
| 621 | </testResource> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 622 | </testResources> |
| 623 | <resources> |
Determe, Sebastien (sd378r) | e1c2aab | 2018-08-17 17:41:15 +0200 | [diff] [blame] | 624 | <!-- For AAF folder maven should not try to filter Keystores/Truststores ... |
| 625 | Otherwise they will be broken and unreadable |
| 626 | --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 627 | <resource> |
| 628 | <directory>src/main/resources</directory> |
| 629 | <filtering>true</filtering> |
Determe, Sebastien (sd378r) | e1c2aab | 2018-08-17 17:41:15 +0200 | [diff] [blame] | 630 | <excludes> |
| 631 | <exclude>clds/aaf/**</exclude> |
| 632 | </excludes> |
| 633 | </resource> |
| 634 | <resource> |
| 635 | <directory>src/main/resources</directory> |
| 636 | <filtering>false</filtering> |
| 637 | <includes> |
| 638 | <include>clds/aaf/**</include> |
| 639 | </includes> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 640 | </resource> |
| 641 | <resource> |
| 642 | <directory>src/main/docker</directory> |
| 643 | <includes> |
| 644 | <include>**/*</include> |
| 645 | </includes> |
| 646 | <filtering>true</filtering> |
| 647 | </resource> |
| 648 | </resources> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 649 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 650 | <plugins> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 651 | <!-- Read the swagger.json file and the definition from SwaggerConfig.java; |
| 652 | generate a list of .adoc files containing the APIs info in more structured |
| 653 | way --> |
| 654 | <plugin> |
| 655 | <groupId>io.github.swagger2markup</groupId> |
| 656 | <artifactId>swagger2markup-maven-plugin</artifactId> |
| 657 | <version>1.3.3</version> |
| 658 | <dependencies> |
| 659 | <dependency> |
| 660 | <groupId>io.github.swagger2markup</groupId> |
| 661 | <artifactId>swagger2markup-import-files-ext</artifactId> |
| 662 | <version>1.3.3</version> |
| 663 | </dependency> |
| 664 | <dependency> |
| 665 | <groupId>io.github.swagger2markup</groupId> |
| 666 | <artifactId>swagger2markup-spring-restdocs-ext</artifactId> |
| 667 | <version>1.3.3</version> |
| 668 | </dependency> |
| 669 | </dependencies> |
| 670 | <configuration> |
| 671 | <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput> |
| 672 | <outputDir>${project.build.directory}/asciidoc/generated</outputDir> |
| 673 | <config> |
| 674 | <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage> |
| 675 | </config> |
| 676 | </configuration> |
| 677 | <executions> |
| 678 | <execution> |
| 679 | <phase>post-integration-test</phase> |
| 680 | <goals> |
| 681 | <goal>convertSwagger2markup</goal> |
| 682 | </goals> |
| 683 | </execution> |
| 684 | </executions> |
| 685 | </plugin> |
| 686 | |
| 687 | <!-- Run the generated asciidoc through Asciidoctor to generate other |
| 688 | documentation types, such as PDFs or HTML5 --> |
| 689 | <plugin> |
| 690 | <groupId>org.asciidoctor</groupId> |
| 691 | <artifactId>asciidoctor-maven-plugin</artifactId> |
| 692 | <version>1.5.6</version> |
| 693 | <dependencies> |
| 694 | <dependency> |
| 695 | <groupId>org.asciidoctor</groupId> |
| 696 | <artifactId>asciidoctorj-pdf</artifactId> |
| 697 | <version>1.5.0-alpha.10.1</version> |
| 698 | </dependency> |
| 699 | <dependency> |
| 700 | <groupId>org.jruby</groupId> |
| 701 | <artifactId>jruby-complete</artifactId> |
| 702 | <version>1.7.21</version> |
| 703 | </dependency> |
| 704 | </dependencies> |
| 705 | <configuration> |
| 706 | <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory> |
| 707 | <sourceDocumentName>swagger.adoc</sourceDocumentName> |
| 708 | <attributes> |
| 709 | <doctype>book</doctype> |
| 710 | <toc>left</toc> |
| 711 | <toclevels>3</toclevels> |
Gary Wu | 3a0d027 | 2018-08-24 15:18:20 -0700 | [diff] [blame] | 712 | <numbered/> |
| 713 | <hardbreaks/> |
| 714 | <sectlinks/> |
| 715 | <sectanchors/> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 716 | <generated>${project.build.directory}/asciidoc/generated</generated> |
| 717 | </attributes> |
| 718 | </configuration> |
| 719 | |
| 720 | <executions> |
| 721 | <execution> |
| 722 | <id>output-html</id> |
| 723 | <phase>post-integration-test</phase> |
| 724 | <goals> |
| 725 | <goal>process-asciidoc</goal> |
| 726 | </goals> |
| 727 | <configuration> |
| 728 | <backend>html5</backend> |
| 729 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 730 | <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory> |
| 731 | </configuration> |
| 732 | </execution> |
| 733 | <execution> |
| 734 | <id>output-pdf</id> |
| 735 | <phase>post-integration-test</phase> |
| 736 | <goals> |
| 737 | <goal>process-asciidoc</goal> |
| 738 | </goals> |
| 739 | <configuration> |
| 740 | <backend>pdf</backend> |
| 741 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 742 | </configuration> |
| 743 | </execution> |
| 744 | </executions> |
| 745 | </plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 746 | <plugin> |
| 747 | <groupId>org.codehaus.groovy.maven</groupId> |
| 748 | <artifactId>gmaven-plugin</artifactId> |
| 749 | <version>1.0</version> |
| 750 | <executions> |
| 751 | <execution> |
| 752 | <phase>validate</phase> |
| 753 | <goals> |
| 754 | <goal>execute</goal> |
| 755 | </goals> |
| 756 | <configuration> |
| 757 | <source>${project.basedir}/src/main/script/TagVersion.groovy</source> |
| 758 | </configuration> |
| 759 | </execution> |
| 760 | </executions> |
| 761 | </plugin> |
| 762 | <plugin> |
| 763 | <groupId>org.apache.maven.plugins</groupId> |
| 764 | <artifactId>maven-jar-plugin</artifactId> |
| 765 | <version>3.0.2</version> |
| 766 | <executions> |
| 767 | <execution> |
| 768 | <id>jar-with-only-classes</id> |
| 769 | <phase>package</phase> |
| 770 | <goals> |
| 771 | <goal>jar</goal> |
| 772 | </goals> |
| 773 | <configuration> |
| 774 | <classifier>classes</classifier> |
| 775 | <includes> |
| 776 | <include>org/**</include> |
| 777 | </includes> |
| 778 | </configuration> |
| 779 | </execution> |
| 780 | </executions> |
| 781 | </plugin> |
| 782 | <plugin> |
| 783 | <groupId>org.codehaus.mojo</groupId> |
| 784 | <artifactId>build-helper-maven-plugin</artifactId> |
| 785 | <version>3.0.0</version> |
| 786 | <executions> |
| 787 | <execution> |
| 788 | <goals> |
| 789 | <goal>attach-artifact</goal> |
| 790 | </goals> |
| 791 | <phase>package</phase> |
| 792 | <configuration> |
| 793 | <artifacts> |
| 794 | <artifact> |
| 795 | <file>${project.build.directory}/clamp-classes.jar</file> |
| 796 | <type>jar</type> |
| 797 | <classifier>classes</classifier> |
| 798 | </artifact> |
| 799 | </artifacts> |
| 800 | </configuration> |
| 801 | </execution> |
| 802 | </executions> |
| 803 | </plugin> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 804 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 805 | <plugin> |
| 806 | <groupId>org.springframework.boot</groupId> |
| 807 | <artifactId>spring-boot-maven-plugin</artifactId> |
Determe, Sebastien (sd378r) | bb302a1 | 2018-07-02 15:38:28 +0200 | [diff] [blame] | 808 | <!-- Temporary fix --> |
| 809 | <version>1.5.13.RELEASE</version> |
| 810 | <!-- <version>${springboot.version}</version> --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 811 | <executions> |
| 812 | <execution> |
| 813 | <goals> |
| 814 | <goal>repackage</goal> |
| 815 | </goals> |
| 816 | <phase>package</phase> |
| 817 | </execution> |
| 818 | </executions> |
| 819 | </plugin> |
| 820 | <plugin> |
| 821 | <groupId>org.sonatype.plugins</groupId> |
| 822 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 823 | <version>1.6.7</version> |
| 824 | <extensions>true</extensions> |
| 825 | <configuration> |
| 826 | <nexusUrl>https://nexus.onap.org</nexusUrl> |
| 827 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 828 | <serverId>ecomp-staging</serverId> |
| 829 | <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo> |
| 830 | </configuration> |
| 831 | </plugin> |
Determe, Sebastien (sd378r) | 26400da | 2018-05-24 16:57:30 +0200 | [diff] [blame] | 832 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 833 | <plugin> |
| 834 | <groupId>org.apache.maven.plugins</groupId> |
| 835 | <artifactId>maven-surefire-plugin</artifactId> |
| 836 | <version>2.19.1</version> |
| 837 | <configuration> |
| 838 | <forkCount>1</forkCount> |
| 839 | <reuseForks>false</reuseForks> |
| 840 | </configuration> |
| 841 | </plugin> |
Determe, Sebastien (sd378r) | c06db6e | 2017-09-22 16:52:51 +0200 | [diff] [blame] | 842 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 843 | <plugin> |
| 844 | <groupId>org.apache.maven.plugins</groupId> |
| 845 | <artifactId>maven-failsafe-plugin</artifactId> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 846 | <version>2.17</version> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 847 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 848 | <executions> |
| 849 | <execution> |
| 850 | <id>integration-tests</id> |
| 851 | <goals> |
| 852 | <goal>integration-test</goal> |
| 853 | <goal>verify</goal> |
| 854 | </goals> |
| 855 | <configuration> |
| 856 | <includes> |
| 857 | <include>**/*ItCase.java</include> |
| 858 | </includes> |
| 859 | <forkCount>1</forkCount> |
| 860 | <reuseForks>false</reuseForks> |
| 861 | </configuration> |
| 862 | </execution> |
| 863 | </executions> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 864 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 865 | </plugin> |
| 866 | <plugin> |
| 867 | <groupId>io.fabric8</groupId> |
| 868 | <artifactId>docker-maven-plugin</artifactId> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 869 | <version>0.26.0</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 870 | <configuration> |
| 871 | <verbose>true</verbose> |
| 872 | <apiVersion>1.23</apiVersion> |
| 873 | <images> |
| 874 | <image> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 875 | <name>library/mariadb:10.1.11</name> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 876 | <alias>mariadb</alias> |
| 877 | <run> |
| 878 | <env> |
| 879 | <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD> |
| 880 | </env> |
| 881 | <hostname>mariadb</hostname> |
| 882 | <volumes> |
| 883 | <bind> |
| 884 | <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume> |
| 885 | <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume> |
| 886 | </bind> |
| 887 | </volumes> |
| 888 | <wait> |
| 889 | <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log> |
Determe, Sebastien (sd378r) | b588fbc | 2018-02-13 17:25:12 +0100 | [diff] [blame] | 890 | <time>600000</time> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 891 | </wait> |
| 892 | <ports> |
| 893 | <port>${docker.mariadb.port.host}:3306</port> |
| 894 | </ports> |
| 895 | </run> |
| 896 | </image> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 897 | <image> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 898 | <name>library/python:2-slim</name> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 899 | <alias>python</alias> |
| 900 | <run> |
| 901 | <hostname>python</hostname> |
| 902 | <volumes> |
| 903 | <bind> |
| 904 | <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume> |
ehautot | 153c829 | 2018-03-15 17:49:50 +0100 | [diff] [blame] | 905 | <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 906 | </bind> |
| 907 | </volumes> |
| 908 | <wait> |
| 909 | <tcp> |
| 910 | <ports> |
| 911 | <port>8080</port> |
| 912 | </ports> |
| 913 | <mode>direct</mode> |
| 914 | </tcp> |
| 915 | <time>120000</time> |
| 916 | </wait> |
| 917 | <ports> |
| 918 | <port>${docker.http-cache.port.host}:8080</port> |
| 919 | </ports> |
| 920 | <workingDir>/usr/src/http-cache-app</workingDir> |
| 921 | <cmd> |
Determe, Sebastien (sd378r) | 885d7c1 | 2018-04-09 17:56:53 +0200 | [diff] [blame] | 922 | <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 923 | </cmd> |
| 924 | </run> |
| 925 | </image> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 926 | <image> |
| 927 | <name>onap/clamp</name> |
| 928 | <alias>onap-clamp</alias> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 929 | <run> |
| 930 | <skip>true</skip> |
| 931 | </run> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 932 | <build> |
| 933 | <cleanup>true</cleanup> |
| 934 | <tags> |
| 935 | <tag>latest</tag> |
| 936 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 937 | <tag>${project.docker.latesttag.version}</tag> |
| 938 | </tags> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 939 | <!-- A relative path is looked up in ${project.basedir}/src/main/docker |
| 940 | by default --> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 941 | <dockerFile>Dockerfile</dockerFile> |
| 942 | <assembly> |
| 943 | <descriptor>assembly/clamp-files.xml</descriptor> |
| 944 | <name>onap-clamp</name> |
| 945 | </assembly> |
| 946 | </build> |
| 947 | </image> |
ac2550 | 96f162e | 2018-09-18 10:07:58 +0200 | [diff] [blame] | 948 | <image> |
| 949 | <name>onap/clamp-dashboard-logstash</name> |
| 950 | <alias>onap-clamp-dashboard-logstash</alias> |
| 951 | <run> |
| 952 | <skip>true</skip> |
| 953 | </run> |
| 954 | <build> |
| 955 | <cleanup>true</cleanup> |
| 956 | <tags> |
| 957 | <tag>latest</tag> |
| 958 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 959 | <tag>${project.docker.latesttag.version}</tag> |
| 960 | </tags> |
ac2550 | a61b86e | 2018-10-10 13:54:08 +0200 | [diff] [blame^] | 961 | <dockerFile>logstash/Dockerfile.logstash</dockerFile> |
ac2550 | 96f162e | 2018-09-18 10:07:58 +0200 | [diff] [blame] | 962 | </build> |
| 963 | </image> |
ac2550 | ead1051 | 2018-10-05 13:50:23 +0200 | [diff] [blame] | 964 | <image> |
| 965 | <name>onap/clamp-dashboard-kibana</name> |
| 966 | <alias>onap-clamp-dashboard-kibana</alias> |
| 967 | <run> |
| 968 | <skip>true</skip> |
| 969 | </run> |
| 970 | <build> |
| 971 | <cleanup>true</cleanup> |
| 972 | <tags> |
| 973 | <tag>latest</tag> |
| 974 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 975 | <tag>${project.docker.latesttag.version}</tag> |
| 976 | </tags> |
| 977 | <dockerFile>kibana/Dockerfile.kibana</dockerFile> |
| 978 | </build> |
| 979 | </image> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 980 | </images> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 981 | </configuration> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 982 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 983 | <executions> |
| 984 | <execution> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 985 | <id>generate-images</id> |
| 986 | <phase>install</phase> |
| 987 | <goals> |
| 988 | <goal>build</goal> |
| 989 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 990 | </execution> |
| 991 | <execution> |
| 992 | <id>push-images</id> |
| 993 | <phase>deploy</phase> |
| 994 | <goals> |
| 995 | <goal>push</goal> |
| 996 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 997 | </execution> |
| 998 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 999 | <id>docker-start-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1000 | <phase>pre-integration-test</phase> |
| 1001 | <goals> |
| 1002 | <goal>start</goal> |
| 1003 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1004 | </execution> |
| 1005 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1006 | <id>docker-stop-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1007 | <phase>post-integration-test</phase> |
| 1008 | <goals> |
| 1009 | <goal>stop</goal> |
| 1010 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1011 | </execution> |
| 1012 | </executions> |
| 1013 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1014 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1015 | <plugin> |
| 1016 | <groupId>org.jacoco</groupId> |
| 1017 | <artifactId>jacoco-maven-plugin</artifactId> |
| 1018 | <version>0.7.7.201606060606</version> |
| 1019 | <configuration> |
| 1020 | <dumpOnExit>true</dumpOnExit> |
| 1021 | <includes> |
| 1022 | <include>org.onap.clamp.*</include> |
| 1023 | </includes> |
| 1024 | </configuration> |
| 1025 | <executions> |
| 1026 | <execution> |
| 1027 | <id>pre-unit-test</id> |
| 1028 | <goals> |
| 1029 | <goal>prepare-agent</goal> |
| 1030 | </goals> |
| 1031 | <configuration> |
| 1032 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 1033 | <!-- <append>true</append> --> |
| 1034 | </configuration> |
| 1035 | </execution> |
| 1036 | <execution> |
| 1037 | <id>pre-integration-test</id> |
| 1038 | <phase>pre-integration-test</phase> |
| 1039 | <goals> |
| 1040 | <goal>prepare-agent</goal> |
| 1041 | </goals> |
| 1042 | <configuration> |
| 1043 | <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> |
| 1044 | <!-- <append>true</append> --> |
| 1045 | </configuration> |
| 1046 | </execution> |
| 1047 | <execution> |
| 1048 | <goals> |
| 1049 | <goal>merge</goal> |
| 1050 | </goals> |
| 1051 | <phase>post-integration-test</phase> |
| 1052 | <configuration> |
| 1053 | <fileSets> |
| 1054 | <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> |
| 1055 | <directory>${project.build.directory}/coverage-reports</directory> |
| 1056 | <includes> |
| 1057 | <include>*.exec</include> |
| 1058 | </includes> |
| 1059 | </fileSet> |
| 1060 | </fileSets> |
| 1061 | <destFile>${project.build.directory}/jacoco-dev.exec</destFile> |
| 1062 | </configuration> |
| 1063 | </execution> |
| 1064 | </executions> |
| 1065 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1066 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1067 | <!-- This plugin will be useful when we will have multi-modules project --> |
| 1068 | <plugin> |
| 1069 | <groupId>org.codehaus.mojo</groupId> |
| 1070 | <artifactId>versions-maven-plugin</artifactId> |
| 1071 | <version>1.3.1</version> |
| 1072 | </plugin> |
| 1073 | </plugins> |
| 1074 | </build> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1075 | </project> |