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 | e9c644b | 2019-06-05 18:46:10 +0200 | [diff] [blame] | 27 | <version>4.1.0-SNAPSHOT</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 28 | <name>clamp</name> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 29 | |
sebdet | a5243a4 | 2019-06-13 13:48:04 +0200 | [diff] [blame] | 30 | |
| 31 | <parent> |
| 32 | <groupId>org.onap.oparent</groupId> |
| 33 | <artifactId>oparent</artifactId> |
| 34 | <version>2.0.0</version> |
| 35 | </parent> |
Determe, Sebastien (sd378r) | a66fe45 | 2017-08-08 06:42:49 -0700 | [diff] [blame] | 36 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 37 | <description> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 38 | 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] | 39 | |
| 40 | By Default "mvn clean install" command will execute also the unit tests |
| 41 | and the integration tests. The integration tests require a docker engine running. |
| 42 | |
Determe, Sebastien (sd378r) | 08b9492 | 2018-03-27 10:25:41 +0200 | [diff] [blame] | 43 | 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] | 44 | "mvn clean install -DskipITs=true" |
| 45 | |
| 46 | For Spring it's possible to specify the application.properties location |
| 47 | "mvn clean install -Dspring.config.location=classpath:application-test.properties" |
| 48 | |
| 49 | The application.properties contains the location of the CLAMP parameters files: |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 50 | - org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json |
| 51 | - org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties |
ChrisC | ae04cf3 | 2018-02-05 05:21:59 -0800 | [diff] [blame] | 52 | |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 53 | </description> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 54 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 55 | <properties> |
Jessica Wagantall | 0a689de | 2018-04-04 18:29:29 -0700 | [diff] [blame] | 56 | <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] | 57 | <clamp.project.version>${project.version}</clamp.project.version> |
| 58 | <clamp.build.timestamp>${maven.build.timestamp}</clamp.build.timestamp> |
| 59 | <maven.compiler.source>1.8</maven.compiler.source> |
| 60 | <maven.compiler.target>1.8</maven.compiler.target> |
| 61 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 62 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 63 | |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 64 | <eelf.core.version>1.0.0</eelf.core.version> |
sebdet | 09bc845 | 2019-05-23 17:34:07 +0200 | [diff] [blame] | 65 | <camel.version>2.24.0</camel.version> |
| 66 | <springboot.version>2.1.5.RELEASE</springboot.version> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 67 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 68 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 69 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 70 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 71 | <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 72 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 73 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
sebdet | 2f22405 | 2018-10-23 17:44:36 +0200 | [diff] [blame] | 74 | <!-- Enable language to disable javascript analysis --> |
| 75 | <sonar.language>java</sonar.language> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 76 | <!-- Parameters for Javascript coverage |
sebdet | 2f22405 | 2018-10-23 17:44:36 +0200 | [diff] [blame] | 77 | <sonar.sources>src/main,${project.build.directory}/clamp-ui/designer</sonar.sources> |
| 78 | <sonar.javascript.lcov.reportPaths>${project.build.directory}/clamp-ui/coverage/lcov.info</sonar.javascript.lcov.reportPaths> |
| 79 | --> |
sebdet | e442200 | 2018-10-16 17:47:54 +0200 | [diff] [blame] | 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/> |
sebdet | 09bc845 | 2019-05-23 17:34:07 +0200 | [diff] [blame] | 89 | <tomcat.version>9.0.20</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 | 1a6b719 | 2019-02-22 08:28:47 +0100 | [diff] [blame] | 146 | <id>ecomp-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 | 1a6b719 | 2019-02-22 08:28:47 +0100 | [diff] [blame] | 151 | <id>ecomp-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 | 1a6b719 | 2019-02-22 08:28:47 +0100 | [diff] [blame] | 156 | <id>ecomp-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> |
sebdet | 2e4242e | 2019-03-15 10:18:51 +0100 | [diff] [blame] | 163 | <id>onap-public</id> |
| 164 | <name>onap-public</name> |
| 165 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 166 | <releases> |
| 167 | <enabled>true</enabled> |
| 168 | </releases> |
| 169 | <snapshots> |
| 170 | <enabled>false</enabled> |
| 171 | </snapshots> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 172 | </repository> |
| 173 | <repository> |
sebdet | 1a6b719 | 2019-02-22 08:28:47 +0100 | [diff] [blame] | 174 | <id>ecomp-releases</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 175 | <name>ONAP Release Repository</name> |
| 176 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 177 | </repository> |
| 178 | <repository> |
sebdet | 1a6b719 | 2019-02-22 08:28:47 +0100 | [diff] [blame] | 179 | <id>ecomp-staging</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 180 | <name>ONAP Staging Repository</name> |
| 181 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
| 182 | </repository> |
| 183 | <repository> |
sebdet | 1a6b719 | 2019-02-22 08:28:47 +0100 | [diff] [blame] | 184 | <id>ecomp-snapshots</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 185 | <name>ONAP Snapshot Repository</name> |
| 186 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 187 | <snapshots> |
| 188 | <enabled>true</enabled> |
| 189 | </snapshots> |
| 190 | <releases> |
| 191 | <enabled>false</enabled> |
| 192 | </releases> |
| 193 | </repository> |
| 194 | <repository> |
sebdet | 2e4242e | 2019-03-15 10:18:51 +0100 | [diff] [blame] | 195 | <id>central</id> |
| 196 | <url>http://repo1.maven.org/maven2/</url> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 197 | </repository> |
| 198 | </repositories> |
sebdet | 2e4242e | 2019-03-15 10:18:51 +0100 | [diff] [blame] | 199 | <pluginRepositories> |
| 200 | <pluginRepository> |
| 201 | <id>onap-public</id> |
| 202 | <name>onap-public</name> |
| 203 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 204 | <releases> |
| 205 | <enabled>true</enabled> |
| 206 | </releases> |
| 207 | <snapshots> |
| 208 | <enabled>false</enabled> |
| 209 | </snapshots> |
| 210 | </pluginRepository> |
| 211 | <pluginRepository> |
| 212 | <id>central</id> |
| 213 | <url>http://repo1.maven.org/maven2/</url> |
| 214 | </pluginRepository> |
| 215 | </pluginRepositories> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 216 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 217 | <dependencyManagement> |
| 218 | <dependencies> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 219 | <!-- Spring Boot BOM --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 220 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 221 | <groupId>org.springframework.boot</groupId> |
| 222 | <artifactId>spring-boot-dependencies</artifactId> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 223 | <version>${springboot.version}</version> |
| 224 | <type>pom</type> |
| 225 | <scope>import</scope> |
| 226 | </dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 227 | <!-- Camel BOM --> |
| 228 | <dependency> |
| 229 | <groupId>org.apache.camel</groupId> |
| 230 | <artifactId>camel-spring-boot-dependencies</artifactId> |
| 231 | <version>${camel.version}</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 232 | <type>pom</type> |
| 233 | <scope>import</scope> |
| 234 | </dependency> |
| 235 | </dependencies> |
| 236 | </dependencyManagement> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 237 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 238 | <dependencies> |
Piotr Darosz | 6eb3742 | 2019-03-08 14:50:29 +0100 | [diff] [blame] | 239 | <dependency> |
| 240 | <groupId>org.apache.xmlgraphics</groupId> |
| 241 | <artifactId>batik-svggen</artifactId> |
| 242 | <version>1.11</version> |
| 243 | </dependency> |
| 244 | <dependency> |
| 245 | <groupId>org.apache.xmlgraphics</groupId> |
| 246 | <artifactId>batik-svg-dom</artifactId> |
| 247 | <version>1.11</version> |
| 248 | </dependency> |
| 249 | <dependency> |
| 250 | <groupId>org.apache.xmlgraphics</groupId> |
| 251 | <artifactId>batik-transcoder</artifactId> |
| 252 | <version>1.11</version> |
| 253 | </dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 254 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 255 | <groupId>com.att.eelf</groupId> |
| 256 | <artifactId>eelf-core</artifactId> |
| 257 | <version>${eelf.core.version}</version> |
| 258 | </dependency> |
Determe, Sebastien (sd378r) | 7a58af8 | 2018-06-06 13:47:21 +0200 | [diff] [blame] | 259 | <dependency> |
Determe, Sebastien (sd378r) | 499e4e8 | 2018-08-09 17:14:09 +0200 | [diff] [blame] | 260 | <groupId>org.codehaus.janino</groupId> |
| 261 | <artifactId>janino</artifactId> |
| 262 | <version>3.0.8</version> |
| 263 | </dependency> |
| 264 | <dependency> |
Determe, Sebastien (sd378r) | 7a58af8 | 2018-06-06 13:47:21 +0200 | [diff] [blame] | 265 | <groupId>org.apache.tomcat.embed</groupId> |
| 266 | <artifactId>tomcat-embed-core</artifactId> |
| 267 | <version>${tomcat.version}</version> |
| 268 | </dependency> |
| 269 | <dependency> |
| 270 | <groupId>org.apache.tomcat.embed</groupId> |
| 271 | <artifactId>tomcat-embed-el</artifactId> |
| 272 | <version>${tomcat.version}</version> |
| 273 | </dependency> |
| 274 | <dependency> |
| 275 | <groupId>org.apache.tomcat.embed</groupId> |
| 276 | <artifactId>tomcat-embed-websocket</artifactId> |
| 277 | <version>${tomcat.version}</version> |
| 278 | </dependency> |
| 279 | <dependency> |
| 280 | <groupId>org.apache.tomcat</groupId> |
| 281 | <artifactId>tomcat-annotations-api</artifactId> |
| 282 | <version>${tomcat.version}</version> |
| 283 | </dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 284 | <!-- For CAMEL --> |
| 285 | <dependency> |
sebdet | dfa86ca | 2019-04-05 15:15:31 +0200 | [diff] [blame] | 286 | <groupId>org.apache.camel</groupId> |
sebdet | 338c218 | 2019-04-25 12:33:31 +0200 | [diff] [blame] | 287 | <artifactId>camel-http4-starter</artifactId> |
sebdet | dfa86ca | 2019-04-05 15:15:31 +0200 | [diff] [blame] | 288 | </dependency> |
| 289 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 290 | <groupId>org.apache.camel</groupId> |
| 291 | <artifactId>camel-spring-boot-starter</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 292 | </dependency> |
| 293 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 294 | <groupId>org.apache.camel</groupId> |
| 295 | <artifactId>camel-jaxb-starter</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 296 | </dependency> |
| 297 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 298 | <groupId>org.apache.camel</groupId> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 299 | <artifactId>camel-servlet-starter</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 300 | </dependency> |
Determe, Sebastien (sd378r) | f785516 | 2018-04-27 14:02:39 +0200 | [diff] [blame] | 301 | <dependency> |
sebdet | 00109a0 | 2019-02-15 15:30:05 +0100 | [diff] [blame] | 302 | <groupId>org.apache.camel</groupId> |
| 303 | <artifactId>camel-gson-starter</artifactId> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 304 | </dependency> |
| 305 | <dependency> |
| 306 | <groupId>org.apache.camel</groupId> |
| 307 | <artifactId>camel-swagger-java-starter</artifactId> |
| 308 | <exclusions> |
| 309 | <exclusion> |
| 310 | <groupId>javax.ws.rs</groupId> |
| 311 | <artifactId>jsr311-api</artifactId> |
| 312 | </exclusion> |
Determe, Sebastien (sd378r) | db25b62 | 2018-08-06 15:30:35 +0200 | [diff] [blame] | 313 | <exclusion> |
| 314 | <groupId>org.slf4j</groupId> |
| 315 | <artifactId>slf4j-ext</artifactId> |
| 316 | </exclusion> |
sebdet | 00109a0 | 2019-02-15 15:30:05 +0100 | [diff] [blame] | 317 | <exclusion> |
| 318 | <groupId>com.fasterxml.jackson.core</groupId> |
| 319 | <artifactId>jackson-databind</artifactId> |
| 320 | </exclusion> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 321 | </exclusions> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 322 | </dependency> |
| 323 | <dependency> |
Determe, Sebastien (sd378r) | f785516 | 2018-04-27 14:02:39 +0200 | [diff] [blame] | 324 | <groupId>javax.xml.bind</groupId> |
| 325 | <artifactId>jaxb-api</artifactId> |
| 326 | <version>2.3.0</version> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 327 | </dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 328 | <dependency> |
| 329 | <groupId>org.glassfish.jersey.core</groupId> |
| 330 | <artifactId>jersey-common</artifactId> |
| 331 | <version>2.27</version> |
| 332 | </dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 333 | <!-- Spring famework --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 334 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 335 | <groupId>org.springframework.boot</groupId> |
| 336 | <artifactId>spring-boot-starter-web</artifactId> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 337 | <exclusions> |
| 338 | <exclusion> |
| 339 | <groupId>org.springframework.boot</groupId> |
| 340 | <artifactId>spring-boot-starter-json</artifactId> |
| 341 | </exclusion> |
| 342 | </exclusions> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 343 | </dependency> |
| 344 | <dependency> |
| 345 | <groupId>org.springframework.boot</groupId> |
| 346 | <artifactId>spring-boot-starter-tomcat</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 347 | </dependency> |
| 348 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 349 | <groupId>org.springframework</groupId> |
| 350 | <artifactId>spring-jdbc</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 351 | </dependency> |
| 352 | <dependency> |
| 353 | <groupId>org.springframework.boot</groupId> |
| 354 | <artifactId>spring-boot-starter-security</artifactId> |
| 355 | </dependency> |
| 356 | <dependency> |
| 357 | <groupId>org.springframework.boot</groupId> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 358 | <artifactId>spring-boot-autoconfigure</artifactId> |
| 359 | </dependency> |
| 360 | <dependency> |
| 361 | <groupId>org.springframework.boot</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 362 | <artifactId>spring-boot-starter-test</artifactId> |
| 363 | <scope>test</scope> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 364 | <exclusions> |
| 365 | <exclusion> |
| 366 | <groupId>com.vaadin.external.google</groupId> |
| 367 | <artifactId>android-json</artifactId> |
| 368 | </exclusion> |
| 369 | </exclusions> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 370 | </dependency> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 371 | <dependency> |
| 372 | <groupId>org.springframework.boot</groupId> |
| 373 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 374 | </dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 375 | <!-- Others dependencies --> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 376 | <dependency> |
xg353y | e640955 | 2018-05-08 16:21:39 +0200 | [diff] [blame] | 377 | <groupId>org.onap.aaf.authz</groupId> |
| 378 | <artifactId>aaf-cadi-aaf</artifactId> |
ChrisC | 989f406 | 2019-04-05 16:24:13 +0200 | [diff] [blame] | 379 | <version>2.1.10</version> |
xg353y | e640955 | 2018-05-08 16:21:39 +0200 | [diff] [blame] | 380 | <exclusions> |
| 381 | <exclusion> |
| 382 | <groupId>javax.servlet</groupId> |
| 383 | <artifactId>servlet-api</artifactId> |
| 384 | </exclusion> |
| 385 | </exclusions> |
| 386 | </dependency> |
| 387 | <dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 388 | <groupId>ch.qos.logback</groupId> |
| 389 | <artifactId>logback-core</artifactId> |
| 390 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 391 | </dependency> |
| 392 | <dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 393 | <groupId>ch.qos.logback</groupId> |
| 394 | <artifactId>logback-classic</artifactId> |
| 395 | <version>1.2.3</version> |
| 396 | </dependency> |
| 397 | <dependency> |
| 398 | <groupId>commons-dbcp</groupId> |
| 399 | <artifactId>commons-dbcp</artifactId> |
| 400 | <version>1.4</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 401 | </dependency> |
| 402 | <dependency> |
| 403 | <groupId>commons-io</groupId> |
| 404 | <artifactId>commons-io</artifactId> |
| 405 | <version>2.6</version> |
| 406 | </dependency> |
| 407 | <dependency> |
| 408 | <groupId>com.googlecode.json-simple</groupId> |
| 409 | <artifactId>json-simple</artifactId> |
sebdet | 8356ed8 | 2019-04-08 14:39:39 +0200 | [diff] [blame] | 410 | <version>1.1.1</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 411 | </dependency> |
| 412 | <dependency> |
| 413 | <groupId>org.apache.commons</groupId> |
| 414 | <artifactId>commons-vfs2</artifactId> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 415 | <version>2.2</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 416 | </dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 417 | <dependency> |
| 418 | <groupId>joda-time</groupId> |
| 419 | <artifactId>joda-time</artifactId> |
| 420 | </dependency> |
| 421 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 422 | <groupId>org.slf4j</groupId> |
| 423 | <artifactId>slf4j-api</artifactId> |
| 424 | </dependency> |
| 425 | <dependency> |
| 426 | <groupId>javax.ws.rs</groupId> |
| 427 | <artifactId>javax.ws.rs-api</artifactId> |
| 428 | <version>2.0</version> |
| 429 | </dependency> |
| 430 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 431 | <groupId>junit</groupId> |
| 432 | <artifactId>junit</artifactId> |
| 433 | </dependency> |
| 434 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 435 | <groupId>javax.transaction</groupId> |
| 436 | <artifactId>jta</artifactId> |
| 437 | <version>1.1</version> |
| 438 | </dependency> |
| 439 | <dependency> |
| 440 | <groupId>javax.persistence</groupId> |
| 441 | <artifactId>persistence-api</artifactId> |
| 442 | <version>1.0.2</version> |
| 443 | </dependency> |
| 444 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 445 | <groupId>org.onap.policy.engine</groupId> |
| 446 | <artifactId>PolicyEngineAPI</artifactId> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 447 | <version>1.3.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 448 | <exclusions> |
| 449 | <exclusion> |
Bertozzi, Julien (jb379x) | 009f713 | 2018-03-08 15:53:57 -0500 | [diff] [blame] | 450 | <groupId>com.google.guava</groupId> |
| 451 | <artifactId>guava</artifactId> |
| 452 | </exclusion> |
| 453 | <exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 454 | <artifactId>log4j</artifactId> |
| 455 | <groupId>log4j</groupId> |
| 456 | </exclusion> |
| 457 | <exclusion> |
| 458 | <groupId>org.slf4j</groupId> |
| 459 | <artifactId>slf4j-log4j12</artifactId> |
| 460 | </exclusion> |
| 461 | <exclusion> |
| 462 | <artifactId>apache-log4j-extras</artifactId> |
| 463 | <groupId>log4j</groupId> |
| 464 | </exclusion> |
| 465 | <exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 466 | <groupId>mysql</groupId> |
| 467 | <artifactId>mysql-connector-java</artifactId> |
| 468 | </exclusion> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 469 | <exclusion> |
| 470 | <groupId>commons-io</groupId> |
| 471 | <artifactId>commons-io</artifactId> |
| 472 | </exclusion> |
Determe, Sebastien (sd378r) | a75076b | 2018-04-09 14:06:35 +0200 | [diff] [blame] | 473 | <exclusion> |
Determe, Sebastien (sd378r) | 215a355 | 2018-07-02 16:12:21 +0200 | [diff] [blame] | 474 | <artifactId>grizzly-http-server</artifactId> |
Determe, Sebastien (sd378r) | a75076b | 2018-04-09 14:06:35 +0200 | [diff] [blame] | 475 | <groupId>org.glassfish.grizzly</groupId> |
| 476 | </exclusion> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 477 | <exclusion> |
| 478 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 479 | <artifactId>dmaapClient</artifactId> |
| 480 | </exclusion> |
| 481 | <exclusion> |
| 482 | <groupId>org.onap.policy.common</groupId> |
| 483 | <artifactId>integrity-monitor</artifactId> |
| 484 | </exclusion> |
| 485 | <exclusion> |
| 486 | <groupId>org.onap.policy.common</groupId> |
| 487 | <artifactId>integrity-audit</artifactId> |
| 488 | </exclusion> |
| 489 | <exclusion> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 490 | <groupId>com.fasterxml.jackson.core</groupId> |
| 491 | <artifactId>jackson-databind</artifactId> |
| 492 | </exclusion> |
| 493 | <exclusion> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 494 | <groupId>org.onap.aaf.cadi</groupId> |
| 495 | <artifactId>cadi-aaf</artifactId> |
| 496 | </exclusion> |
Determe, Sebastien (sd378r) | d153aaa | 2018-07-05 17:18:19 +0200 | [diff] [blame] | 497 | <exclusion> |
| 498 | <groupId>javax.jms</groupId> |
| 499 | <artifactId>jms</artifactId> |
| 500 | </exclusion> |
sebdet | 7fcbe52 | 2018-10-22 14:45:34 +0200 | [diff] [blame] | 501 | <exclusion> |
| 502 | <groupId>commons-fileupload</groupId> |
| 503 | <artifactId>commons-fileupload</artifactId> |
| 504 | </exclusion> |
sebdet | ac4958a | 2018-11-05 14:12:48 +0100 | [diff] [blame] | 505 | <exclusion> |
| 506 | <groupId>com.att.research.xacml</groupId> |
| 507 | <artifactId>xacml</artifactId> |
| 508 | </exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 509 | </exclusions> |
| 510 | </dependency> |
| 511 | <dependency> |
| 512 | <groupId>org.onap.policy.common</groupId> |
| 513 | <artifactId>ONAP-Logging</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 514 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 515 | <exclusions> |
| 516 | <exclusion> |
| 517 | <artifactId>log4j</artifactId> |
| 518 | <groupId>log4j</groupId> |
| 519 | </exclusion> |
| 520 | <exclusion> |
| 521 | <groupId>org.slf4j</groupId> |
| 522 | <artifactId>slf4j-log4j12</artifactId> |
| 523 | </exclusion> |
| 524 | <exclusion> |
| 525 | <artifactId>apache-log4j-extras</artifactId> |
| 526 | <groupId>log4j</groupId> |
| 527 | </exclusion> |
| 528 | </exclusions> |
| 529 | </dependency> |
| 530 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 531 | <groupId>org.onap.policy.drools-applications.controlloop.common</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 532 | <artifactId>policy-yaml</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 533 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 534 | <exclusions> |
| 535 | <exclusion> |
| 536 | <artifactId>log4j</artifactId> |
| 537 | <groupId>log4j</groupId> |
| 538 | </exclusion> |
| 539 | <exclusion> |
| 540 | <groupId>org.slf4j</groupId> |
| 541 | <artifactId>slf4j-log4j12</artifactId> |
| 542 | </exclusion> |
| 543 | <exclusion> |
| 544 | <artifactId>apache-log4j-extras</artifactId> |
| 545 | <groupId>log4j</groupId> |
| 546 | </exclusion> |
| 547 | </exclusions> |
| 548 | </dependency> |
| 549 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 550 | <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 551 | <artifactId>sdc</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 552 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 553 | <exclusions> |
| 554 | <exclusion> |
| 555 | <artifactId>log4j</artifactId> |
| 556 | <groupId>log4j</groupId> |
| 557 | </exclusion> |
| 558 | <exclusion> |
| 559 | <groupId>org.slf4j</groupId> |
| 560 | <artifactId>slf4j-log4j12</artifactId> |
| 561 | </exclusion> |
| 562 | <exclusion> |
| 563 | <artifactId>apache-log4j-extras</artifactId> |
| 564 | <groupId>log4j</groupId> |
| 565 | </exclusion> |
| 566 | </exclusions> |
| 567 | </dependency> |
| 568 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 569 | <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 570 | <artifactId>aai</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 571 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 572 | <exclusions> |
| 573 | <exclusion> |
| 574 | <artifactId>log4j</artifactId> |
| 575 | <groupId>log4j</groupId> |
| 576 | </exclusion> |
| 577 | <exclusion> |
| 578 | <groupId>org.slf4j</groupId> |
| 579 | <artifactId>slf4j-log4j12</artifactId> |
| 580 | </exclusion> |
| 581 | <exclusion> |
| 582 | <artifactId>apache-log4j-extras</artifactId> |
| 583 | <groupId>log4j</groupId> |
| 584 | </exclusion> |
| 585 | </exclusions> |
| 586 | </dependency> |
| 587 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 588 | <groupId>org.apache.commons</groupId> |
| 589 | <artifactId>commons-csv</artifactId> |
| 590 | <version>1.3</version> |
| 591 | </dependency> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 592 | <!-- Other dependencies to fix nexus IQ reported vulnerabilities --> |
| 593 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 594 | <groupId>org.codehaus.plexus</groupId> |
| 595 | <artifactId>plexus-utils</artifactId> |
| 596 | <version>3.0.24</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 597 | </dependency> |
| 598 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 599 | <groupId>org.jboss.spec.javax.ws.rs</groupId> |
| 600 | <artifactId>jboss-jaxrs-api_2.0_spec</artifactId> |
| 601 | <version>1.0.1.Final</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 602 | </dependency> |
Determe, Sebastien (sd378r) | 3df350a | 2018-07-03 15:38:34 +0200 | [diff] [blame] | 603 | <dependency> |
| 604 | <groupId>com.google.guava</groupId> |
| 605 | <artifactId>guava</artifactId> |
sebdet | 029e6b4 | 2019-04-26 16:51:50 +0200 | [diff] [blame] | 606 | <version>27.0-jre</version> |
Determe, Sebastien (sd378r) | 3df350a | 2018-07-03 15:38:34 +0200 | [diff] [blame] | 607 | </dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 608 | <!-- Remove the MYSQL connector and replace it by Mariadb --> |
| 609 | <dependency> |
| 610 | <groupId>org.mariadb.jdbc</groupId> |
| 611 | <artifactId>mariadb-java-client</artifactId> |
Determe, Sebastien (sd378r) | 373a927 | 2018-02-20 18:19:39 +0100 | [diff] [blame] | 612 | <version>2.2.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 613 | </dependency> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 614 | <!-- For SDC Controller --> |
| 615 | <dependency> |
Determe, Sebastien (sd378r) | dd2d790 | 2018-04-06 11:48:07 +0200 | [diff] [blame] | 616 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 617 | <artifactId>sdc-distribution-client</artifactId> |
Determe, Sebastien (sd378r) | dd2d790 | 2018-04-06 11:48:07 +0200 | [diff] [blame] | 618 | <version>1.3.0</version> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 619 | </dependency> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 620 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 621 | <groupId>org.onap.sdc.sdc-tosca</groupId> |
| 622 | <artifactId>sdc-tosca</artifactId> |
sebdet | 12cf41b | 2019-04-23 11:09:54 +0200 | [diff] [blame] | 623 | <version>1.5.1</version> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 624 | </dependency> |
Gabriel | 2dc06bd | 2018-06-25 08:25:06 +0200 | [diff] [blame] | 625 | <!-- TESTING --> |
| 626 | <dependency> |
| 627 | <groupId>org.assertj</groupId> |
| 628 | <artifactId>assertj-core</artifactId> |
| 629 | <version>3.10.0</version> |
| 630 | <scope>test</scope> |
| 631 | </dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 632 | <dependency> |
| 633 | <groupId>org.mockito</groupId> |
| 634 | <artifactId>mockito-core</artifactId> |
| 635 | <version>1.10.19</version> |
| 636 | <scope>test</scope> |
| 637 | </dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 638 | </dependencies> |
sebdet | 2e4242e | 2019-03-15 10:18:51 +0100 | [diff] [blame] | 639 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 640 | <build> |
| 641 | <finalName>clamp</finalName> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 642 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 643 | <testResources> |
| 644 | <testResource> |
| 645 | <directory>src/test/resources</directory> |
| 646 | <excludes> |
| 647 | <exclude>**/*.jks</exclude> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 648 | <exclude>**/*.csar</exclude> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 649 | </excludes> |
| 650 | <filtering>true</filtering> |
| 651 | </testResource> |
| 652 | <testResource> |
| 653 | <directory>src/test/resources/https</directory> |
| 654 | <includes> |
| 655 | <include>**.jks</include> |
| 656 | </includes> |
| 657 | <filtering>false</filtering> |
| 658 | <targetPath>https</targetPath> |
| 659 | </testResource> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 660 | <testResource> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 661 | <directory>src/test/resources/example/sdc</directory> |
| 662 | <includes> |
| 663 | <include>**.csar</include> |
| 664 | </includes> |
| 665 | <filtering>false</filtering> |
| 666 | <targetPath>example/sdc</targetPath> |
| 667 | </testResource> |
sebdet | e442200 | 2018-10-16 17:47:54 +0200 | [diff] [blame] | 668 | |
| 669 | <!-- Copy the NPM package.json for CLAMP UI javascript testing framework --> |
| 670 | <testResource> |
| 671 | <directory>src/test/javascript</directory> |
| 672 | <includes> |
| 673 | <include>**/**.json</include> |
| 674 | </includes> |
| 675 | <filtering>true</filtering> |
| 676 | <targetPath>${project.build.directory}/clamp-ui</targetPath> |
| 677 | </testResource> |
| 678 | <testResource> |
| 679 | <directory>src/main/resources/META-INF/resources/designer</directory> |
| 680 | <filtering>false</filtering> |
| 681 | <targetPath>${project.build.directory}/clamp-ui/designer</targetPath> |
| 682 | </testResource> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 683 | </testResources> |
| 684 | <resources> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 685 | <!-- For AAF folder maven should not try to filter Keystores/Truststores ... |
Determe, Sebastien (sd378r) | e1c2aab | 2018-08-17 17:41:15 +0200 | [diff] [blame] | 686 | Otherwise they will be broken and unreadable |
| 687 | --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 688 | <resource> |
| 689 | <directory>src/main/resources</directory> |
| 690 | <filtering>true</filtering> |
Determe, Sebastien (sd378r) | e1c2aab | 2018-08-17 17:41:15 +0200 | [diff] [blame] | 691 | <excludes> |
| 692 | <exclude>clds/aaf/**</exclude> |
| 693 | </excludes> |
| 694 | </resource> |
| 695 | <resource> |
| 696 | <directory>src/main/resources</directory> |
| 697 | <filtering>false</filtering> |
| 698 | <includes> |
| 699 | <include>clds/aaf/**</include> |
| 700 | </includes> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 701 | </resource> |
| 702 | <resource> |
| 703 | <directory>src/main/docker</directory> |
| 704 | <includes> |
| 705 | <include>**/*</include> |
| 706 | </includes> |
| 707 | <filtering>true</filtering> |
| 708 | </resource> |
| 709 | </resources> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 710 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 711 | <plugins> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 712 | <plugin> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 713 | <groupId>de.jpdigital</groupId> |
| 714 | <artifactId>hibernate52-ddl-maven-plugin</artifactId> |
| 715 | <version>2.2.0</version> |
ChrisC | 11520d6 | 2019-03-12 16:45:43 +0100 | [diff] [blame] | 716 | <dependencies> |
| 717 | <dependency> |
| 718 | <groupId>javax.xml.bind</groupId> |
| 719 | <artifactId>jaxb-api</artifactId> |
| 720 | <version>2.3.0</version> |
| 721 | </dependency> |
| 722 | </dependencies> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 723 | <executions> |
| 724 | <execution> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 725 | <phase>process-classes</phase> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 726 | <goals> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 727 | <goal>gen-ddl</goal> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 728 | </goals> |
| 729 | <configuration> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 730 | <packages><param>org.onap.clamp.dao.model</param></packages> |
| 731 | <dialects><param>MARIADB53</param></dialects> |
| 732 | <outputDirectory>${project.basedir}/extra/sql/bulkload/</outputDirectory> |
| 733 | <outputFileNameSuffix>create-tables</outputFileNameSuffix> |
| 734 | <!-- <createDropStatements>true</createDropStatements> --> |
| 735 | <omitDialectFromFileName>true</omitDialectFromFileName> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 736 | </configuration> |
| 737 | </execution> |
| 738 | </executions> |
ChrisC | 11520d6 | 2019-03-12 16:45:43 +0100 | [diff] [blame] | 739 | |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 740 | </plugin> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 741 | <!-- Read the swagger.json file and the definition from SwaggerConfig.java; |
| 742 | generate a list of .adoc files containing the APIs info in more structured |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 743 | way --> |
| 744 | <plugin> |
| 745 | <groupId>io.github.swagger2markup</groupId> |
| 746 | <artifactId>swagger2markup-maven-plugin</artifactId> |
| 747 | <version>1.3.3</version> |
| 748 | <dependencies> |
| 749 | <dependency> |
| 750 | <groupId>io.github.swagger2markup</groupId> |
| 751 | <artifactId>swagger2markup-import-files-ext</artifactId> |
| 752 | <version>1.3.3</version> |
| 753 | </dependency> |
| 754 | <dependency> |
| 755 | <groupId>io.github.swagger2markup</groupId> |
| 756 | <artifactId>swagger2markup-spring-restdocs-ext</artifactId> |
| 757 | <version>1.3.3</version> |
| 758 | </dependency> |
| 759 | </dependencies> |
| 760 | <configuration> |
| 761 | <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput> |
| 762 | <outputDir>${project.build.directory}/asciidoc/generated</outputDir> |
| 763 | <config> |
| 764 | <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage> |
| 765 | </config> |
| 766 | </configuration> |
| 767 | <executions> |
| 768 | <execution> |
| 769 | <phase>post-integration-test</phase> |
| 770 | <goals> |
| 771 | <goal>convertSwagger2markup</goal> |
| 772 | </goals> |
| 773 | </execution> |
| 774 | </executions> |
| 775 | </plugin> |
| 776 | |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 777 | <!-- Run the generated asciidoc through Asciidoctor to generate other |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 778 | documentation types, such as PDFs or HTML5 --> |
| 779 | <plugin> |
| 780 | <groupId>org.asciidoctor</groupId> |
| 781 | <artifactId>asciidoctor-maven-plugin</artifactId> |
ChrisC | 11520d6 | 2019-03-12 16:45:43 +0100 | [diff] [blame] | 782 | <version>1.5.7.1</version> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 783 | <dependencies> |
| 784 | <dependency> |
| 785 | <groupId>org.asciidoctor</groupId> |
| 786 | <artifactId>asciidoctorj-pdf</artifactId> |
| 787 | <version>1.5.0-alpha.10.1</version> |
| 788 | </dependency> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 789 | </dependencies> |
| 790 | <configuration> |
| 791 | <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory> |
| 792 | <sourceDocumentName>swagger.adoc</sourceDocumentName> |
| 793 | <attributes> |
| 794 | <doctype>book</doctype> |
| 795 | <toc>left</toc> |
| 796 | <toclevels>3</toclevels> |
Gary Wu | 3a0d027 | 2018-08-24 15:18:20 -0700 | [diff] [blame] | 797 | <numbered/> |
| 798 | <hardbreaks/> |
| 799 | <sectlinks/> |
| 800 | <sectanchors/> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 801 | <generated>${project.build.directory}/asciidoc/generated</generated> |
| 802 | </attributes> |
| 803 | </configuration> |
| 804 | |
| 805 | <executions> |
| 806 | <execution> |
| 807 | <id>output-html</id> |
| 808 | <phase>post-integration-test</phase> |
| 809 | <goals> |
| 810 | <goal>process-asciidoc</goal> |
| 811 | </goals> |
| 812 | <configuration> |
| 813 | <backend>html5</backend> |
| 814 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 815 | <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory> |
| 816 | </configuration> |
| 817 | </execution> |
| 818 | <execution> |
| 819 | <id>output-pdf</id> |
| 820 | <phase>post-integration-test</phase> |
| 821 | <goals> |
| 822 | <goal>process-asciidoc</goal> |
| 823 | </goals> |
| 824 | <configuration> |
| 825 | <backend>pdf</backend> |
| 826 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 827 | </configuration> |
| 828 | </execution> |
| 829 | </executions> |
| 830 | </plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 831 | <plugin> |
| 832 | <groupId>org.codehaus.groovy.maven</groupId> |
| 833 | <artifactId>gmaven-plugin</artifactId> |
| 834 | <version>1.0</version> |
| 835 | <executions> |
| 836 | <execution> |
| 837 | <phase>validate</phase> |
| 838 | <goals> |
| 839 | <goal>execute</goal> |
| 840 | </goals> |
| 841 | <configuration> |
| 842 | <source>${project.basedir}/src/main/script/TagVersion.groovy</source> |
| 843 | </configuration> |
| 844 | </execution> |
| 845 | </executions> |
| 846 | </plugin> |
| 847 | <plugin> |
| 848 | <groupId>org.apache.maven.plugins</groupId> |
| 849 | <artifactId>maven-jar-plugin</artifactId> |
| 850 | <version>3.0.2</version> |
| 851 | <executions> |
| 852 | <execution> |
| 853 | <id>jar-with-only-classes</id> |
| 854 | <phase>package</phase> |
| 855 | <goals> |
| 856 | <goal>jar</goal> |
| 857 | </goals> |
| 858 | <configuration> |
| 859 | <classifier>classes</classifier> |
| 860 | <includes> |
| 861 | <include>org/**</include> |
| 862 | </includes> |
| 863 | </configuration> |
| 864 | </execution> |
| 865 | </executions> |
| 866 | </plugin> |
| 867 | <plugin> |
| 868 | <groupId>org.codehaus.mojo</groupId> |
| 869 | <artifactId>build-helper-maven-plugin</artifactId> |
| 870 | <version>3.0.0</version> |
| 871 | <executions> |
| 872 | <execution> |
| 873 | <goals> |
| 874 | <goal>attach-artifact</goal> |
| 875 | </goals> |
| 876 | <phase>package</phase> |
| 877 | <configuration> |
| 878 | <artifacts> |
| 879 | <artifact> |
| 880 | <file>${project.build.directory}/clamp-classes.jar</file> |
| 881 | <type>jar</type> |
| 882 | <classifier>classes</classifier> |
| 883 | </artifact> |
| 884 | </artifacts> |
| 885 | </configuration> |
| 886 | </execution> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 887 | <execution> |
| 888 | <id>reserve-port-for-tests</id> |
| 889 | <phase>process-resources</phase> |
| 890 | <goals> |
| 891 | <goal>reserve-network-port</goal> |
| 892 | </goals> |
| 893 | <configuration> |
| 894 | <portNames> |
| 895 | <portName>docker.mariadb.port.host</portName> |
| 896 | <portName>docker.http-cache.port.host</portName> |
| 897 | <portName>clamp.it.tests.http-redirected</portName> |
| 898 | <portName>clamp.it.tests.https</portName> |
| 899 | <portName>clamp.it.tests.http</portName> |
| 900 | </portNames> |
| 901 | </configuration> |
| 902 | </execution> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 903 | </executions> |
| 904 | </plugin> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 905 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 906 | <plugin> |
| 907 | <groupId>org.springframework.boot</groupId> |
| 908 | <artifactId>spring-boot-maven-plugin</artifactId> |
Determe, Sebastien (sd378r) | bb302a1 | 2018-07-02 15:38:28 +0200 | [diff] [blame] | 909 | <!-- Temporary fix --> |
| 910 | <version>1.5.13.RELEASE</version> |
| 911 | <!-- <version>${springboot.version}</version> --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 912 | <executions> |
| 913 | <execution> |
| 914 | <goals> |
| 915 | <goal>repackage</goal> |
| 916 | </goals> |
| 917 | <phase>package</phase> |
| 918 | </execution> |
| 919 | </executions> |
| 920 | </plugin> |
| 921 | <plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 922 | <groupId>org.apache.maven.plugins</groupId> |
| 923 | <artifactId>maven-surefire-plugin</artifactId> |
sebdet | 2579386 | 2018-11-08 17:11:10 +0100 | [diff] [blame] | 924 | <version>2.22.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 925 | <configuration> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 926 | <forkCount>1C</forkCount> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 927 | <reuseForks>true</reuseForks> |
| 928 | <useSystemClassLoader>false</useSystemClassLoader> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 929 | <argLine>${surefireArgLine}</argLine> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 930 | </configuration> |
| 931 | </plugin> |
Determe, Sebastien (sd378r) | c06db6e | 2017-09-22 16:52:51 +0200 | [diff] [blame] | 932 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 933 | <plugin> |
| 934 | <groupId>org.apache.maven.plugins</groupId> |
| 935 | <artifactId>maven-failsafe-plugin</artifactId> |
sebdet | 2579386 | 2018-11-08 17:11:10 +0100 | [diff] [blame] | 936 | <version>2.22.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 937 | <executions> |
| 938 | <execution> |
| 939 | <id>integration-tests</id> |
| 940 | <goals> |
| 941 | <goal>integration-test</goal> |
| 942 | <goal>verify</goal> |
| 943 | </goals> |
| 944 | <configuration> |
sebdet | 2579386 | 2018-11-08 17:11:10 +0100 | [diff] [blame] | 945 | <additionalClasspathElements> |
| 946 | <additionalClasspathElement>${project.build.directory}/classes</additionalClasspathElement> |
| 947 | </additionalClasspathElements> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 948 | <includes> |
| 949 | <include>**/*ItCase.java</include> |
| 950 | </includes> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 951 | <forkCount>1</forkCount> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 952 | <reuseForks>true</reuseForks> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 953 | <useSystemClassLoader>false</useSystemClassLoader> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 954 | <argLine>${failsafeArgLine}</argLine> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 955 | </configuration> |
| 956 | </execution> |
| 957 | </executions> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 958 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 959 | </plugin> |
| 960 | <plugin> |
| 961 | <groupId>io.fabric8</groupId> |
| 962 | <artifactId>docker-maven-plugin</artifactId> |
sebdet | 0ffc044 | 2018-11-27 14:50:00 +0100 | [diff] [blame] | 963 | <version>0.27.2</version> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 964 | <dependencies> |
| 965 | <dependency> |
| 966 | <groupId>org.apache.httpcomponents</groupId> |
| 967 | <artifactId>httpclient</artifactId> |
| 968 | <version>4.5.5</version> |
| 969 | </dependency> |
| 970 | </dependencies> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 971 | <configuration> |
| 972 | <verbose>true</verbose> |
sebdet | 0ffc044 | 2018-11-27 14:50:00 +0100 | [diff] [blame] | 973 | <apiVersion>1.35</apiVersion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 974 | <images> |
| 975 | <image> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 976 | <name>library/mariadb:10.3.12</name> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 977 | <alias>mariadb</alias> |
| 978 | <run> |
| 979 | <env> |
| 980 | <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD> |
| 981 | </env> |
| 982 | <hostname>mariadb</hostname> |
| 983 | <volumes> |
| 984 | <bind> |
| 985 | <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume> |
| 986 | <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume> |
| 987 | </bind> |
| 988 | </volumes> |
| 989 | <wait> |
| 990 | <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] | 991 | <time>600000</time> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 992 | </wait> |
| 993 | <ports> |
| 994 | <port>${docker.mariadb.port.host}:3306</port> |
| 995 | </ports> |
| 996 | </run> |
| 997 | </image> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 998 | <image> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 999 | <name>library/python:2-slim</name> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1000 | <alias>python</alias> |
| 1001 | <run> |
| 1002 | <hostname>python</hostname> |
| 1003 | <volumes> |
| 1004 | <bind> |
| 1005 | <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] | 1006 | <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] | 1007 | </bind> |
| 1008 | </volumes> |
| 1009 | <wait> |
| 1010 | <tcp> |
| 1011 | <ports> |
| 1012 | <port>8080</port> |
| 1013 | </ports> |
| 1014 | <mode>direct</mode> |
| 1015 | </tcp> |
| 1016 | <time>120000</time> |
| 1017 | </wait> |
| 1018 | <ports> |
| 1019 | <port>${docker.http-cache.port.host}:8080</port> |
| 1020 | </ports> |
| 1021 | <workingDir>/usr/src/http-cache-app</workingDir> |
| 1022 | <cmd> |
Determe, Sebastien (sd378r) | 885d7c1 | 2018-04-09 17:56:53 +0200 | [diff] [blame] | 1023 | <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] | 1024 | </cmd> |
| 1025 | </run> |
| 1026 | </image> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1027 | <image> |
sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 1028 | <name>onap/clamp-backend</name> |
| 1029 | <alias>onap-clamp-backend</alias> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 1030 | <run> |
| 1031 | <skip>true</skip> |
| 1032 | </run> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1033 | <build> |
| 1034 | <cleanup>true</cleanup> |
| 1035 | <tags> |
| 1036 | <tag>latest</tag> |
| 1037 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 1038 | <tag>${project.docker.latesttag.version}</tag> |
| 1039 | </tags> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 1040 | <!-- A relative path is looked up in ${project.basedir}/src/main/docker |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 1041 | by default --> |
sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 1042 | <dockerFile>backend/Dockerfile</dockerFile> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1043 | <assembly> |
sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 1044 | <descriptor>backend/backend-files.xml</descriptor> |
| 1045 | <name>onap-clamp-backend</name> |
| 1046 | </assembly> |
| 1047 | </build> |
| 1048 | </image> |
| 1049 | <image> |
| 1050 | <name>onap/clamp-frontend</name> |
| 1051 | <alias>onap-clamp-frontend</alias> |
| 1052 | <run> |
| 1053 | <skip>true</skip> |
| 1054 | </run> |
| 1055 | <build> |
| 1056 | <cleanup>true</cleanup> |
| 1057 | <tags> |
| 1058 | <tag>latest</tag> |
| 1059 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 1060 | <tag>${project.docker.latesttag.version}</tag> |
| 1061 | </tags> |
| 1062 | <!-- A relative path is looked up in ${project.basedir}/src/main/docker |
| 1063 | by default --> |
| 1064 | <dockerFile>frontend/Dockerfile</dockerFile> |
| 1065 | <assembly> |
| 1066 | <descriptor>frontend/frontend-files.xml</descriptor> |
| 1067 | <name>onap-clamp-frontend</name> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1068 | </assembly> |
| 1069 | </build> |
| 1070 | </image> |
ac2550 | 96f162e | 2018-09-18 10:07:58 +0200 | [diff] [blame] | 1071 | <image> |
| 1072 | <name>onap/clamp-dashboard-logstash</name> |
| 1073 | <alias>onap-clamp-dashboard-logstash</alias> |
| 1074 | <run> |
| 1075 | <skip>true</skip> |
| 1076 | </run> |
| 1077 | <build> |
| 1078 | <cleanup>true</cleanup> |
| 1079 | <tags> |
| 1080 | <tag>latest</tag> |
| 1081 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 1082 | <tag>${project.docker.latesttag.version}</tag> |
| 1083 | </tags> |
sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 1084 | <dockerFile>logstash/Dockerfile</dockerFile> |
ac2550 | 96f162e | 2018-09-18 10:07:58 +0200 | [diff] [blame] | 1085 | </build> |
| 1086 | </image> |
ac2550 | ead1051 | 2018-10-05 13:50:23 +0200 | [diff] [blame] | 1087 | <image> |
| 1088 | <name>onap/clamp-dashboard-kibana</name> |
| 1089 | <alias>onap-clamp-dashboard-kibana</alias> |
| 1090 | <run> |
| 1091 | <skip>true</skip> |
| 1092 | </run> |
| 1093 | <build> |
| 1094 | <cleanup>true</cleanup> |
| 1095 | <tags> |
| 1096 | <tag>latest</tag> |
| 1097 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 1098 | <tag>${project.docker.latesttag.version}</tag> |
| 1099 | </tags> |
sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 1100 | <dockerFile>kibana/Dockerfile</dockerFile> |
ac2550 | ead1051 | 2018-10-05 13:50:23 +0200 | [diff] [blame] | 1101 | </build> |
| 1102 | </image> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1103 | </images> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1104 | </configuration> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 1105 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1106 | <executions> |
| 1107 | <execution> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1108 | <id>generate-images</id> |
| 1109 | <phase>install</phase> |
| 1110 | <goals> |
| 1111 | <goal>build</goal> |
| 1112 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1113 | </execution> |
| 1114 | <execution> |
| 1115 | <id>push-images</id> |
| 1116 | <phase>deploy</phase> |
| 1117 | <goals> |
| 1118 | <goal>push</goal> |
| 1119 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1120 | </execution> |
| 1121 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1122 | <id>docker-start-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1123 | <phase>pre-integration-test</phase> |
| 1124 | <goals> |
| 1125 | <goal>start</goal> |
| 1126 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1127 | </execution> |
| 1128 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1129 | <id>docker-stop-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1130 | <phase>post-integration-test</phase> |
| 1131 | <goals> |
| 1132 | <goal>stop</goal> |
| 1133 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1134 | </execution> |
| 1135 | </executions> |
| 1136 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1137 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1138 | <plugin> |
| 1139 | <groupId>org.jacoco</groupId> |
| 1140 | <artifactId>jacoco-maven-plugin</artifactId> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 1141 | <version>0.8.2</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1142 | <configuration> |
| 1143 | <dumpOnExit>true</dumpOnExit> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 1144 | <append>true</append> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1145 | <includes> |
| 1146 | <include>org.onap.clamp.*</include> |
| 1147 | </includes> |
| 1148 | </configuration> |
| 1149 | <executions> |
| 1150 | <execution> |
| 1151 | <id>pre-unit-test</id> |
| 1152 | <goals> |
| 1153 | <goal>prepare-agent</goal> |
| 1154 | </goals> |
| 1155 | <configuration> |
| 1156 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 1157 | <propertyName>surefireArgLine</propertyName> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1158 | <!-- <append>true</append> --> |
| 1159 | </configuration> |
| 1160 | </execution> |
| 1161 | <execution> |
| 1162 | <id>pre-integration-test</id> |
| 1163 | <phase>pre-integration-test</phase> |
| 1164 | <goals> |
| 1165 | <goal>prepare-agent</goal> |
| 1166 | </goals> |
| 1167 | <configuration> |
| 1168 | <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 1169 | <propertyName>failsafeArgLine</propertyName> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1170 | <!-- <append>true</append> --> |
| 1171 | </configuration> |
| 1172 | </execution> |
| 1173 | <execution> |
| 1174 | <goals> |
| 1175 | <goal>merge</goal> |
| 1176 | </goals> |
| 1177 | <phase>post-integration-test</phase> |
| 1178 | <configuration> |
| 1179 | <fileSets> |
| 1180 | <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> |
| 1181 | <directory>${project.build.directory}/coverage-reports</directory> |
| 1182 | <includes> |
| 1183 | <include>*.exec</include> |
| 1184 | </includes> |
| 1185 | </fileSet> |
| 1186 | </fileSets> |
| 1187 | <destFile>${project.build.directory}/jacoco-dev.exec</destFile> |
| 1188 | </configuration> |
| 1189 | </execution> |
| 1190 | </executions> |
| 1191 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1192 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1193 | <!-- This plugin will be useful when we will have multi-modules project --> |
| 1194 | <plugin> |
| 1195 | <groupId>org.codehaus.mojo</groupId> |
| 1196 | <artifactId>versions-maven-plugin</artifactId> |
| 1197 | <version>1.3.1</version> |
| 1198 | </plugin> |
sebdet | e442200 | 2018-10-16 17:47:54 +0200 | [diff] [blame] | 1199 | |
| 1200 | <plugin> |
| 1201 | <groupId>com.github.eirslett</groupId> |
| 1202 | <artifactId>frontend-maven-plugin</artifactId> |
| 1203 | <version>1.6</version> |
| 1204 | <configuration> |
| 1205 | <installDirectory>${project.build.directory}/clamp-ui</installDirectory> |
| 1206 | <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory> |
| 1207 | <skip>${maven.test.skip}</skip> |
| 1208 | </configuration> |
| 1209 | |
| 1210 | <executions> |
| 1211 | <execution> |
| 1212 | <id>install_node_and_npm</id> |
| 1213 | <goals> |
| 1214 | <goal>install-node-and-npm</goal> |
| 1215 | </goals> |
| 1216 | <phase>test</phase> |
| 1217 | <configuration> |
| 1218 | <nodeVersion>v8.11.1</nodeVersion> |
| 1219 | <npmVersion>5.6.0</npmVersion> |
| 1220 | </configuration> |
| 1221 | </execution> |
| 1222 | <execution> |
| 1223 | <id>npm_install</id> |
| 1224 | <goals> |
| 1225 | <goal>npm</goal> |
| 1226 | </goals> |
| 1227 | <phase>test</phase> |
| 1228 | <configuration> |
| 1229 | <arguments>install</arguments> |
| 1230 | </configuration> |
| 1231 | </execution> |
| 1232 | <execution> |
| 1233 | <id>npm_test</id> |
| 1234 | <goals> |
| 1235 | <goal>npm</goal> |
| 1236 | </goals> |
| 1237 | <phase>test</phase> |
| 1238 | <configuration> |
| 1239 | <arguments>run-script test:coverage</arguments> |
| 1240 | </configuration> |
| 1241 | </execution> |
| 1242 | |
| 1243 | </executions> |
| 1244 | </plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1245 | </plugins> |
| 1246 | </build> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1247 | </project> |