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