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