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