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 | b650caf | 2018-12-20 13:28:43 +0100 | [diff] [blame] | 27 | <version>4.0.0-SNAPSHOT</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 28 | <name>clamp</name> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 29 | |
sebdet | 6bcae19 | 2018-10-22 13:09:13 +0200 | [diff] [blame] | 30 | <parent> |
| 31 | <groupId>org.onap.oparent</groupId> |
| 32 | <artifactId>oparent</artifactId> |
ChrisC | f3407c2 | 2019-03-13 10:45:58 +0100 | [diff] [blame] | 33 | <version>1.2.3</version> |
sebdet | 6bcae19 | 2018-10-22 13:09:13 +0200 | [diff] [blame] | 34 | </parent> |
Determe, Sebastien (sd378r) | a66fe45 | 2017-08-08 06:42:49 -0700 | [diff] [blame] | 35 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 36 | <description> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 37 | This project build the ONAP CLAMP JAR that contains CLAMP back-end code and its UI part. |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 38 | |
| 39 | By Default "mvn clean install" command will execute also the unit tests |
| 40 | and the integration tests. The integration tests require a docker engine running. |
| 41 | |
Determe, Sebastien (sd378r) | 08b9492 | 2018-03-27 10:25:41 +0200 | [diff] [blame] | 42 | If you want to skip the integration test you can by doing: |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 43 | "mvn clean install -DskipITs=true" |
| 44 | |
| 45 | For Spring it's possible to specify the application.properties location |
| 46 | "mvn clean install -Dspring.config.location=classpath:application-test.properties" |
| 47 | |
| 48 | The application.properties contains the location of the CLAMP parameters files: |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 49 | - org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json |
| 50 | - org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties |
ChrisC | ae04cf3 | 2018-02-05 05:21:59 -0800 | [diff] [blame] | 51 | |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 52 | </description> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 53 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 54 | <properties> |
Jessica Wagantall | 0a689de | 2018-04-04 18:29:29 -0700 | [diff] [blame] | 55 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 56 | <clamp.project.version>${project.version}</clamp.project.version> |
| 57 | <clamp.build.timestamp>${maven.build.timestamp}</clamp.build.timestamp> |
| 58 | <maven.compiler.source>1.8</maven.compiler.source> |
| 59 | <maven.compiler.target>1.8</maven.compiler.target> |
| 60 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 61 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 62 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 63 | <project.scm.id>git-server</project.scm.id> |
| 64 | <java.version>1.8</java.version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 65 | |
| 66 | <eelf.core.version>1.0.0</eelf.core.version> |
sebdet | 8356ed8 | 2019-04-08 14:39:39 +0200 | [diff] [blame^] | 67 | <camel.version>2.23.1</camel.version> |
| 68 | <springboot.version>2.1.4.RELEASE</springboot.version> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 69 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 70 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 71 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 72 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 73 | <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 74 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 75 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
sebdet | 2f22405 | 2018-10-23 17:44:36 +0200 | [diff] [blame] | 76 | <!-- Enable language to disable javascript analysis --> |
| 77 | <sonar.language>java</sonar.language> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 78 | <!-- Parameters for Javascript coverage |
sebdet | 2f22405 | 2018-10-23 17:44:36 +0200 | [diff] [blame] | 79 | <sonar.sources>src/main,${project.build.directory}/clamp-ui/designer</sonar.sources> |
| 80 | <sonar.javascript.lcov.reportPaths>${project.build.directory}/clamp-ui/coverage/lcov.info</sonar.javascript.lcov.reportPaths> |
| 81 | --> |
sebdet | e442200 | 2018-10-16 17:47:54 +0200 | [diff] [blame] | 82 | <sonar.exclusions>src/main/resources/**,**/clamp-ui/designer/lib/*</sonar.exclusions> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 83 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 84 | <docker.push.registry>localhost:5000</docker.push.registry> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 85 | <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 86 | <docker.skip.build>true</docker.skip.build> |
| 87 | <docker.skip.push>true</docker.skip.push> |
| 88 | <docker.skip.tag>true</docker.skip.tag> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 89 | <skip.staging.artifacts>false</skip.staging.artifacts> |
Gary Wu | 3a0d027 | 2018-08-24 15:18:20 -0700 | [diff] [blame] | 90 | <python.http.proxy.param/> |
sebdet | ce46c2d | 2018-10-24 17:22:36 +0200 | [diff] [blame] | 91 | <tomcat.version>8.5.34</tomcat.version> |
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> |
| 289 | <artifactId>camel-http4</artifactId> |
| 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> |
xg353y | 7e836e1 | 2018-06-06 15:50:33 +0200 | [diff] [blame] | 381 | <version>2.1.1</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> |
Determe, Sebastien (sd378r) | 3df350a | 2018-07-03 15:38:34 +0200 | [diff] [blame] | 608 | </dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 609 | <!-- Remove the MYSQL connector and replace it by Mariadb --> |
| 610 | <dependency> |
| 611 | <groupId>org.mariadb.jdbc</groupId> |
| 612 | <artifactId>mariadb-java-client</artifactId> |
Determe, Sebastien (sd378r) | 373a927 | 2018-02-20 18:19:39 +0100 | [diff] [blame] | 613 | <version>2.2.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 614 | </dependency> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 615 | <!-- For SDC Controller --> |
| 616 | <dependency> |
Determe, Sebastien (sd378r) | dd2d790 | 2018-04-06 11:48:07 +0200 | [diff] [blame] | 617 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 618 | <artifactId>sdc-distribution-client</artifactId> |
Determe, Sebastien (sd378r) | dd2d790 | 2018-04-06 11:48:07 +0200 | [diff] [blame] | 619 | <version>1.3.0</version> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 620 | </dependency> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 621 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 622 | <groupId>org.onap.sdc.sdc-tosca</groupId> |
| 623 | <artifactId>sdc-tosca</artifactId> |
sebdet | 00109a0 | 2019-02-15 15:30:05 +0100 | [diff] [blame] | 624 | <version>1.5.0</version> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 625 | </dependency> |
Gabriel | 2dc06bd | 2018-06-25 08:25:06 +0200 | [diff] [blame] | 626 | <!-- TESTING --> |
| 627 | <dependency> |
| 628 | <groupId>org.assertj</groupId> |
| 629 | <artifactId>assertj-core</artifactId> |
| 630 | <version>3.10.0</version> |
| 631 | <scope>test</scope> |
| 632 | </dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 633 | <dependency> |
| 634 | <groupId>org.mockito</groupId> |
| 635 | <artifactId>mockito-core</artifactId> |
| 636 | <version>1.10.19</version> |
| 637 | <scope>test</scope> |
| 638 | </dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 639 | </dependencies> |
sebdet | 2e4242e | 2019-03-15 10:18:51 +0100 | [diff] [blame] | 640 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 641 | <build> |
| 642 | <finalName>clamp</finalName> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 643 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 644 | <testResources> |
| 645 | <testResource> |
| 646 | <directory>src/test/resources</directory> |
| 647 | <excludes> |
| 648 | <exclude>**/*.jks</exclude> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 649 | <exclude>**/*.csar</exclude> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 650 | </excludes> |
| 651 | <filtering>true</filtering> |
| 652 | </testResource> |
| 653 | <testResource> |
| 654 | <directory>src/test/resources/https</directory> |
| 655 | <includes> |
| 656 | <include>**.jks</include> |
| 657 | </includes> |
| 658 | <filtering>false</filtering> |
| 659 | <targetPath>https</targetPath> |
| 660 | </testResource> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 661 | <testResource> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 662 | <directory>src/test/resources/example/sdc</directory> |
| 663 | <includes> |
| 664 | <include>**.csar</include> |
| 665 | </includes> |
| 666 | <filtering>false</filtering> |
| 667 | <targetPath>example/sdc</targetPath> |
| 668 | </testResource> |
sebdet | e442200 | 2018-10-16 17:47:54 +0200 | [diff] [blame] | 669 | |
| 670 | <!-- Copy the NPM package.json for CLAMP UI javascript testing framework --> |
| 671 | <testResource> |
| 672 | <directory>src/test/javascript</directory> |
| 673 | <includes> |
| 674 | <include>**/**.json</include> |
| 675 | </includes> |
| 676 | <filtering>true</filtering> |
| 677 | <targetPath>${project.build.directory}/clamp-ui</targetPath> |
| 678 | </testResource> |
| 679 | <testResource> |
| 680 | <directory>src/main/resources/META-INF/resources/designer</directory> |
| 681 | <filtering>false</filtering> |
| 682 | <targetPath>${project.build.directory}/clamp-ui/designer</targetPath> |
| 683 | </testResource> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 684 | </testResources> |
| 685 | <resources> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 686 | <!-- For AAF folder maven should not try to filter Keystores/Truststores ... |
Determe, Sebastien (sd378r) | e1c2aab | 2018-08-17 17:41:15 +0200 | [diff] [blame] | 687 | Otherwise they will be broken and unreadable |
| 688 | --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 689 | <resource> |
| 690 | <directory>src/main/resources</directory> |
| 691 | <filtering>true</filtering> |
Determe, Sebastien (sd378r) | e1c2aab | 2018-08-17 17:41:15 +0200 | [diff] [blame] | 692 | <excludes> |
| 693 | <exclude>clds/aaf/**</exclude> |
| 694 | </excludes> |
| 695 | </resource> |
| 696 | <resource> |
| 697 | <directory>src/main/resources</directory> |
| 698 | <filtering>false</filtering> |
| 699 | <includes> |
| 700 | <include>clds/aaf/**</include> |
| 701 | </includes> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 702 | </resource> |
| 703 | <resource> |
| 704 | <directory>src/main/docker</directory> |
| 705 | <includes> |
| 706 | <include>**/*</include> |
| 707 | </includes> |
| 708 | <filtering>true</filtering> |
| 709 | </resource> |
| 710 | </resources> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 711 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 712 | <plugins> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 713 | <plugin> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 714 | <groupId>de.jpdigital</groupId> |
| 715 | <artifactId>hibernate52-ddl-maven-plugin</artifactId> |
| 716 | <version>2.2.0</version> |
ChrisC | 11520d6 | 2019-03-12 16:45:43 +0100 | [diff] [blame] | 717 | <dependencies> |
| 718 | <dependency> |
| 719 | <groupId>javax.xml.bind</groupId> |
| 720 | <artifactId>jaxb-api</artifactId> |
| 721 | <version>2.3.0</version> |
| 722 | </dependency> |
| 723 | </dependencies> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 724 | <executions> |
| 725 | <execution> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 726 | <phase>process-classes</phase> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 727 | <goals> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 728 | <goal>gen-ddl</goal> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 729 | </goals> |
| 730 | <configuration> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 731 | <packages><param>org.onap.clamp.dao.model</param></packages> |
| 732 | <dialects><param>MARIADB53</param></dialects> |
| 733 | <outputDirectory>${project.basedir}/extra/sql/bulkload/</outputDirectory> |
| 734 | <outputFileNameSuffix>create-tables</outputFileNameSuffix> |
| 735 | <!-- <createDropStatements>true</createDropStatements> --> |
| 736 | <omitDialectFromFileName>true</omitDialectFromFileName> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 737 | </configuration> |
| 738 | </execution> |
| 739 | </executions> |
ChrisC | 11520d6 | 2019-03-12 16:45:43 +0100 | [diff] [blame] | 740 | |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 741 | </plugin> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 742 | <!-- Read the swagger.json file and the definition from SwaggerConfig.java; |
| 743 | 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] | 744 | way --> |
| 745 | <plugin> |
| 746 | <groupId>io.github.swagger2markup</groupId> |
| 747 | <artifactId>swagger2markup-maven-plugin</artifactId> |
| 748 | <version>1.3.3</version> |
| 749 | <dependencies> |
| 750 | <dependency> |
| 751 | <groupId>io.github.swagger2markup</groupId> |
| 752 | <artifactId>swagger2markup-import-files-ext</artifactId> |
| 753 | <version>1.3.3</version> |
| 754 | </dependency> |
| 755 | <dependency> |
| 756 | <groupId>io.github.swagger2markup</groupId> |
| 757 | <artifactId>swagger2markup-spring-restdocs-ext</artifactId> |
| 758 | <version>1.3.3</version> |
| 759 | </dependency> |
| 760 | </dependencies> |
| 761 | <configuration> |
| 762 | <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput> |
| 763 | <outputDir>${project.build.directory}/asciidoc/generated</outputDir> |
| 764 | <config> |
| 765 | <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage> |
| 766 | </config> |
| 767 | </configuration> |
| 768 | <executions> |
| 769 | <execution> |
| 770 | <phase>post-integration-test</phase> |
| 771 | <goals> |
| 772 | <goal>convertSwagger2markup</goal> |
| 773 | </goals> |
| 774 | </execution> |
| 775 | </executions> |
| 776 | </plugin> |
| 777 | |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 778 | <!-- Run the generated asciidoc through Asciidoctor to generate other |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 779 | documentation types, such as PDFs or HTML5 --> |
| 780 | <plugin> |
| 781 | <groupId>org.asciidoctor</groupId> |
| 782 | <artifactId>asciidoctor-maven-plugin</artifactId> |
ChrisC | 11520d6 | 2019-03-12 16:45:43 +0100 | [diff] [blame] | 783 | <version>1.5.7.1</version> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 784 | <dependencies> |
| 785 | <dependency> |
| 786 | <groupId>org.asciidoctor</groupId> |
| 787 | <artifactId>asciidoctorj-pdf</artifactId> |
| 788 | <version>1.5.0-alpha.10.1</version> |
| 789 | </dependency> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 790 | </dependencies> |
| 791 | <configuration> |
| 792 | <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory> |
| 793 | <sourceDocumentName>swagger.adoc</sourceDocumentName> |
| 794 | <attributes> |
| 795 | <doctype>book</doctype> |
| 796 | <toc>left</toc> |
| 797 | <toclevels>3</toclevels> |
Gary Wu | 3a0d027 | 2018-08-24 15:18:20 -0700 | [diff] [blame] | 798 | <numbered/> |
| 799 | <hardbreaks/> |
| 800 | <sectlinks/> |
| 801 | <sectanchors/> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 802 | <generated>${project.build.directory}/asciidoc/generated</generated> |
| 803 | </attributes> |
| 804 | </configuration> |
| 805 | |
| 806 | <executions> |
| 807 | <execution> |
| 808 | <id>output-html</id> |
| 809 | <phase>post-integration-test</phase> |
| 810 | <goals> |
| 811 | <goal>process-asciidoc</goal> |
| 812 | </goals> |
| 813 | <configuration> |
| 814 | <backend>html5</backend> |
| 815 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 816 | <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory> |
| 817 | </configuration> |
| 818 | </execution> |
| 819 | <execution> |
| 820 | <id>output-pdf</id> |
| 821 | <phase>post-integration-test</phase> |
| 822 | <goals> |
| 823 | <goal>process-asciidoc</goal> |
| 824 | </goals> |
| 825 | <configuration> |
| 826 | <backend>pdf</backend> |
| 827 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 828 | </configuration> |
| 829 | </execution> |
| 830 | </executions> |
| 831 | </plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 832 | <plugin> |
| 833 | <groupId>org.codehaus.groovy.maven</groupId> |
| 834 | <artifactId>gmaven-plugin</artifactId> |
| 835 | <version>1.0</version> |
| 836 | <executions> |
| 837 | <execution> |
| 838 | <phase>validate</phase> |
| 839 | <goals> |
| 840 | <goal>execute</goal> |
| 841 | </goals> |
| 842 | <configuration> |
| 843 | <source>${project.basedir}/src/main/script/TagVersion.groovy</source> |
| 844 | </configuration> |
| 845 | </execution> |
| 846 | </executions> |
| 847 | </plugin> |
| 848 | <plugin> |
| 849 | <groupId>org.apache.maven.plugins</groupId> |
| 850 | <artifactId>maven-jar-plugin</artifactId> |
| 851 | <version>3.0.2</version> |
| 852 | <executions> |
| 853 | <execution> |
| 854 | <id>jar-with-only-classes</id> |
| 855 | <phase>package</phase> |
| 856 | <goals> |
| 857 | <goal>jar</goal> |
| 858 | </goals> |
| 859 | <configuration> |
| 860 | <classifier>classes</classifier> |
| 861 | <includes> |
| 862 | <include>org/**</include> |
| 863 | </includes> |
| 864 | </configuration> |
| 865 | </execution> |
| 866 | </executions> |
| 867 | </plugin> |
| 868 | <plugin> |
| 869 | <groupId>org.codehaus.mojo</groupId> |
| 870 | <artifactId>build-helper-maven-plugin</artifactId> |
| 871 | <version>3.0.0</version> |
| 872 | <executions> |
| 873 | <execution> |
| 874 | <goals> |
| 875 | <goal>attach-artifact</goal> |
| 876 | </goals> |
| 877 | <phase>package</phase> |
| 878 | <configuration> |
| 879 | <artifacts> |
| 880 | <artifact> |
| 881 | <file>${project.build.directory}/clamp-classes.jar</file> |
| 882 | <type>jar</type> |
| 883 | <classifier>classes</classifier> |
| 884 | </artifact> |
| 885 | </artifacts> |
| 886 | </configuration> |
| 887 | </execution> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 888 | <execution> |
| 889 | <id>reserve-port-for-tests</id> |
| 890 | <phase>process-resources</phase> |
| 891 | <goals> |
| 892 | <goal>reserve-network-port</goal> |
| 893 | </goals> |
| 894 | <configuration> |
| 895 | <portNames> |
| 896 | <portName>docker.mariadb.port.host</portName> |
| 897 | <portName>docker.http-cache.port.host</portName> |
| 898 | <portName>clamp.it.tests.http-redirected</portName> |
| 899 | <portName>clamp.it.tests.https</portName> |
| 900 | <portName>clamp.it.tests.http</portName> |
| 901 | </portNames> |
| 902 | </configuration> |
| 903 | </execution> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 904 | </executions> |
| 905 | </plugin> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 906 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 907 | <plugin> |
| 908 | <groupId>org.springframework.boot</groupId> |
| 909 | <artifactId>spring-boot-maven-plugin</artifactId> |
Determe, Sebastien (sd378r) | bb302a1 | 2018-07-02 15:38:28 +0200 | [diff] [blame] | 910 | <!-- Temporary fix --> |
| 911 | <version>1.5.13.RELEASE</version> |
| 912 | <!-- <version>${springboot.version}</version> --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 913 | <executions> |
| 914 | <execution> |
| 915 | <goals> |
| 916 | <goal>repackage</goal> |
| 917 | </goals> |
| 918 | <phase>package</phase> |
| 919 | </execution> |
| 920 | </executions> |
| 921 | </plugin> |
| 922 | <plugin> |
| 923 | <groupId>org.sonatype.plugins</groupId> |
| 924 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 925 | <version>1.6.7</version> |
| 926 | <extensions>true</extensions> |
| 927 | <configuration> |
| 928 | <nexusUrl>https://nexus.onap.org</nexusUrl> |
| 929 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 930 | <serverId>ecomp-staging</serverId> |
| 931 | <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo> |
| 932 | </configuration> |
| 933 | </plugin> |
Determe, Sebastien (sd378r) | 26400da | 2018-05-24 16:57:30 +0200 | [diff] [blame] | 934 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 935 | <plugin> |
| 936 | <groupId>org.apache.maven.plugins</groupId> |
| 937 | <artifactId>maven-surefire-plugin</artifactId> |
sebdet | 2579386 | 2018-11-08 17:11:10 +0100 | [diff] [blame] | 938 | <version>2.22.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 939 | <configuration> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 940 | <forkCount>1C</forkCount> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 941 | <reuseForks>true</reuseForks> |
| 942 | <useSystemClassLoader>false</useSystemClassLoader> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 943 | <argLine>${surefireArgLine}</argLine> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 944 | </configuration> |
| 945 | </plugin> |
Determe, Sebastien (sd378r) | c06db6e | 2017-09-22 16:52:51 +0200 | [diff] [blame] | 946 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 947 | <plugin> |
| 948 | <groupId>org.apache.maven.plugins</groupId> |
| 949 | <artifactId>maven-failsafe-plugin</artifactId> |
sebdet | 2579386 | 2018-11-08 17:11:10 +0100 | [diff] [blame] | 950 | <version>2.22.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 951 | <executions> |
| 952 | <execution> |
| 953 | <id>integration-tests</id> |
| 954 | <goals> |
| 955 | <goal>integration-test</goal> |
| 956 | <goal>verify</goal> |
| 957 | </goals> |
| 958 | <configuration> |
sebdet | 2579386 | 2018-11-08 17:11:10 +0100 | [diff] [blame] | 959 | <additionalClasspathElements> |
| 960 | <additionalClasspathElement>${project.build.directory}/classes</additionalClasspathElement> |
| 961 | </additionalClasspathElements> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 962 | <includes> |
| 963 | <include>**/*ItCase.java</include> |
| 964 | </includes> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 965 | <forkCount>1</forkCount> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 966 | <reuseForks>true</reuseForks> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 967 | <useSystemClassLoader>false</useSystemClassLoader> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 968 | <argLine>${failsafeArgLine}</argLine> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 969 | </configuration> |
| 970 | </execution> |
| 971 | </executions> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 972 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 973 | </plugin> |
| 974 | <plugin> |
| 975 | <groupId>io.fabric8</groupId> |
| 976 | <artifactId>docker-maven-plugin</artifactId> |
sebdet | 0ffc044 | 2018-11-27 14:50:00 +0100 | [diff] [blame] | 977 | <version>0.27.2</version> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 978 | <dependencies> |
| 979 | <dependency> |
| 980 | <groupId>org.apache.httpcomponents</groupId> |
| 981 | <artifactId>httpclient</artifactId> |
| 982 | <version>4.5.5</version> |
| 983 | </dependency> |
| 984 | </dependencies> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 985 | <configuration> |
| 986 | <verbose>true</verbose> |
sebdet | 0ffc044 | 2018-11-27 14:50:00 +0100 | [diff] [blame] | 987 | <apiVersion>1.35</apiVersion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 988 | <images> |
| 989 | <image> |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 990 | <name>library/mariadb:10.3.12</name> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 991 | <alias>mariadb</alias> |
| 992 | <run> |
| 993 | <env> |
| 994 | <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD> |
| 995 | </env> |
| 996 | <hostname>mariadb</hostname> |
| 997 | <volumes> |
| 998 | <bind> |
| 999 | <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume> |
| 1000 | <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume> |
| 1001 | </bind> |
| 1002 | </volumes> |
| 1003 | <wait> |
| 1004 | <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] | 1005 | <time>600000</time> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1006 | </wait> |
| 1007 | <ports> |
| 1008 | <port>${docker.mariadb.port.host}:3306</port> |
| 1009 | </ports> |
| 1010 | </run> |
| 1011 | </image> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1012 | <image> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 1013 | <name>library/python:2-slim</name> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1014 | <alias>python</alias> |
| 1015 | <run> |
| 1016 | <hostname>python</hostname> |
| 1017 | <volumes> |
| 1018 | <bind> |
| 1019 | <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] | 1020 | <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] | 1021 | </bind> |
| 1022 | </volumes> |
| 1023 | <wait> |
| 1024 | <tcp> |
| 1025 | <ports> |
| 1026 | <port>8080</port> |
| 1027 | </ports> |
| 1028 | <mode>direct</mode> |
| 1029 | </tcp> |
| 1030 | <time>120000</time> |
| 1031 | </wait> |
| 1032 | <ports> |
| 1033 | <port>${docker.http-cache.port.host}:8080</port> |
| 1034 | </ports> |
| 1035 | <workingDir>/usr/src/http-cache-app</workingDir> |
| 1036 | <cmd> |
Determe, Sebastien (sd378r) | 885d7c1 | 2018-04-09 17:56:53 +0200 | [diff] [blame] | 1037 | <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] | 1038 | </cmd> |
| 1039 | </run> |
| 1040 | </image> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1041 | <image> |
| 1042 | <name>onap/clamp</name> |
| 1043 | <alias>onap-clamp</alias> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 1044 | <run> |
| 1045 | <skip>true</skip> |
| 1046 | </run> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1047 | <build> |
| 1048 | <cleanup>true</cleanup> |
| 1049 | <tags> |
| 1050 | <tag>latest</tag> |
| 1051 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 1052 | <tag>${project.docker.latesttag.version}</tag> |
| 1053 | </tags> |
Krysiak Adam | cdfe48c | 2019-01-29 15:59:00 +0100 | [diff] [blame] | 1054 | <!-- 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] | 1055 | by default --> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1056 | <dockerFile>Dockerfile</dockerFile> |
| 1057 | <assembly> |
| 1058 | <descriptor>assembly/clamp-files.xml</descriptor> |
| 1059 | <name>onap-clamp</name> |
| 1060 | </assembly> |
| 1061 | </build> |
| 1062 | </image> |
ac2550 | 96f162e | 2018-09-18 10:07:58 +0200 | [diff] [blame] | 1063 | <image> |
| 1064 | <name>onap/clamp-dashboard-logstash</name> |
| 1065 | <alias>onap-clamp-dashboard-logstash</alias> |
| 1066 | <run> |
| 1067 | <skip>true</skip> |
| 1068 | </run> |
| 1069 | <build> |
| 1070 | <cleanup>true</cleanup> |
| 1071 | <tags> |
| 1072 | <tag>latest</tag> |
| 1073 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 1074 | <tag>${project.docker.latesttag.version}</tag> |
| 1075 | </tags> |
ac2550 | a61b86e | 2018-10-10 13:54:08 +0200 | [diff] [blame] | 1076 | <dockerFile>logstash/Dockerfile.logstash</dockerFile> |
ac2550 | 96f162e | 2018-09-18 10:07:58 +0200 | [diff] [blame] | 1077 | </build> |
| 1078 | </image> |
ac2550 | ead1051 | 2018-10-05 13:50:23 +0200 | [diff] [blame] | 1079 | <image> |
| 1080 | <name>onap/clamp-dashboard-kibana</name> |
| 1081 | <alias>onap-clamp-dashboard-kibana</alias> |
| 1082 | <run> |
| 1083 | <skip>true</skip> |
| 1084 | </run> |
| 1085 | <build> |
| 1086 | <cleanup>true</cleanup> |
| 1087 | <tags> |
| 1088 | <tag>latest</tag> |
| 1089 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 1090 | <tag>${project.docker.latesttag.version}</tag> |
| 1091 | </tags> |
| 1092 | <dockerFile>kibana/Dockerfile.kibana</dockerFile> |
| 1093 | </build> |
| 1094 | </image> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1095 | </images> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1096 | </configuration> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 1097 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1098 | <executions> |
| 1099 | <execution> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1100 | <id>generate-images</id> |
| 1101 | <phase>install</phase> |
| 1102 | <goals> |
| 1103 | <goal>build</goal> |
| 1104 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1105 | </execution> |
| 1106 | <execution> |
| 1107 | <id>push-images</id> |
| 1108 | <phase>deploy</phase> |
| 1109 | <goals> |
| 1110 | <goal>push</goal> |
| 1111 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1112 | </execution> |
| 1113 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1114 | <id>docker-start-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1115 | <phase>pre-integration-test</phase> |
| 1116 | <goals> |
| 1117 | <goal>start</goal> |
| 1118 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1119 | </execution> |
| 1120 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1121 | <id>docker-stop-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1122 | <phase>post-integration-test</phase> |
| 1123 | <goals> |
| 1124 | <goal>stop</goal> |
| 1125 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1126 | </execution> |
| 1127 | </executions> |
| 1128 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1129 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1130 | <plugin> |
| 1131 | <groupId>org.jacoco</groupId> |
| 1132 | <artifactId>jacoco-maven-plugin</artifactId> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 1133 | <version>0.8.2</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1134 | <configuration> |
| 1135 | <dumpOnExit>true</dumpOnExit> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 1136 | <append>true</append> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1137 | <includes> |
| 1138 | <include>org.onap.clamp.*</include> |
| 1139 | </includes> |
| 1140 | </configuration> |
| 1141 | <executions> |
| 1142 | <execution> |
| 1143 | <id>pre-unit-test</id> |
| 1144 | <goals> |
| 1145 | <goal>prepare-agent</goal> |
| 1146 | </goals> |
| 1147 | <configuration> |
| 1148 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 1149 | <propertyName>surefireArgLine</propertyName> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1150 | <!-- <append>true</append> --> |
| 1151 | </configuration> |
| 1152 | </execution> |
| 1153 | <execution> |
| 1154 | <id>pre-integration-test</id> |
| 1155 | <phase>pre-integration-test</phase> |
| 1156 | <goals> |
| 1157 | <goal>prepare-agent</goal> |
| 1158 | </goals> |
| 1159 | <configuration> |
| 1160 | <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 1161 | <propertyName>failsafeArgLine</propertyName> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1162 | <!-- <append>true</append> --> |
| 1163 | </configuration> |
| 1164 | </execution> |
| 1165 | <execution> |
| 1166 | <goals> |
| 1167 | <goal>merge</goal> |
| 1168 | </goals> |
| 1169 | <phase>post-integration-test</phase> |
| 1170 | <configuration> |
| 1171 | <fileSets> |
| 1172 | <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> |
| 1173 | <directory>${project.build.directory}/coverage-reports</directory> |
| 1174 | <includes> |
| 1175 | <include>*.exec</include> |
| 1176 | </includes> |
| 1177 | </fileSet> |
| 1178 | </fileSets> |
| 1179 | <destFile>${project.build.directory}/jacoco-dev.exec</destFile> |
| 1180 | </configuration> |
| 1181 | </execution> |
| 1182 | </executions> |
| 1183 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1184 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1185 | <!-- This plugin will be useful when we will have multi-modules project --> |
| 1186 | <plugin> |
| 1187 | <groupId>org.codehaus.mojo</groupId> |
| 1188 | <artifactId>versions-maven-plugin</artifactId> |
| 1189 | <version>1.3.1</version> |
| 1190 | </plugin> |
sebdet | e442200 | 2018-10-16 17:47:54 +0200 | [diff] [blame] | 1191 | |
| 1192 | <plugin> |
| 1193 | <groupId>com.github.eirslett</groupId> |
| 1194 | <artifactId>frontend-maven-plugin</artifactId> |
| 1195 | <version>1.6</version> |
| 1196 | <configuration> |
| 1197 | <installDirectory>${project.build.directory}/clamp-ui</installDirectory> |
| 1198 | <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory> |
| 1199 | <skip>${maven.test.skip}</skip> |
| 1200 | </configuration> |
| 1201 | |
| 1202 | <executions> |
| 1203 | <execution> |
| 1204 | <id>install_node_and_npm</id> |
| 1205 | <goals> |
| 1206 | <goal>install-node-and-npm</goal> |
| 1207 | </goals> |
| 1208 | <phase>test</phase> |
| 1209 | <configuration> |
| 1210 | <nodeVersion>v8.11.1</nodeVersion> |
| 1211 | <npmVersion>5.6.0</npmVersion> |
| 1212 | </configuration> |
| 1213 | </execution> |
| 1214 | <execution> |
| 1215 | <id>npm_install</id> |
| 1216 | <goals> |
| 1217 | <goal>npm</goal> |
| 1218 | </goals> |
| 1219 | <phase>test</phase> |
| 1220 | <configuration> |
| 1221 | <arguments>install</arguments> |
| 1222 | </configuration> |
| 1223 | </execution> |
| 1224 | <execution> |
| 1225 | <id>npm_test</id> |
| 1226 | <goals> |
| 1227 | <goal>npm</goal> |
| 1228 | </goals> |
| 1229 | <phase>test</phase> |
| 1230 | <configuration> |
| 1231 | <arguments>run-script test:coverage</arguments> |
| 1232 | </configuration> |
| 1233 | </execution> |
| 1234 | |
| 1235 | </executions> |
| 1236 | </plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1237 | </plugins> |
| 1238 | </build> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1239 | </project> |