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