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