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