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