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 | --> |
| 23 | |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 24 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 25 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <groupId>org.onap.clamp</groupId> |
| 28 | <artifactId>clds</artifactId> |
Determe, Sebastien (sd378r) | 7a58af8 | 2018-06-06 13:47:21 +0200 | [diff] [blame] | 29 | <version>3.0.0-SNAPSHOT</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 30 | <name>clamp</name> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 31 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 32 | <parent> |
| 33 | <groupId>org.onap.oparent</groupId> |
| 34 | <artifactId>oparent</artifactId> |
Determe, Sebastien (sd378r) | b3737db | 2018-03-15 10:43:48 +0100 | [diff] [blame] | 35 | <version>1.1.0</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 36 | </parent> |
Determe, Sebastien (sd378r) | a66fe45 | 2017-08-08 06:42:49 -0700 | [diff] [blame] | 37 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 38 | <description> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 39 | 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] | 40 | |
| 41 | By Default "mvn clean install" command will execute also the unit tests |
| 42 | and the integration tests. The integration tests require a docker engine running. |
| 43 | |
Determe, Sebastien (sd378r) | 08b9492 | 2018-03-27 10:25:41 +0200 | [diff] [blame] | 44 | 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] | 45 | "mvn clean install -DskipITs=true" |
| 46 | |
| 47 | For Spring it's possible to specify the application.properties location |
| 48 | "mvn clean install -Dspring.config.location=classpath:application-test.properties" |
| 49 | |
| 50 | The application.properties contains the location of the CLAMP parameters files: |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 51 | - org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json |
| 52 | - org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties |
ChrisC | ae04cf3 | 2018-02-05 05:21:59 -0800 | [diff] [blame] | 53 | |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 54 | </description> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 55 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 56 | <properties> |
Jessica Wagantall | 0a689de | 2018-04-04 18:29:29 -0700 | [diff] [blame] | 57 | <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] | 58 | <clamp.project.version>${project.version}</clamp.project.version> |
| 59 | <clamp.build.timestamp>${maven.build.timestamp}</clamp.build.timestamp> |
| 60 | <maven.compiler.source>1.8</maven.compiler.source> |
| 61 | <maven.compiler.target>1.8</maven.compiler.target> |
| 62 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 63 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 64 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 65 | <docker.mariadb.port.host>3306</docker.mariadb.port.host> |
Determe, Sebastien (sd378r) | 378d05b | 2018-03-23 14:46:56 +0100 | [diff] [blame] | 66 | <docker.http-cache.port.host>8085</docker.http-cache.port.host> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 67 | <project.scm.id>git-server</project.scm.id> |
| 68 | <java.version>1.8</java.version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 69 | |
| 70 | <eelf.core.version>1.0.0</eelf.core.version> |
xg353y | 00fd66d | 2018-08-10 09:28:01 +0200 | [diff] [blame] | 71 | <logging.analytics.version>1.2.2-SNAPSHOT</logging.analytics.version> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 72 | <camel.version>2.22.0</camel.version> |
Determe, Sebastien (sd378r) | cca933e | 2018-08-13 16:18:13 +0200 | [diff] [blame^] | 73 | <springboot.version>2.0.3.RELEASE</springboot.version> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 74 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 75 | <sonar.language>java</sonar.language> |
| 76 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 77 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 78 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 79 | <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 80 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 81 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 82 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 83 | <docker.push.registry>localhost:5000</docker.push.registry> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 84 | <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 85 | <docker.skip.build>true</docker.skip.build> |
| 86 | <docker.skip.push>true</docker.skip.push> |
| 87 | <docker.skip.tag>true</docker.skip.tag> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 88 | <skip.staging.artifacts>false</skip.staging.artifacts> |
Determe, Sebastien (sd378r) | 885d7c1 | 2018-04-09 17:56:53 +0200 | [diff] [blame] | 89 | <python.http.proxy.param></python.http.proxy.param> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 90 | <tomcat.version>8.5.32</tomcat.version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 91 | </properties> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 92 | |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 93 | <profiles> |
| 94 | <profile> |
| 95 | <id>without-test</id> |
| 96 | <activation> |
| 97 | <property> |
| 98 | <name>maven.test.skip</name> |
| 99 | <value>true</value> |
| 100 | </property> |
| 101 | </activation> |
| 102 | <properties> |
| 103 | <docker.skip.run>true</docker.skip.run> |
Determe, Sebastien (sd378r) | 7747b78 | 2018-07-05 16:10:52 +0200 | [diff] [blame] | 104 | <docker.skip>true</docker.skip> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 105 | </properties> |
| 106 | </profile> |
| 107 | <profile> |
| 108 | <id>without-IT-only</id> |
| 109 | <activation> |
| 110 | <property> |
| 111 | <name>skipITs</name> |
| 112 | <value>true</value> |
| 113 | </property> |
| 114 | </activation> |
| 115 | <properties> |
| 116 | <docker.skip.run>true</docker.skip.run> |
Determe, Sebastien (sd378r) | 7747b78 | 2018-07-05 16:10:52 +0200 | [diff] [blame] | 117 | <docker.skip>true</docker.skip> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 118 | </properties> |
| 119 | </profile> |
| 120 | <profile> |
| 121 | <id>without-IT-only2</id> |
| 122 | <activation> |
| 123 | <property> |
| 124 | <name>skipTests</name> |
| 125 | <value>true</value> |
| 126 | </property> |
| 127 | </activation> |
| 128 | <properties> |
| 129 | <docker.skip.run>true</docker.skip.run> |
Determe, Sebastien (sd378r) | 7747b78 | 2018-07-05 16:10:52 +0200 | [diff] [blame] | 130 | <docker.skip>true</docker.skip> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 131 | </properties> |
| 132 | </profile> |
| 133 | <profile> |
| 134 | <id>docker</id> |
| 135 | <properties> |
| 136 | <skip.staging.artifacts>true</skip.staging.artifacts> |
| 137 | <docker.skip.build>false</docker.skip.build> |
| 138 | <docker.skip.tag>false</docker.skip.tag> |
| 139 | <docker.skip.push>false</docker.skip.push> |
Determe, Sebastien (sd378r) | 7747b78 | 2018-07-05 16:10:52 +0200 | [diff] [blame] | 140 | <docker.skip>false</docker.skip> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 141 | </properties> |
| 142 | </profile> |
| 143 | </profiles> |
| 144 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 145 | <distributionManagement> |
| 146 | <repository> |
| 147 | <id>ecomp-releases</id> |
| 148 | <name>Clamp Release Repository</name> |
| 149 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 150 | </repository> |
| 151 | <snapshotRepository> |
| 152 | <id>ecomp-snapshots</id> |
| 153 | <name>Clamp Snapshot Repository</name> |
| 154 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 155 | </snapshotRepository> |
| 156 | <site> |
| 157 | <id>ecomp-site</id> |
| 158 | <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url> |
| 159 | </site> |
| 160 | </distributionManagement> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 161 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 162 | <repositories> |
| 163 | <repository> |
| 164 | <id>central</id> |
| 165 | <name>Maven 2 repository 2</name> |
| 166 | <url>http://repo2.maven.org/maven2/</url> |
| 167 | </repository> |
| 168 | <repository> |
| 169 | <id>ecomp-releases</id> |
| 170 | <name>ONAP Release Repository</name> |
| 171 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 172 | </repository> |
| 173 | <repository> |
| 174 | <id>ecomp-staging</id> |
| 175 | <name>ONAP Staging Repository</name> |
| 176 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
| 177 | </repository> |
| 178 | <repository> |
| 179 | <id>ecomp-snapshots</id> |
| 180 | <name>ONAP Snapshot Repository</name> |
| 181 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 182 | <snapshots> |
| 183 | <enabled>true</enabled> |
| 184 | </snapshots> |
| 185 | <releases> |
| 186 | <enabled>false</enabled> |
| 187 | </releases> |
| 188 | </repository> |
| 189 | <repository> |
| 190 | <id>spring-repo</id> |
| 191 | <name>Spring repo</name> |
| 192 | <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url> |
| 193 | </repository> |
| 194 | <repository> |
| 195 | <id>repository.jboss.org-public</id> |
| 196 | <name>JBoss.org Maven repository</name> |
| 197 | <url>https://repository.jboss.org/nexus/content/groups/public</url> |
| 198 | </repository> |
| 199 | </repositories> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 200 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 201 | <dependencyManagement> |
| 202 | <dependencies> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 203 | <!-- Spring Boot BOM --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 204 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 205 | <groupId>org.springframework.boot</groupId> |
| 206 | <artifactId>spring-boot-dependencies</artifactId> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 207 | <version>${springboot.version}</version> |
| 208 | <type>pom</type> |
| 209 | <scope>import</scope> |
| 210 | </dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 211 | <!-- Camel BOM --> |
| 212 | <dependency> |
| 213 | <groupId>org.apache.camel</groupId> |
| 214 | <artifactId>camel-spring-boot-dependencies</artifactId> |
| 215 | <version>${camel.version}</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 216 | <type>pom</type> |
| 217 | <scope>import</scope> |
| 218 | </dependency> |
| 219 | </dependencies> |
| 220 | </dependencyManagement> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 221 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 222 | <dependencies> |
| 223 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 224 | <groupId>com.att.eelf</groupId> |
| 225 | <artifactId>eelf-core</artifactId> |
| 226 | <version>${eelf.core.version}</version> |
| 227 | </dependency> |
Determe, Sebastien (sd378r) | 7a58af8 | 2018-06-06 13:47:21 +0200 | [diff] [blame] | 228 | <dependency> |
xg353y | 00fd66d | 2018-08-10 09:28:01 +0200 | [diff] [blame] | 229 | <groupId>org.onap.logging-analytics</groupId> |
| 230 | <artifactId>logging-library</artifactId> |
| 231 | <version>${logging.analytics.version}</version> |
| 232 | </dependency> |
| 233 | <dependency> |
Determe, Sebastien (sd378r) | 499e4e8 | 2018-08-09 17:14:09 +0200 | [diff] [blame] | 234 | <groupId>org.codehaus.janino</groupId> |
| 235 | <artifactId>janino</artifactId> |
| 236 | <version>3.0.8</version> |
| 237 | </dependency> |
| 238 | <dependency> |
Determe, Sebastien (sd378r) | 7a58af8 | 2018-06-06 13:47:21 +0200 | [diff] [blame] | 239 | <groupId>org.apache.tomcat.embed</groupId> |
| 240 | <artifactId>tomcat-embed-core</artifactId> |
| 241 | <version>${tomcat.version}</version> |
| 242 | </dependency> |
| 243 | <dependency> |
| 244 | <groupId>org.apache.tomcat.embed</groupId> |
| 245 | <artifactId>tomcat-embed-el</artifactId> |
| 246 | <version>${tomcat.version}</version> |
| 247 | </dependency> |
| 248 | <dependency> |
| 249 | <groupId>org.apache.tomcat.embed</groupId> |
| 250 | <artifactId>tomcat-embed-websocket</artifactId> |
| 251 | <version>${tomcat.version}</version> |
| 252 | </dependency> |
| 253 | <dependency> |
| 254 | <groupId>org.apache.tomcat</groupId> |
| 255 | <artifactId>tomcat-annotations-api</artifactId> |
| 256 | <version>${tomcat.version}</version> |
| 257 | </dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 258 | <!-- For CAMEL --> |
| 259 | <dependency> |
| 260 | <groupId>org.apache.camel</groupId> |
| 261 | <artifactId>camel-spring-boot-starter</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 262 | </dependency> |
| 263 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 264 | <groupId>org.apache.camel</groupId> |
| 265 | <artifactId>camel-jaxb-starter</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 266 | </dependency> |
| 267 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 268 | <groupId>org.apache.camel</groupId> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 269 | <artifactId>camel-servlet-starter</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 270 | </dependency> |
Determe, Sebastien (sd378r) | f785516 | 2018-04-27 14:02:39 +0200 | [diff] [blame] | 271 | <dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 272 | <groupId>org.apache.camel</groupId> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 273 | <artifactId>camel-jackson-starter</artifactId> |
| 274 | </dependency> |
| 275 | <dependency> |
| 276 | <groupId>org.apache.camel</groupId> |
| 277 | <artifactId>camel-swagger-java-starter</artifactId> |
| 278 | <exclusions> |
| 279 | <exclusion> |
| 280 | <groupId>javax.ws.rs</groupId> |
| 281 | <artifactId>jsr311-api</artifactId> |
| 282 | </exclusion> |
Determe, Sebastien (sd378r) | db25b62 | 2018-08-06 15:30:35 +0200 | [diff] [blame] | 283 | <exclusion> |
| 284 | <groupId>org.slf4j</groupId> |
| 285 | <artifactId>slf4j-ext</artifactId> |
| 286 | </exclusion> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 287 | </exclusions> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 288 | </dependency> |
| 289 | <dependency> |
Determe, Sebastien (sd378r) | f785516 | 2018-04-27 14:02:39 +0200 | [diff] [blame] | 290 | <groupId>javax.xml.bind</groupId> |
| 291 | <artifactId>jaxb-api</artifactId> |
| 292 | <version>2.3.0</version> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 293 | </dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 294 | <dependency> |
| 295 | <groupId>org.glassfish.jersey.core</groupId> |
| 296 | <artifactId>jersey-common</artifactId> |
| 297 | <version>2.27</version> |
| 298 | </dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 299 | <!-- Spring famework --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 300 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 301 | <groupId>org.springframework.boot</groupId> |
| 302 | <artifactId>spring-boot-starter-web</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 303 | </dependency> |
| 304 | <dependency> |
| 305 | <groupId>org.springframework.boot</groupId> |
| 306 | <artifactId>spring-boot-starter-tomcat</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 307 | </dependency> |
| 308 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 309 | <groupId>org.springframework</groupId> |
| 310 | <artifactId>spring-jdbc</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 311 | </dependency> |
| 312 | <dependency> |
| 313 | <groupId>org.springframework.boot</groupId> |
| 314 | <artifactId>spring-boot-starter-security</artifactId> |
| 315 | </dependency> |
| 316 | <dependency> |
| 317 | <groupId>org.springframework.boot</groupId> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 318 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 319 | </dependency> |
| 320 | <dependency> |
| 321 | <groupId>org.springframework.boot</groupId> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 322 | <artifactId>spring-boot-autoconfigure</artifactId> |
| 323 | </dependency> |
| 324 | <dependency> |
| 325 | <groupId>org.springframework.boot</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 326 | <artifactId>spring-boot-starter-test</artifactId> |
| 327 | <scope>test</scope> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 328 | <exclusions> |
| 329 | <exclusion> |
| 330 | <groupId>com.vaadin.external.google</groupId> |
| 331 | <artifactId>android-json</artifactId> |
| 332 | </exclusion> |
| 333 | </exclusions> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 334 | </dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 335 | <!-- Others dependencies --> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 336 | <dependency> |
xg353y | e640955 | 2018-05-08 16:21:39 +0200 | [diff] [blame] | 337 | <groupId>org.onap.aaf.authz</groupId> |
| 338 | <artifactId>aaf-cadi-aaf</artifactId> |
xg353y | 7e836e1 | 2018-06-06 15:50:33 +0200 | [diff] [blame] | 339 | <version>2.1.1</version> |
xg353y | e640955 | 2018-05-08 16:21:39 +0200 | [diff] [blame] | 340 | <exclusions> |
| 341 | <exclusion> |
| 342 | <groupId>javax.servlet</groupId> |
| 343 | <artifactId>servlet-api</artifactId> |
| 344 | </exclusion> |
| 345 | </exclusions> |
| 346 | </dependency> |
| 347 | <dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 348 | <groupId>ch.qos.logback</groupId> |
| 349 | <artifactId>logback-core</artifactId> |
| 350 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 351 | </dependency> |
| 352 | <dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 353 | <groupId>ch.qos.logback</groupId> |
| 354 | <artifactId>logback-classic</artifactId> |
| 355 | <version>1.2.3</version> |
| 356 | </dependency> |
| 357 | <dependency> |
| 358 | <groupId>commons-dbcp</groupId> |
| 359 | <artifactId>commons-dbcp</artifactId> |
| 360 | <version>1.4</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 361 | </dependency> |
| 362 | <dependency> |
| 363 | <groupId>commons-io</groupId> |
| 364 | <artifactId>commons-io</artifactId> |
| 365 | <version>2.6</version> |
| 366 | </dependency> |
| 367 | <dependency> |
| 368 | <groupId>com.googlecode.json-simple</groupId> |
| 369 | <artifactId>json-simple</artifactId> |
| 370 | </dependency> |
| 371 | <dependency> |
| 372 | <groupId>org.apache.commons</groupId> |
| 373 | <artifactId>commons-vfs2</artifactId> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 374 | <version>2.2</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 375 | </dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 376 | <dependency> |
| 377 | <groupId>joda-time</groupId> |
| 378 | <artifactId>joda-time</artifactId> |
| 379 | </dependency> |
| 380 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 381 | <groupId>org.slf4j</groupId> |
| 382 | <artifactId>slf4j-api</artifactId> |
| 383 | </dependency> |
| 384 | <dependency> |
| 385 | <groupId>javax.ws.rs</groupId> |
| 386 | <artifactId>javax.ws.rs-api</artifactId> |
| 387 | <version>2.0</version> |
| 388 | </dependency> |
| 389 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 390 | <groupId>junit</groupId> |
| 391 | <artifactId>junit</artifactId> |
| 392 | </dependency> |
| 393 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 394 | <groupId>javax.transaction</groupId> |
| 395 | <artifactId>jta</artifactId> |
| 396 | <version>1.1</version> |
| 397 | </dependency> |
| 398 | <dependency> |
| 399 | <groupId>javax.persistence</groupId> |
| 400 | <artifactId>persistence-api</artifactId> |
| 401 | <version>1.0.2</version> |
| 402 | </dependency> |
| 403 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 404 | <groupId>org.onap.policy.engine</groupId> |
| 405 | <artifactId>PolicyEngineAPI</artifactId> |
Determe, Sebastien (sd378r) | 42765b2 | 2018-03-28 17:25:55 +0200 | [diff] [blame] | 406 | <version>1.2.0</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 407 | <exclusions> |
| 408 | <exclusion> |
Bertozzi, Julien (jb379x) | 009f713 | 2018-03-08 15:53:57 -0500 | [diff] [blame] | 409 | <groupId>com.google.guava</groupId> |
| 410 | <artifactId>guava</artifactId> |
| 411 | </exclusion> |
| 412 | <exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 413 | <artifactId>log4j</artifactId> |
| 414 | <groupId>log4j</groupId> |
| 415 | </exclusion> |
| 416 | <exclusion> |
| 417 | <groupId>org.slf4j</groupId> |
| 418 | <artifactId>slf4j-log4j12</artifactId> |
| 419 | </exclusion> |
| 420 | <exclusion> |
| 421 | <artifactId>apache-log4j-extras</artifactId> |
| 422 | <groupId>log4j</groupId> |
| 423 | </exclusion> |
| 424 | <exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 425 | <groupId>mysql</groupId> |
| 426 | <artifactId>mysql-connector-java</artifactId> |
| 427 | </exclusion> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 428 | <exclusion> |
| 429 | <groupId>commons-io</groupId> |
| 430 | <artifactId>commons-io</artifactId> |
| 431 | </exclusion> |
Determe, Sebastien (sd378r) | a75076b | 2018-04-09 14:06:35 +0200 | [diff] [blame] | 432 | <exclusion> |
Determe, Sebastien (sd378r) | 215a355 | 2018-07-02 16:12:21 +0200 | [diff] [blame] | 433 | <artifactId>grizzly-http-server</artifactId> |
Determe, Sebastien (sd378r) | a75076b | 2018-04-09 14:06:35 +0200 | [diff] [blame] | 434 | <groupId>org.glassfish.grizzly</groupId> |
| 435 | </exclusion> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 436 | <exclusion> |
| 437 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 438 | <artifactId>dmaapClient</artifactId> |
| 439 | </exclusion> |
| 440 | <exclusion> |
| 441 | <groupId>org.onap.policy.common</groupId> |
| 442 | <artifactId>integrity-monitor</artifactId> |
| 443 | </exclusion> |
| 444 | <exclusion> |
| 445 | <groupId>org.onap.policy.common</groupId> |
| 446 | <artifactId>integrity-audit</artifactId> |
| 447 | </exclusion> |
| 448 | <exclusion> |
| 449 | <groupId>org.onap.aaf.cadi</groupId> |
| 450 | <artifactId>cadi-aaf</artifactId> |
| 451 | </exclusion> |
Determe, Sebastien (sd378r) | d153aaa | 2018-07-05 17:18:19 +0200 | [diff] [blame] | 452 | <exclusion> |
| 453 | <groupId>javax.jms</groupId> |
| 454 | <artifactId>jms</artifactId> |
| 455 | </exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 456 | </exclusions> |
| 457 | </dependency> |
| 458 | <dependency> |
| 459 | <groupId>org.onap.policy.common</groupId> |
| 460 | <artifactId>ONAP-Logging</artifactId> |
Determe, Sebastien (sd378r) | 42765b2 | 2018-03-28 17:25:55 +0200 | [diff] [blame] | 461 | <version>1.1.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 462 | <exclusions> |
| 463 | <exclusion> |
| 464 | <artifactId>log4j</artifactId> |
| 465 | <groupId>log4j</groupId> |
| 466 | </exclusion> |
| 467 | <exclusion> |
| 468 | <groupId>org.slf4j</groupId> |
| 469 | <artifactId>slf4j-log4j12</artifactId> |
| 470 | </exclusion> |
| 471 | <exclusion> |
| 472 | <artifactId>apache-log4j-extras</artifactId> |
| 473 | <groupId>log4j</groupId> |
| 474 | </exclusion> |
| 475 | </exclusions> |
| 476 | </dependency> |
| 477 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 478 | <groupId>org.onap.policy.drools-applications</groupId> |
| 479 | <artifactId>policy-yaml</artifactId> |
Determe, Sebastien (sd378r) | 42765b2 | 2018-03-28 17:25:55 +0200 | [diff] [blame] | 480 | <version>1.1.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 481 | <exclusions> |
| 482 | <exclusion> |
| 483 | <artifactId>log4j</artifactId> |
| 484 | <groupId>log4j</groupId> |
| 485 | </exclusion> |
| 486 | <exclusion> |
| 487 | <groupId>org.slf4j</groupId> |
| 488 | <artifactId>slf4j-log4j12</artifactId> |
| 489 | </exclusion> |
| 490 | <exclusion> |
| 491 | <artifactId>apache-log4j-extras</artifactId> |
| 492 | <groupId>log4j</groupId> |
| 493 | </exclusion> |
| 494 | </exclusions> |
| 495 | </dependency> |
| 496 | <dependency> |
| 497 | <groupId>org.onap.policy.drools-applications</groupId> |
| 498 | <artifactId>sdc</artifactId> |
Determe, Sebastien (sd378r) | 42765b2 | 2018-03-28 17:25:55 +0200 | [diff] [blame] | 499 | <version>1.1.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 500 | <exclusions> |
| 501 | <exclusion> |
| 502 | <artifactId>log4j</artifactId> |
| 503 | <groupId>log4j</groupId> |
| 504 | </exclusion> |
| 505 | <exclusion> |
| 506 | <groupId>org.slf4j</groupId> |
| 507 | <artifactId>slf4j-log4j12</artifactId> |
| 508 | </exclusion> |
| 509 | <exclusion> |
| 510 | <artifactId>apache-log4j-extras</artifactId> |
| 511 | <groupId>log4j</groupId> |
| 512 | </exclusion> |
| 513 | </exclusions> |
| 514 | </dependency> |
| 515 | <dependency> |
| 516 | <groupId>org.onap.policy.drools-applications</groupId> |
| 517 | <artifactId>aai</artifactId> |
Determe, Sebastien (sd378r) | 42765b2 | 2018-03-28 17:25:55 +0200 | [diff] [blame] | 518 | <version>1.1.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 519 | <exclusions> |
| 520 | <exclusion> |
| 521 | <artifactId>log4j</artifactId> |
| 522 | <groupId>log4j</groupId> |
| 523 | </exclusion> |
| 524 | <exclusion> |
| 525 | <groupId>org.slf4j</groupId> |
| 526 | <artifactId>slf4j-log4j12</artifactId> |
| 527 | </exclusion> |
| 528 | <exclusion> |
| 529 | <artifactId>apache-log4j-extras</artifactId> |
| 530 | <groupId>log4j</groupId> |
| 531 | </exclusion> |
| 532 | </exclusions> |
| 533 | </dependency> |
| 534 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 535 | <groupId>org.apache.commons</groupId> |
| 536 | <artifactId>commons-csv</artifactId> |
| 537 | <version>1.3</version> |
| 538 | </dependency> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 539 | <!-- Other dependencies to fix nexus IQ reported vulnerabilities --> |
| 540 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 541 | <groupId>org.codehaus.plexus</groupId> |
| 542 | <artifactId>plexus-utils</artifactId> |
| 543 | <version>3.0.24</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 544 | </dependency> |
| 545 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 546 | <groupId>commons-fileupload</groupId> |
| 547 | <artifactId>commons-fileupload</artifactId> |
| 548 | <version>1.3.3</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 549 | </dependency> |
| 550 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 551 | <groupId>org.jboss.spec.javax.ws.rs</groupId> |
| 552 | <artifactId>jboss-jaxrs-api_2.0_spec</artifactId> |
| 553 | <version>1.0.1.Final</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 554 | </dependency> |
Determe, Sebastien (sd378r) | 3df350a | 2018-07-03 15:38:34 +0200 | [diff] [blame] | 555 | <dependency> |
| 556 | <groupId>com.google.guava</groupId> |
| 557 | <artifactId>guava</artifactId> |
| 558 | <version>25.1-jre</version> |
| 559 | </dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 560 | <!-- Remove the MYSQL connector and replace it by Mariadb --> |
| 561 | <dependency> |
| 562 | <groupId>org.mariadb.jdbc</groupId> |
| 563 | <artifactId>mariadb-java-client</artifactId> |
Determe, Sebastien (sd378r) | 373a927 | 2018-02-20 18:19:39 +0100 | [diff] [blame] | 564 | <version>2.2.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 565 | </dependency> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 566 | <!-- For SDC Controller --> |
| 567 | <dependency> |
Determe, Sebastien (sd378r) | dd2d790 | 2018-04-06 11:48:07 +0200 | [diff] [blame] | 568 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 569 | <artifactId>sdc-distribution-client</artifactId> |
Determe, Sebastien (sd378r) | dd2d790 | 2018-04-06 11:48:07 +0200 | [diff] [blame] | 570 | <version>1.3.0</version> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 571 | </dependency> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 572 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 573 | <groupId>org.onap.sdc.sdc-tosca</groupId> |
| 574 | <artifactId>sdc-tosca</artifactId> |
| 575 | <version>1.3.0</version> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 576 | </dependency> |
Gabriel | 2dc06bd | 2018-06-25 08:25:06 +0200 | [diff] [blame] | 577 | <!-- TESTING --> |
| 578 | <dependency> |
| 579 | <groupId>org.assertj</groupId> |
| 580 | <artifactId>assertj-core</artifactId> |
| 581 | <version>3.10.0</version> |
| 582 | <scope>test</scope> |
| 583 | </dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 584 | <dependency> |
| 585 | <groupId>org.mockito</groupId> |
| 586 | <artifactId>mockito-core</artifactId> |
| 587 | <version>1.10.19</version> |
| 588 | <scope>test</scope> |
| 589 | </dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 590 | </dependencies> |
| 591 | <pluginRepositories> |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 592 | <pluginRepository> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 593 | <id>central-for-plugins</id> |
| 594 | <name>Maven 2 repository 2</name> |
| 595 | <url>http://repo2.maven.org/maven2/</url> |
| 596 | </pluginRepository> |
| 597 | <pluginRepository> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 598 | <snapshots> |
| 599 | <enabled>false</enabled> |
| 600 | </snapshots> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 601 | <id>jcenter-releases-for-plugins</id> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 602 | <name>jcenter</name> |
| 603 | <url>http://jcenter.bintray.com</url> |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 604 | </pluginRepository> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 605 | </pluginRepositories> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 606 | <build> |
| 607 | <finalName>clamp</finalName> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 608 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 609 | <testResources> |
| 610 | <testResource> |
| 611 | <directory>src/test/resources</directory> |
| 612 | <excludes> |
| 613 | <exclude>**/*.jks</exclude> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 614 | <exclude>**/*.csar</exclude> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 615 | </excludes> |
| 616 | <filtering>true</filtering> |
| 617 | </testResource> |
| 618 | <testResource> |
| 619 | <directory>src/test/resources/https</directory> |
| 620 | <includes> |
| 621 | <include>**.jks</include> |
| 622 | </includes> |
| 623 | <filtering>false</filtering> |
| 624 | <targetPath>https</targetPath> |
| 625 | </testResource> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 626 | <testResource> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 627 | <directory>src/test/resources/example/sdc</directory> |
| 628 | <includes> |
| 629 | <include>**.csar</include> |
| 630 | </includes> |
| 631 | <filtering>false</filtering> |
| 632 | <targetPath>example/sdc</targetPath> |
| 633 | </testResource> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 634 | </testResources> |
| 635 | <resources> |
| 636 | <resource> |
| 637 | <directory>src/main/resources</directory> |
| 638 | <filtering>true</filtering> |
| 639 | </resource> |
| 640 | <resource> |
| 641 | <directory>src/main/docker</directory> |
| 642 | <includes> |
| 643 | <include>**/*</include> |
| 644 | </includes> |
| 645 | <filtering>true</filtering> |
| 646 | </resource> |
| 647 | </resources> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 648 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 649 | <plugins> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 650 | <!-- Read the swagger.json file and the definition from SwaggerConfig.java; |
| 651 | generate a list of .adoc files containing the APIs info in more structured |
| 652 | way --> |
| 653 | <plugin> |
| 654 | <groupId>io.github.swagger2markup</groupId> |
| 655 | <artifactId>swagger2markup-maven-plugin</artifactId> |
| 656 | <version>1.3.3</version> |
| 657 | <dependencies> |
| 658 | <dependency> |
| 659 | <groupId>io.github.swagger2markup</groupId> |
| 660 | <artifactId>swagger2markup-import-files-ext</artifactId> |
| 661 | <version>1.3.3</version> |
| 662 | </dependency> |
| 663 | <dependency> |
| 664 | <groupId>io.github.swagger2markup</groupId> |
| 665 | <artifactId>swagger2markup-spring-restdocs-ext</artifactId> |
| 666 | <version>1.3.3</version> |
| 667 | </dependency> |
| 668 | </dependencies> |
| 669 | <configuration> |
| 670 | <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput> |
| 671 | <outputDir>${project.build.directory}/asciidoc/generated</outputDir> |
| 672 | <config> |
| 673 | <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage> |
| 674 | </config> |
| 675 | </configuration> |
| 676 | <executions> |
| 677 | <execution> |
| 678 | <phase>post-integration-test</phase> |
| 679 | <goals> |
| 680 | <goal>convertSwagger2markup</goal> |
| 681 | </goals> |
| 682 | </execution> |
| 683 | </executions> |
| 684 | </plugin> |
| 685 | |
| 686 | <!-- Run the generated asciidoc through Asciidoctor to generate other |
| 687 | documentation types, such as PDFs or HTML5 --> |
| 688 | <plugin> |
| 689 | <groupId>org.asciidoctor</groupId> |
| 690 | <artifactId>asciidoctor-maven-plugin</artifactId> |
| 691 | <version>1.5.6</version> |
| 692 | <dependencies> |
| 693 | <dependency> |
| 694 | <groupId>org.asciidoctor</groupId> |
| 695 | <artifactId>asciidoctorj-pdf</artifactId> |
| 696 | <version>1.5.0-alpha.10.1</version> |
| 697 | </dependency> |
| 698 | <dependency> |
| 699 | <groupId>org.jruby</groupId> |
| 700 | <artifactId>jruby-complete</artifactId> |
| 701 | <version>1.7.21</version> |
| 702 | </dependency> |
| 703 | </dependencies> |
| 704 | <configuration> |
| 705 | <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory> |
| 706 | <sourceDocumentName>swagger.adoc</sourceDocumentName> |
| 707 | <attributes> |
| 708 | <doctype>book</doctype> |
| 709 | <toc>left</toc> |
| 710 | <toclevels>3</toclevels> |
| 711 | <numbered></numbered> |
| 712 | <hardbreaks></hardbreaks> |
| 713 | <sectlinks></sectlinks> |
| 714 | <sectanchors></sectanchors> |
| 715 | <generated>${project.build.directory}/asciidoc/generated</generated> |
| 716 | </attributes> |
| 717 | </configuration> |
| 718 | |
| 719 | <executions> |
| 720 | <execution> |
| 721 | <id>output-html</id> |
| 722 | <phase>post-integration-test</phase> |
| 723 | <goals> |
| 724 | <goal>process-asciidoc</goal> |
| 725 | </goals> |
| 726 | <configuration> |
| 727 | <backend>html5</backend> |
| 728 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 729 | <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory> |
| 730 | </configuration> |
| 731 | </execution> |
| 732 | <execution> |
| 733 | <id>output-pdf</id> |
| 734 | <phase>post-integration-test</phase> |
| 735 | <goals> |
| 736 | <goal>process-asciidoc</goal> |
| 737 | </goals> |
| 738 | <configuration> |
| 739 | <backend>pdf</backend> |
| 740 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 741 | </configuration> |
| 742 | </execution> |
| 743 | </executions> |
| 744 | </plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 745 | <plugin> |
| 746 | <groupId>org.codehaus.groovy.maven</groupId> |
| 747 | <artifactId>gmaven-plugin</artifactId> |
| 748 | <version>1.0</version> |
| 749 | <executions> |
| 750 | <execution> |
| 751 | <phase>validate</phase> |
| 752 | <goals> |
| 753 | <goal>execute</goal> |
| 754 | </goals> |
| 755 | <configuration> |
| 756 | <source>${project.basedir}/src/main/script/TagVersion.groovy</source> |
| 757 | </configuration> |
| 758 | </execution> |
| 759 | </executions> |
| 760 | </plugin> |
| 761 | <plugin> |
| 762 | <groupId>org.apache.maven.plugins</groupId> |
| 763 | <artifactId>maven-jar-plugin</artifactId> |
| 764 | <version>3.0.2</version> |
| 765 | <executions> |
| 766 | <execution> |
| 767 | <id>jar-with-only-classes</id> |
| 768 | <phase>package</phase> |
| 769 | <goals> |
| 770 | <goal>jar</goal> |
| 771 | </goals> |
| 772 | <configuration> |
| 773 | <classifier>classes</classifier> |
| 774 | <includes> |
| 775 | <include>org/**</include> |
| 776 | </includes> |
| 777 | </configuration> |
| 778 | </execution> |
| 779 | </executions> |
| 780 | </plugin> |
| 781 | <plugin> |
| 782 | <groupId>org.codehaus.mojo</groupId> |
| 783 | <artifactId>build-helper-maven-plugin</artifactId> |
| 784 | <version>3.0.0</version> |
| 785 | <executions> |
| 786 | <execution> |
| 787 | <goals> |
| 788 | <goal>attach-artifact</goal> |
| 789 | </goals> |
| 790 | <phase>package</phase> |
| 791 | <configuration> |
| 792 | <artifacts> |
| 793 | <artifact> |
| 794 | <file>${project.build.directory}/clamp-classes.jar</file> |
| 795 | <type>jar</type> |
| 796 | <classifier>classes</classifier> |
| 797 | </artifact> |
| 798 | </artifacts> |
| 799 | </configuration> |
| 800 | </execution> |
| 801 | </executions> |
| 802 | </plugin> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 803 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 804 | <plugin> |
| 805 | <groupId>org.springframework.boot</groupId> |
| 806 | <artifactId>spring-boot-maven-plugin</artifactId> |
Determe, Sebastien (sd378r) | bb302a1 | 2018-07-02 15:38:28 +0200 | [diff] [blame] | 807 | <!-- Temporary fix --> |
| 808 | <version>1.5.13.RELEASE</version> |
| 809 | <!-- <version>${springboot.version}</version> --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 810 | <executions> |
| 811 | <execution> |
| 812 | <goals> |
| 813 | <goal>repackage</goal> |
| 814 | </goals> |
| 815 | <phase>package</phase> |
| 816 | </execution> |
| 817 | </executions> |
| 818 | </plugin> |
| 819 | <plugin> |
| 820 | <groupId>org.sonatype.plugins</groupId> |
| 821 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 822 | <version>1.6.7</version> |
| 823 | <extensions>true</extensions> |
| 824 | <configuration> |
| 825 | <nexusUrl>https://nexus.onap.org</nexusUrl> |
| 826 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 827 | <serverId>ecomp-staging</serverId> |
| 828 | <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo> |
| 829 | </configuration> |
| 830 | </plugin> |
Determe, Sebastien (sd378r) | 26400da | 2018-05-24 16:57:30 +0200 | [diff] [blame] | 831 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 832 | <plugin> |
| 833 | <groupId>org.apache.maven.plugins</groupId> |
| 834 | <artifactId>maven-surefire-plugin</artifactId> |
| 835 | <version>2.19.1</version> |
| 836 | <configuration> |
| 837 | <forkCount>1</forkCount> |
| 838 | <reuseForks>false</reuseForks> |
| 839 | </configuration> |
| 840 | </plugin> |
Determe, Sebastien (sd378r) | c06db6e | 2017-09-22 16:52:51 +0200 | [diff] [blame] | 841 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 842 | <plugin> |
| 843 | <groupId>org.apache.maven.plugins</groupId> |
| 844 | <artifactId>maven-failsafe-plugin</artifactId> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 845 | <version>2.17</version> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 846 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 847 | <executions> |
| 848 | <execution> |
| 849 | <id>integration-tests</id> |
| 850 | <goals> |
| 851 | <goal>integration-test</goal> |
| 852 | <goal>verify</goal> |
| 853 | </goals> |
| 854 | <configuration> |
| 855 | <includes> |
| 856 | <include>**/*ItCase.java</include> |
| 857 | </includes> |
| 858 | <forkCount>1</forkCount> |
| 859 | <reuseForks>false</reuseForks> |
| 860 | </configuration> |
| 861 | </execution> |
| 862 | </executions> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 863 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 864 | </plugin> |
| 865 | <plugin> |
| 866 | <groupId>io.fabric8</groupId> |
| 867 | <artifactId>docker-maven-plugin</artifactId> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 868 | <version>0.26.0</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 869 | <configuration> |
| 870 | <verbose>true</verbose> |
| 871 | <apiVersion>1.23</apiVersion> |
| 872 | <images> |
| 873 | <image> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 874 | <name>library/mariadb:10.1.11</name> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 875 | <alias>mariadb</alias> |
| 876 | <run> |
| 877 | <env> |
| 878 | <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD> |
| 879 | </env> |
| 880 | <hostname>mariadb</hostname> |
| 881 | <volumes> |
| 882 | <bind> |
| 883 | <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume> |
| 884 | <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume> |
| 885 | </bind> |
| 886 | </volumes> |
| 887 | <wait> |
| 888 | <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] | 889 | <time>600000</time> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 890 | </wait> |
| 891 | <ports> |
| 892 | <port>${docker.mariadb.port.host}:3306</port> |
| 893 | </ports> |
| 894 | </run> |
| 895 | </image> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 896 | <image> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 897 | <name>library/python:2-slim</name> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 898 | <alias>python</alias> |
| 899 | <run> |
| 900 | <hostname>python</hostname> |
| 901 | <volumes> |
| 902 | <bind> |
| 903 | <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] | 904 | <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] | 905 | </bind> |
| 906 | </volumes> |
| 907 | <wait> |
| 908 | <tcp> |
| 909 | <ports> |
| 910 | <port>8080</port> |
| 911 | </ports> |
| 912 | <mode>direct</mode> |
| 913 | </tcp> |
| 914 | <time>120000</time> |
| 915 | </wait> |
| 916 | <ports> |
| 917 | <port>${docker.http-cache.port.host}:8080</port> |
| 918 | </ports> |
| 919 | <workingDir>/usr/src/http-cache-app</workingDir> |
| 920 | <cmd> |
Determe, Sebastien (sd378r) | 885d7c1 | 2018-04-09 17:56:53 +0200 | [diff] [blame] | 921 | <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] | 922 | </cmd> |
| 923 | </run> |
| 924 | </image> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 925 | <image> |
| 926 | <name>onap/clamp</name> |
| 927 | <alias>onap-clamp</alias> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 928 | <run> |
| 929 | <skip>true</skip> |
| 930 | </run> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 931 | <build> |
| 932 | <cleanup>true</cleanup> |
| 933 | <tags> |
| 934 | <tag>latest</tag> |
| 935 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 936 | <tag>${project.docker.latesttag.version}</tag> |
| 937 | </tags> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 938 | <!-- A relative path is looked up in ${project.basedir}/src/main/docker |
| 939 | by default --> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 940 | <dockerFile>Dockerfile</dockerFile> |
| 941 | <assembly> |
| 942 | <descriptor>assembly/clamp-files.xml</descriptor> |
| 943 | <name>onap-clamp</name> |
| 944 | </assembly> |
| 945 | </build> |
| 946 | </image> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 947 | </images> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 948 | </configuration> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 949 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 950 | <executions> |
| 951 | <execution> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 952 | <id>generate-images</id> |
| 953 | <phase>install</phase> |
| 954 | <goals> |
| 955 | <goal>build</goal> |
| 956 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 957 | </execution> |
| 958 | <execution> |
| 959 | <id>push-images</id> |
| 960 | <phase>deploy</phase> |
| 961 | <goals> |
| 962 | <goal>push</goal> |
| 963 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 964 | </execution> |
| 965 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 966 | <id>docker-start-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 967 | <phase>pre-integration-test</phase> |
| 968 | <goals> |
| 969 | <goal>start</goal> |
| 970 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 971 | </execution> |
| 972 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 973 | <id>docker-stop-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 974 | <phase>post-integration-test</phase> |
| 975 | <goals> |
| 976 | <goal>stop</goal> |
| 977 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 978 | </execution> |
| 979 | </executions> |
| 980 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 981 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 982 | <plugin> |
| 983 | <groupId>org.jacoco</groupId> |
| 984 | <artifactId>jacoco-maven-plugin</artifactId> |
| 985 | <version>0.7.7.201606060606</version> |
| 986 | <configuration> |
| 987 | <dumpOnExit>true</dumpOnExit> |
| 988 | <includes> |
| 989 | <include>org.onap.clamp.*</include> |
| 990 | </includes> |
| 991 | </configuration> |
| 992 | <executions> |
| 993 | <execution> |
| 994 | <id>pre-unit-test</id> |
| 995 | <goals> |
| 996 | <goal>prepare-agent</goal> |
| 997 | </goals> |
| 998 | <configuration> |
| 999 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 1000 | <!-- <append>true</append> --> |
| 1001 | </configuration> |
| 1002 | </execution> |
| 1003 | <execution> |
| 1004 | <id>pre-integration-test</id> |
| 1005 | <phase>pre-integration-test</phase> |
| 1006 | <goals> |
| 1007 | <goal>prepare-agent</goal> |
| 1008 | </goals> |
| 1009 | <configuration> |
| 1010 | <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> |
| 1011 | <!-- <append>true</append> --> |
| 1012 | </configuration> |
| 1013 | </execution> |
| 1014 | <execution> |
| 1015 | <goals> |
| 1016 | <goal>merge</goal> |
| 1017 | </goals> |
| 1018 | <phase>post-integration-test</phase> |
| 1019 | <configuration> |
| 1020 | <fileSets> |
| 1021 | <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> |
| 1022 | <directory>${project.build.directory}/coverage-reports</directory> |
| 1023 | <includes> |
| 1024 | <include>*.exec</include> |
| 1025 | </includes> |
| 1026 | </fileSet> |
| 1027 | </fileSets> |
| 1028 | <destFile>${project.build.directory}/jacoco-dev.exec</destFile> |
| 1029 | </configuration> |
| 1030 | </execution> |
| 1031 | </executions> |
| 1032 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1033 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1034 | <!-- This plugin will be useful when we will have multi-modules project --> |
| 1035 | <plugin> |
| 1036 | <groupId>org.codehaus.mojo</groupId> |
| 1037 | <artifactId>versions-maven-plugin</artifactId> |
| 1038 | <version>1.3.1</version> |
| 1039 | </plugin> |
| 1040 | </plugins> |
| 1041 | </build> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1042 | </project> |