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