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