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