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> |
sebdet | 6bcae19 | 2018-10-22 13:09:13 +0200 | [diff] [blame] | 27 | <version>3.0.1-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 | 6bcae19 | 2018-10-22 13:09:13 +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> |
sebdet | 7fcbe52 | 2018-10-22 14:45:34 +0200 | [diff] [blame] | 70 | <springboot.version>2.0.6.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> |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame^] | 146 | <id>onap-releases</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 147 | <name>Clamp Release Repository</name> |
| 148 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 149 | </repository> |
| 150 | <snapshotRepository> |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame^] | 151 | <id>onap-snapshots</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 152 | <name>Clamp Snapshot Repository</name> |
| 153 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 154 | </snapshotRepository> |
| 155 | <site> |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame^] | 156 | <id>onap-site</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 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> |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame^] | 168 | <id>onap-releases</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 169 | <name>ONAP Release Repository</name> |
| 170 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 171 | </repository> |
| 172 | <repository> |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame^] | 173 | <id>onap-staging</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 174 | <name>ONAP Staging Repository</name> |
| 175 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
| 176 | </repository> |
| 177 | <repository> |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame^] | 178 | <id>onap-snapshots</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 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 | 6bcae19 | 2018-10-22 13:09:13 +0200 | [diff] [blame] | 396 | <version>1.3.0</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> |
sebdet | 7fcbe52 | 2018-10-22 14:45:34 +0200 | [diff] [blame] | 446 | <exclusion> |
| 447 | <groupId>commons-fileupload</groupId> |
| 448 | <artifactId>commons-fileupload</artifactId> |
| 449 | </exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 450 | </exclusions> |
| 451 | </dependency> |
| 452 | <dependency> |
| 453 | <groupId>org.onap.policy.common</groupId> |
| 454 | <artifactId>ONAP-Logging</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 455 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 456 | <exclusions> |
| 457 | <exclusion> |
| 458 | <artifactId>log4j</artifactId> |
| 459 | <groupId>log4j</groupId> |
| 460 | </exclusion> |
| 461 | <exclusion> |
| 462 | <groupId>org.slf4j</groupId> |
| 463 | <artifactId>slf4j-log4j12</artifactId> |
| 464 | </exclusion> |
| 465 | <exclusion> |
| 466 | <artifactId>apache-log4j-extras</artifactId> |
| 467 | <groupId>log4j</groupId> |
| 468 | </exclusion> |
| 469 | </exclusions> |
| 470 | </dependency> |
| 471 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 472 | <groupId>org.onap.policy.drools-applications.controlloop.common</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 473 | <artifactId>policy-yaml</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 474 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 475 | <exclusions> |
| 476 | <exclusion> |
| 477 | <artifactId>log4j</artifactId> |
| 478 | <groupId>log4j</groupId> |
| 479 | </exclusion> |
| 480 | <exclusion> |
| 481 | <groupId>org.slf4j</groupId> |
| 482 | <artifactId>slf4j-log4j12</artifactId> |
| 483 | </exclusion> |
| 484 | <exclusion> |
| 485 | <artifactId>apache-log4j-extras</artifactId> |
| 486 | <groupId>log4j</groupId> |
| 487 | </exclusion> |
| 488 | </exclusions> |
| 489 | </dependency> |
| 490 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 491 | <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 492 | <artifactId>sdc</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 493 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 494 | <exclusions> |
| 495 | <exclusion> |
| 496 | <artifactId>log4j</artifactId> |
| 497 | <groupId>log4j</groupId> |
| 498 | </exclusion> |
| 499 | <exclusion> |
| 500 | <groupId>org.slf4j</groupId> |
| 501 | <artifactId>slf4j-log4j12</artifactId> |
| 502 | </exclusion> |
| 503 | <exclusion> |
| 504 | <artifactId>apache-log4j-extras</artifactId> |
| 505 | <groupId>log4j</groupId> |
| 506 | </exclusion> |
| 507 | </exclusions> |
| 508 | </dependency> |
| 509 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 510 | <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 511 | <artifactId>aai</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 512 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 513 | <exclusions> |
| 514 | <exclusion> |
| 515 | <artifactId>log4j</artifactId> |
| 516 | <groupId>log4j</groupId> |
| 517 | </exclusion> |
| 518 | <exclusion> |
| 519 | <groupId>org.slf4j</groupId> |
| 520 | <artifactId>slf4j-log4j12</artifactId> |
| 521 | </exclusion> |
| 522 | <exclusion> |
| 523 | <artifactId>apache-log4j-extras</artifactId> |
| 524 | <groupId>log4j</groupId> |
| 525 | </exclusion> |
| 526 | </exclusions> |
| 527 | </dependency> |
| 528 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 529 | <groupId>org.apache.commons</groupId> |
| 530 | <artifactId>commons-csv</artifactId> |
| 531 | <version>1.3</version> |
| 532 | </dependency> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 533 | <!-- Other dependencies to fix nexus IQ reported vulnerabilities --> |
| 534 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 535 | <groupId>org.codehaus.plexus</groupId> |
| 536 | <artifactId>plexus-utils</artifactId> |
| 537 | <version>3.0.24</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 538 | </dependency> |
| 539 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 540 | <groupId>org.jboss.spec.javax.ws.rs</groupId> |
| 541 | <artifactId>jboss-jaxrs-api_2.0_spec</artifactId> |
| 542 | <version>1.0.1.Final</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 543 | </dependency> |
Determe, Sebastien (sd378r) | 3df350a | 2018-07-03 15:38:34 +0200 | [diff] [blame] | 544 | <dependency> |
| 545 | <groupId>com.google.guava</groupId> |
| 546 | <artifactId>guava</artifactId> |
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> |
sebdet | e442200 | 2018-10-16 17:47:54 +0200 | [diff] [blame] | 622 | |
| 623 | <!-- Copy the NPM package.json for CLAMP UI javascript testing framework --> |
| 624 | <testResource> |
| 625 | <directory>src/test/javascript</directory> |
| 626 | <includes> |
| 627 | <include>**/**.json</include> |
| 628 | </includes> |
| 629 | <filtering>true</filtering> |
| 630 | <targetPath>${project.build.directory}/clamp-ui</targetPath> |
| 631 | </testResource> |
| 632 | <testResource> |
| 633 | <directory>src/main/resources/META-INF/resources/designer</directory> |
| 634 | <filtering>false</filtering> |
| 635 | <targetPath>${project.build.directory}/clamp-ui/designer</targetPath> |
| 636 | </testResource> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 637 | </testResources> |
| 638 | <resources> |
Determe, Sebastien (sd378r) | e1c2aab | 2018-08-17 17:41:15 +0200 | [diff] [blame] | 639 | <!-- For AAF folder maven should not try to filter Keystores/Truststores ... |
| 640 | Otherwise they will be broken and unreadable |
| 641 | --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 642 | <resource> |
| 643 | <directory>src/main/resources</directory> |
| 644 | <filtering>true</filtering> |
Determe, Sebastien (sd378r) | e1c2aab | 2018-08-17 17:41:15 +0200 | [diff] [blame] | 645 | <excludes> |
| 646 | <exclude>clds/aaf/**</exclude> |
| 647 | </excludes> |
| 648 | </resource> |
| 649 | <resource> |
| 650 | <directory>src/main/resources</directory> |
| 651 | <filtering>false</filtering> |
| 652 | <includes> |
| 653 | <include>clds/aaf/**</include> |
| 654 | </includes> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 655 | </resource> |
| 656 | <resource> |
| 657 | <directory>src/main/docker</directory> |
| 658 | <includes> |
| 659 | <include>**/*</include> |
| 660 | </includes> |
| 661 | <filtering>true</filtering> |
| 662 | </resource> |
| 663 | </resources> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 664 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 665 | <plugins> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 666 | <!-- Read the swagger.json file and the definition from SwaggerConfig.java; |
| 667 | generate a list of .adoc files containing the APIs info in more structured |
| 668 | way --> |
| 669 | <plugin> |
| 670 | <groupId>io.github.swagger2markup</groupId> |
| 671 | <artifactId>swagger2markup-maven-plugin</artifactId> |
| 672 | <version>1.3.3</version> |
| 673 | <dependencies> |
| 674 | <dependency> |
| 675 | <groupId>io.github.swagger2markup</groupId> |
| 676 | <artifactId>swagger2markup-import-files-ext</artifactId> |
| 677 | <version>1.3.3</version> |
| 678 | </dependency> |
| 679 | <dependency> |
| 680 | <groupId>io.github.swagger2markup</groupId> |
| 681 | <artifactId>swagger2markup-spring-restdocs-ext</artifactId> |
| 682 | <version>1.3.3</version> |
| 683 | </dependency> |
| 684 | </dependencies> |
| 685 | <configuration> |
| 686 | <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput> |
| 687 | <outputDir>${project.build.directory}/asciidoc/generated</outputDir> |
| 688 | <config> |
| 689 | <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage> |
| 690 | </config> |
| 691 | </configuration> |
| 692 | <executions> |
| 693 | <execution> |
| 694 | <phase>post-integration-test</phase> |
| 695 | <goals> |
| 696 | <goal>convertSwagger2markup</goal> |
| 697 | </goals> |
| 698 | </execution> |
| 699 | </executions> |
| 700 | </plugin> |
| 701 | |
| 702 | <!-- Run the generated asciidoc through Asciidoctor to generate other |
| 703 | documentation types, such as PDFs or HTML5 --> |
| 704 | <plugin> |
| 705 | <groupId>org.asciidoctor</groupId> |
| 706 | <artifactId>asciidoctor-maven-plugin</artifactId> |
| 707 | <version>1.5.6</version> |
| 708 | <dependencies> |
| 709 | <dependency> |
| 710 | <groupId>org.asciidoctor</groupId> |
| 711 | <artifactId>asciidoctorj-pdf</artifactId> |
| 712 | <version>1.5.0-alpha.10.1</version> |
| 713 | </dependency> |
| 714 | <dependency> |
| 715 | <groupId>org.jruby</groupId> |
| 716 | <artifactId>jruby-complete</artifactId> |
| 717 | <version>1.7.21</version> |
| 718 | </dependency> |
| 719 | </dependencies> |
| 720 | <configuration> |
| 721 | <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory> |
| 722 | <sourceDocumentName>swagger.adoc</sourceDocumentName> |
| 723 | <attributes> |
| 724 | <doctype>book</doctype> |
| 725 | <toc>left</toc> |
| 726 | <toclevels>3</toclevels> |
Gary Wu | 3a0d027 | 2018-08-24 15:18:20 -0700 | [diff] [blame] | 727 | <numbered/> |
| 728 | <hardbreaks/> |
| 729 | <sectlinks/> |
| 730 | <sectanchors/> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 731 | <generated>${project.build.directory}/asciidoc/generated</generated> |
| 732 | </attributes> |
| 733 | </configuration> |
| 734 | |
| 735 | <executions> |
| 736 | <execution> |
| 737 | <id>output-html</id> |
| 738 | <phase>post-integration-test</phase> |
| 739 | <goals> |
| 740 | <goal>process-asciidoc</goal> |
| 741 | </goals> |
| 742 | <configuration> |
| 743 | <backend>html5</backend> |
| 744 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 745 | <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory> |
| 746 | </configuration> |
| 747 | </execution> |
| 748 | <execution> |
| 749 | <id>output-pdf</id> |
| 750 | <phase>post-integration-test</phase> |
| 751 | <goals> |
| 752 | <goal>process-asciidoc</goal> |
| 753 | </goals> |
| 754 | <configuration> |
| 755 | <backend>pdf</backend> |
| 756 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 757 | </configuration> |
| 758 | </execution> |
| 759 | </executions> |
| 760 | </plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 761 | <plugin> |
| 762 | <groupId>org.codehaus.groovy.maven</groupId> |
| 763 | <artifactId>gmaven-plugin</artifactId> |
| 764 | <version>1.0</version> |
| 765 | <executions> |
| 766 | <execution> |
| 767 | <phase>validate</phase> |
| 768 | <goals> |
| 769 | <goal>execute</goal> |
| 770 | </goals> |
| 771 | <configuration> |
| 772 | <source>${project.basedir}/src/main/script/TagVersion.groovy</source> |
| 773 | </configuration> |
| 774 | </execution> |
| 775 | </executions> |
| 776 | </plugin> |
| 777 | <plugin> |
| 778 | <groupId>org.apache.maven.plugins</groupId> |
| 779 | <artifactId>maven-jar-plugin</artifactId> |
| 780 | <version>3.0.2</version> |
| 781 | <executions> |
| 782 | <execution> |
| 783 | <id>jar-with-only-classes</id> |
| 784 | <phase>package</phase> |
| 785 | <goals> |
| 786 | <goal>jar</goal> |
| 787 | </goals> |
| 788 | <configuration> |
| 789 | <classifier>classes</classifier> |
| 790 | <includes> |
| 791 | <include>org/**</include> |
| 792 | </includes> |
| 793 | </configuration> |
| 794 | </execution> |
| 795 | </executions> |
| 796 | </plugin> |
| 797 | <plugin> |
| 798 | <groupId>org.codehaus.mojo</groupId> |
| 799 | <artifactId>build-helper-maven-plugin</artifactId> |
| 800 | <version>3.0.0</version> |
| 801 | <executions> |
| 802 | <execution> |
| 803 | <goals> |
| 804 | <goal>attach-artifact</goal> |
| 805 | </goals> |
| 806 | <phase>package</phase> |
| 807 | <configuration> |
| 808 | <artifacts> |
| 809 | <artifact> |
| 810 | <file>${project.build.directory}/clamp-classes.jar</file> |
| 811 | <type>jar</type> |
| 812 | <classifier>classes</classifier> |
| 813 | </artifact> |
| 814 | </artifacts> |
| 815 | </configuration> |
| 816 | </execution> |
| 817 | </executions> |
| 818 | </plugin> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 819 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 820 | <plugin> |
| 821 | <groupId>org.springframework.boot</groupId> |
| 822 | <artifactId>spring-boot-maven-plugin</artifactId> |
Determe, Sebastien (sd378r) | bb302a1 | 2018-07-02 15:38:28 +0200 | [diff] [blame] | 823 | <!-- Temporary fix --> |
| 824 | <version>1.5.13.RELEASE</version> |
| 825 | <!-- <version>${springboot.version}</version> --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 826 | <executions> |
| 827 | <execution> |
| 828 | <goals> |
| 829 | <goal>repackage</goal> |
| 830 | </goals> |
| 831 | <phase>package</phase> |
| 832 | </execution> |
| 833 | </executions> |
| 834 | </plugin> |
| 835 | <plugin> |
| 836 | <groupId>org.sonatype.plugins</groupId> |
| 837 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 838 | <version>1.6.7</version> |
| 839 | <extensions>true</extensions> |
| 840 | <configuration> |
| 841 | <nexusUrl>https://nexus.onap.org</nexusUrl> |
| 842 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 843 | <serverId>ecomp-staging</serverId> |
| 844 | <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo> |
| 845 | </configuration> |
| 846 | </plugin> |
Determe, Sebastien (sd378r) | 26400da | 2018-05-24 16:57:30 +0200 | [diff] [blame] | 847 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 848 | <plugin> |
| 849 | <groupId>org.apache.maven.plugins</groupId> |
| 850 | <artifactId>maven-surefire-plugin</artifactId> |
| 851 | <version>2.19.1</version> |
| 852 | <configuration> |
| 853 | <forkCount>1</forkCount> |
| 854 | <reuseForks>false</reuseForks> |
| 855 | </configuration> |
| 856 | </plugin> |
Determe, Sebastien (sd378r) | c06db6e | 2017-09-22 16:52:51 +0200 | [diff] [blame] | 857 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 858 | <plugin> |
| 859 | <groupId>org.apache.maven.plugins</groupId> |
| 860 | <artifactId>maven-failsafe-plugin</artifactId> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 861 | <version>2.17</version> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 862 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 863 | <executions> |
| 864 | <execution> |
| 865 | <id>integration-tests</id> |
| 866 | <goals> |
| 867 | <goal>integration-test</goal> |
| 868 | <goal>verify</goal> |
| 869 | </goals> |
| 870 | <configuration> |
| 871 | <includes> |
| 872 | <include>**/*ItCase.java</include> |
| 873 | </includes> |
| 874 | <forkCount>1</forkCount> |
| 875 | <reuseForks>false</reuseForks> |
| 876 | </configuration> |
| 877 | </execution> |
| 878 | </executions> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 879 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 880 | </plugin> |
| 881 | <plugin> |
| 882 | <groupId>io.fabric8</groupId> |
| 883 | <artifactId>docker-maven-plugin</artifactId> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 884 | <version>0.26.0</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 885 | <configuration> |
| 886 | <verbose>true</verbose> |
| 887 | <apiVersion>1.23</apiVersion> |
| 888 | <images> |
| 889 | <image> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 890 | <name>library/mariadb:10.1.11</name> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 891 | <alias>mariadb</alias> |
| 892 | <run> |
| 893 | <env> |
| 894 | <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD> |
| 895 | </env> |
| 896 | <hostname>mariadb</hostname> |
| 897 | <volumes> |
| 898 | <bind> |
| 899 | <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume> |
| 900 | <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume> |
| 901 | </bind> |
| 902 | </volumes> |
| 903 | <wait> |
| 904 | <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] | 905 | <time>600000</time> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 906 | </wait> |
| 907 | <ports> |
| 908 | <port>${docker.mariadb.port.host}:3306</port> |
| 909 | </ports> |
| 910 | </run> |
| 911 | </image> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 912 | <image> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 913 | <name>library/python:2-slim</name> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 914 | <alias>python</alias> |
| 915 | <run> |
| 916 | <hostname>python</hostname> |
| 917 | <volumes> |
| 918 | <bind> |
| 919 | <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] | 920 | <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] | 921 | </bind> |
| 922 | </volumes> |
| 923 | <wait> |
| 924 | <tcp> |
| 925 | <ports> |
| 926 | <port>8080</port> |
| 927 | </ports> |
| 928 | <mode>direct</mode> |
| 929 | </tcp> |
| 930 | <time>120000</time> |
| 931 | </wait> |
| 932 | <ports> |
| 933 | <port>${docker.http-cache.port.host}:8080</port> |
| 934 | </ports> |
| 935 | <workingDir>/usr/src/http-cache-app</workingDir> |
| 936 | <cmd> |
Determe, Sebastien (sd378r) | 885d7c1 | 2018-04-09 17:56:53 +0200 | [diff] [blame] | 937 | <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] | 938 | </cmd> |
| 939 | </run> |
| 940 | </image> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 941 | <image> |
| 942 | <name>onap/clamp</name> |
| 943 | <alias>onap-clamp</alias> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 944 | <run> |
| 945 | <skip>true</skip> |
| 946 | </run> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 947 | <build> |
| 948 | <cleanup>true</cleanup> |
| 949 | <tags> |
| 950 | <tag>latest</tag> |
| 951 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 952 | <tag>${project.docker.latesttag.version}</tag> |
| 953 | </tags> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 954 | <!-- A relative path is looked up in ${project.basedir}/src/main/docker |
| 955 | by default --> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 956 | <dockerFile>Dockerfile</dockerFile> |
| 957 | <assembly> |
| 958 | <descriptor>assembly/clamp-files.xml</descriptor> |
| 959 | <name>onap-clamp</name> |
| 960 | </assembly> |
| 961 | </build> |
| 962 | </image> |
ac2550 | 96f162e | 2018-09-18 10:07:58 +0200 | [diff] [blame] | 963 | <image> |
| 964 | <name>onap/clamp-dashboard-logstash</name> |
| 965 | <alias>onap-clamp-dashboard-logstash</alias> |
| 966 | <run> |
| 967 | <skip>true</skip> |
| 968 | </run> |
| 969 | <build> |
| 970 | <cleanup>true</cleanup> |
| 971 | <tags> |
| 972 | <tag>latest</tag> |
| 973 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 974 | <tag>${project.docker.latesttag.version}</tag> |
| 975 | </tags> |
ac2550 | a61b86e | 2018-10-10 13:54:08 +0200 | [diff] [blame] | 976 | <dockerFile>logstash/Dockerfile.logstash</dockerFile> |
ac2550 | 96f162e | 2018-09-18 10:07:58 +0200 | [diff] [blame] | 977 | </build> |
| 978 | </image> |
ac2550 | ead1051 | 2018-10-05 13:50:23 +0200 | [diff] [blame] | 979 | <image> |
| 980 | <name>onap/clamp-dashboard-kibana</name> |
| 981 | <alias>onap-clamp-dashboard-kibana</alias> |
| 982 | <run> |
| 983 | <skip>true</skip> |
| 984 | </run> |
| 985 | <build> |
| 986 | <cleanup>true</cleanup> |
| 987 | <tags> |
| 988 | <tag>latest</tag> |
| 989 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 990 | <tag>${project.docker.latesttag.version}</tag> |
| 991 | </tags> |
| 992 | <dockerFile>kibana/Dockerfile.kibana</dockerFile> |
| 993 | </build> |
| 994 | </image> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 995 | </images> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 996 | </configuration> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 997 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 998 | <executions> |
| 999 | <execution> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1000 | <id>generate-images</id> |
| 1001 | <phase>install</phase> |
| 1002 | <goals> |
| 1003 | <goal>build</goal> |
| 1004 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1005 | </execution> |
| 1006 | <execution> |
| 1007 | <id>push-images</id> |
| 1008 | <phase>deploy</phase> |
| 1009 | <goals> |
| 1010 | <goal>push</goal> |
| 1011 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1012 | </execution> |
| 1013 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1014 | <id>docker-start-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1015 | <phase>pre-integration-test</phase> |
| 1016 | <goals> |
| 1017 | <goal>start</goal> |
| 1018 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1019 | </execution> |
| 1020 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1021 | <id>docker-stop-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1022 | <phase>post-integration-test</phase> |
| 1023 | <goals> |
| 1024 | <goal>stop</goal> |
| 1025 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1026 | </execution> |
| 1027 | </executions> |
| 1028 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1029 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1030 | <plugin> |
| 1031 | <groupId>org.jacoco</groupId> |
| 1032 | <artifactId>jacoco-maven-plugin</artifactId> |
| 1033 | <version>0.7.7.201606060606</version> |
| 1034 | <configuration> |
| 1035 | <dumpOnExit>true</dumpOnExit> |
| 1036 | <includes> |
| 1037 | <include>org.onap.clamp.*</include> |
| 1038 | </includes> |
| 1039 | </configuration> |
| 1040 | <executions> |
| 1041 | <execution> |
| 1042 | <id>pre-unit-test</id> |
| 1043 | <goals> |
| 1044 | <goal>prepare-agent</goal> |
| 1045 | </goals> |
| 1046 | <configuration> |
| 1047 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 1048 | <!-- <append>true</append> --> |
| 1049 | </configuration> |
| 1050 | </execution> |
| 1051 | <execution> |
| 1052 | <id>pre-integration-test</id> |
| 1053 | <phase>pre-integration-test</phase> |
| 1054 | <goals> |
| 1055 | <goal>prepare-agent</goal> |
| 1056 | </goals> |
| 1057 | <configuration> |
| 1058 | <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> |
| 1059 | <!-- <append>true</append> --> |
| 1060 | </configuration> |
| 1061 | </execution> |
| 1062 | <execution> |
| 1063 | <goals> |
| 1064 | <goal>merge</goal> |
| 1065 | </goals> |
| 1066 | <phase>post-integration-test</phase> |
| 1067 | <configuration> |
| 1068 | <fileSets> |
| 1069 | <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> |
| 1070 | <directory>${project.build.directory}/coverage-reports</directory> |
| 1071 | <includes> |
| 1072 | <include>*.exec</include> |
| 1073 | </includes> |
| 1074 | </fileSet> |
| 1075 | </fileSets> |
| 1076 | <destFile>${project.build.directory}/jacoco-dev.exec</destFile> |
| 1077 | </configuration> |
| 1078 | </execution> |
| 1079 | </executions> |
| 1080 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1081 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1082 | <!-- This plugin will be useful when we will have multi-modules project --> |
| 1083 | <plugin> |
| 1084 | <groupId>org.codehaus.mojo</groupId> |
| 1085 | <artifactId>versions-maven-plugin</artifactId> |
| 1086 | <version>1.3.1</version> |
| 1087 | </plugin> |
sebdet | e442200 | 2018-10-16 17:47:54 +0200 | [diff] [blame] | 1088 | |
| 1089 | <plugin> |
| 1090 | <groupId>com.github.eirslett</groupId> |
| 1091 | <artifactId>frontend-maven-plugin</artifactId> |
| 1092 | <version>1.6</version> |
| 1093 | <configuration> |
| 1094 | <installDirectory>${project.build.directory}/clamp-ui</installDirectory> |
| 1095 | <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory> |
| 1096 | <skip>${maven.test.skip}</skip> |
| 1097 | </configuration> |
| 1098 | |
| 1099 | <executions> |
| 1100 | <execution> |
| 1101 | <id>install_node_and_npm</id> |
| 1102 | <goals> |
| 1103 | <goal>install-node-and-npm</goal> |
| 1104 | </goals> |
| 1105 | <phase>test</phase> |
| 1106 | <configuration> |
| 1107 | <nodeVersion>v8.11.1</nodeVersion> |
| 1108 | <npmVersion>5.6.0</npmVersion> |
| 1109 | </configuration> |
| 1110 | </execution> |
| 1111 | <execution> |
| 1112 | <id>npm_install</id> |
| 1113 | <goals> |
| 1114 | <goal>npm</goal> |
| 1115 | </goals> |
| 1116 | <phase>test</phase> |
| 1117 | <configuration> |
| 1118 | <arguments>install</arguments> |
| 1119 | </configuration> |
| 1120 | </execution> |
| 1121 | <execution> |
| 1122 | <id>npm_test</id> |
| 1123 | <goals> |
| 1124 | <goal>npm</goal> |
| 1125 | </goals> |
| 1126 | <phase>test</phase> |
| 1127 | <configuration> |
| 1128 | <arguments>run-script test:coverage</arguments> |
| 1129 | </configuration> |
| 1130 | </execution> |
| 1131 | |
| 1132 | </executions> |
| 1133 | </plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1134 | </plugins> |
| 1135 | </build> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1136 | </project> |