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 | eff8897 | 2018-11-01 16:28:00 +0100 | [diff] [blame] | 27 | <version>3.0.3-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> |
sebdet | 2f22405 | 2018-10-23 17:44:36 +0200 | [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> |
| 78 | <!-- Parameters for Javascript coverage |
| 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> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 268 | <groupId>org.apache.camel</groupId> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 269 | <artifactId>camel-jackson-starter</artifactId> |
| 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> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 283 | </exclusions> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 284 | </dependency> |
| 285 | <dependency> |
Determe, Sebastien (sd378r) | f785516 | 2018-04-27 14:02:39 +0200 | [diff] [blame] | 286 | <groupId>javax.xml.bind</groupId> |
| 287 | <artifactId>jaxb-api</artifactId> |
| 288 | <version>2.3.0</version> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 289 | </dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 290 | <dependency> |
| 291 | <groupId>org.glassfish.jersey.core</groupId> |
| 292 | <artifactId>jersey-common</artifactId> |
| 293 | <version>2.27</version> |
| 294 | </dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 295 | <!-- Spring famework --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 296 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 297 | <groupId>org.springframework.boot</groupId> |
| 298 | <artifactId>spring-boot-starter-web</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 299 | </dependency> |
| 300 | <dependency> |
| 301 | <groupId>org.springframework.boot</groupId> |
| 302 | <artifactId>spring-boot-starter-tomcat</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 303 | </dependency> |
| 304 | <dependency> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 305 | <groupId>org.springframework</groupId> |
| 306 | <artifactId>spring-jdbc</artifactId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 307 | </dependency> |
| 308 | <dependency> |
| 309 | <groupId>org.springframework.boot</groupId> |
| 310 | <artifactId>spring-boot-starter-security</artifactId> |
| 311 | </dependency> |
| 312 | <dependency> |
| 313 | <groupId>org.springframework.boot</groupId> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 314 | <artifactId>spring-boot-autoconfigure</artifactId> |
| 315 | </dependency> |
| 316 | <dependency> |
| 317 | <groupId>org.springframework.boot</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 318 | <artifactId>spring-boot-starter-test</artifactId> |
| 319 | <scope>test</scope> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 320 | <exclusions> |
| 321 | <exclusion> |
| 322 | <groupId>com.vaadin.external.google</groupId> |
| 323 | <artifactId>android-json</artifactId> |
| 324 | </exclusion> |
| 325 | </exclusions> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 326 | </dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 327 | <!-- Others dependencies --> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 328 | <dependency> |
xg353y | e640955 | 2018-05-08 16:21:39 +0200 | [diff] [blame] | 329 | <groupId>org.onap.aaf.authz</groupId> |
| 330 | <artifactId>aaf-cadi-aaf</artifactId> |
xg353y | 7e836e1 | 2018-06-06 15:50:33 +0200 | [diff] [blame] | 331 | <version>2.1.1</version> |
xg353y | e640955 | 2018-05-08 16:21:39 +0200 | [diff] [blame] | 332 | <exclusions> |
| 333 | <exclusion> |
| 334 | <groupId>javax.servlet</groupId> |
| 335 | <artifactId>servlet-api</artifactId> |
| 336 | </exclusion> |
| 337 | </exclusions> |
| 338 | </dependency> |
| 339 | <dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 340 | <groupId>ch.qos.logback</groupId> |
| 341 | <artifactId>logback-core</artifactId> |
| 342 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 343 | </dependency> |
| 344 | <dependency> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 345 | <groupId>ch.qos.logback</groupId> |
| 346 | <artifactId>logback-classic</artifactId> |
| 347 | <version>1.2.3</version> |
| 348 | </dependency> |
| 349 | <dependency> |
| 350 | <groupId>commons-dbcp</groupId> |
| 351 | <artifactId>commons-dbcp</artifactId> |
| 352 | <version>1.4</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 353 | </dependency> |
| 354 | <dependency> |
| 355 | <groupId>commons-io</groupId> |
| 356 | <artifactId>commons-io</artifactId> |
| 357 | <version>2.6</version> |
| 358 | </dependency> |
| 359 | <dependency> |
| 360 | <groupId>com.googlecode.json-simple</groupId> |
| 361 | <artifactId>json-simple</artifactId> |
| 362 | </dependency> |
| 363 | <dependency> |
| 364 | <groupId>org.apache.commons</groupId> |
| 365 | <artifactId>commons-vfs2</artifactId> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 366 | <version>2.2</version> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 367 | </dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 368 | <dependency> |
| 369 | <groupId>joda-time</groupId> |
| 370 | <artifactId>joda-time</artifactId> |
| 371 | </dependency> |
| 372 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 373 | <groupId>org.slf4j</groupId> |
| 374 | <artifactId>slf4j-api</artifactId> |
| 375 | </dependency> |
| 376 | <dependency> |
| 377 | <groupId>javax.ws.rs</groupId> |
| 378 | <artifactId>javax.ws.rs-api</artifactId> |
| 379 | <version>2.0</version> |
| 380 | </dependency> |
| 381 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 382 | <groupId>junit</groupId> |
| 383 | <artifactId>junit</artifactId> |
| 384 | </dependency> |
| 385 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 386 | <groupId>javax.transaction</groupId> |
| 387 | <artifactId>jta</artifactId> |
| 388 | <version>1.1</version> |
| 389 | </dependency> |
| 390 | <dependency> |
| 391 | <groupId>javax.persistence</groupId> |
| 392 | <artifactId>persistence-api</artifactId> |
| 393 | <version>1.0.2</version> |
| 394 | </dependency> |
| 395 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 396 | <groupId>org.onap.policy.engine</groupId> |
| 397 | <artifactId>PolicyEngineAPI</artifactId> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 398 | <version>1.3.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 399 | <exclusions> |
| 400 | <exclusion> |
Bertozzi, Julien (jb379x) | 009f713 | 2018-03-08 15:53:57 -0500 | [diff] [blame] | 401 | <groupId>com.google.guava</groupId> |
| 402 | <artifactId>guava</artifactId> |
| 403 | </exclusion> |
| 404 | <exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 405 | <artifactId>log4j</artifactId> |
| 406 | <groupId>log4j</groupId> |
| 407 | </exclusion> |
| 408 | <exclusion> |
| 409 | <groupId>org.slf4j</groupId> |
| 410 | <artifactId>slf4j-log4j12</artifactId> |
| 411 | </exclusion> |
| 412 | <exclusion> |
| 413 | <artifactId>apache-log4j-extras</artifactId> |
| 414 | <groupId>log4j</groupId> |
| 415 | </exclusion> |
| 416 | <exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 417 | <groupId>mysql</groupId> |
| 418 | <artifactId>mysql-connector-java</artifactId> |
| 419 | </exclusion> |
Determe, Sebastien (sd378r) | 7e44fa7 | 2018-02-07 10:11:30 +0100 | [diff] [blame] | 420 | <exclusion> |
| 421 | <groupId>commons-io</groupId> |
| 422 | <artifactId>commons-io</artifactId> |
| 423 | </exclusion> |
Determe, Sebastien (sd378r) | a75076b | 2018-04-09 14:06:35 +0200 | [diff] [blame] | 424 | <exclusion> |
Determe, Sebastien (sd378r) | 215a355 | 2018-07-02 16:12:21 +0200 | [diff] [blame] | 425 | <artifactId>grizzly-http-server</artifactId> |
Determe, Sebastien (sd378r) | a75076b | 2018-04-09 14:06:35 +0200 | [diff] [blame] | 426 | <groupId>org.glassfish.grizzly</groupId> |
| 427 | </exclusion> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 428 | <exclusion> |
| 429 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 430 | <artifactId>dmaapClient</artifactId> |
| 431 | </exclusion> |
| 432 | <exclusion> |
| 433 | <groupId>org.onap.policy.common</groupId> |
| 434 | <artifactId>integrity-monitor</artifactId> |
| 435 | </exclusion> |
| 436 | <exclusion> |
| 437 | <groupId>org.onap.policy.common</groupId> |
| 438 | <artifactId>integrity-audit</artifactId> |
| 439 | </exclusion> |
| 440 | <exclusion> |
| 441 | <groupId>org.onap.aaf.cadi</groupId> |
| 442 | <artifactId>cadi-aaf</artifactId> |
| 443 | </exclusion> |
Determe, Sebastien (sd378r) | d153aaa | 2018-07-05 17:18:19 +0200 | [diff] [blame] | 444 | <exclusion> |
| 445 | <groupId>javax.jms</groupId> |
| 446 | <artifactId>jms</artifactId> |
| 447 | </exclusion> |
sebdet | 7fcbe52 | 2018-10-22 14:45:34 +0200 | [diff] [blame] | 448 | <exclusion> |
| 449 | <groupId>commons-fileupload</groupId> |
| 450 | <artifactId>commons-fileupload</artifactId> |
| 451 | </exclusion> |
sebdet | ac4958a | 2018-11-05 14:12:48 +0100 | [diff] [blame] | 452 | <exclusion> |
| 453 | <groupId>com.att.research.xacml</groupId> |
| 454 | <artifactId>xacml</artifactId> |
| 455 | </exclusion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 456 | </exclusions> |
| 457 | </dependency> |
| 458 | <dependency> |
| 459 | <groupId>org.onap.policy.common</groupId> |
| 460 | <artifactId>ONAP-Logging</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 461 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 462 | <exclusions> |
| 463 | <exclusion> |
| 464 | <artifactId>log4j</artifactId> |
| 465 | <groupId>log4j</groupId> |
| 466 | </exclusion> |
| 467 | <exclusion> |
| 468 | <groupId>org.slf4j</groupId> |
| 469 | <artifactId>slf4j-log4j12</artifactId> |
| 470 | </exclusion> |
| 471 | <exclusion> |
| 472 | <artifactId>apache-log4j-extras</artifactId> |
| 473 | <groupId>log4j</groupId> |
| 474 | </exclusion> |
| 475 | </exclusions> |
| 476 | </dependency> |
| 477 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 478 | <groupId>org.onap.policy.drools-applications.controlloop.common</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 479 | <artifactId>policy-yaml</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 480 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 481 | <exclusions> |
| 482 | <exclusion> |
| 483 | <artifactId>log4j</artifactId> |
| 484 | <groupId>log4j</groupId> |
| 485 | </exclusion> |
| 486 | <exclusion> |
| 487 | <groupId>org.slf4j</groupId> |
| 488 | <artifactId>slf4j-log4j12</artifactId> |
| 489 | </exclusion> |
| 490 | <exclusion> |
| 491 | <artifactId>apache-log4j-extras</artifactId> |
| 492 | <groupId>log4j</groupId> |
| 493 | </exclusion> |
| 494 | </exclusions> |
| 495 | </dependency> |
| 496 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 497 | <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 498 | <artifactId>sdc</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 499 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 500 | <exclusions> |
| 501 | <exclusion> |
| 502 | <artifactId>log4j</artifactId> |
| 503 | <groupId>log4j</groupId> |
| 504 | </exclusion> |
| 505 | <exclusion> |
| 506 | <groupId>org.slf4j</groupId> |
| 507 | <artifactId>slf4j-log4j12</artifactId> |
| 508 | </exclusion> |
| 509 | <exclusion> |
| 510 | <artifactId>apache-log4j-extras</artifactId> |
| 511 | <groupId>log4j</groupId> |
| 512 | </exclusion> |
| 513 | </exclusions> |
| 514 | </dependency> |
| 515 | <dependency> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 516 | <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 517 | <artifactId>aai</artifactId> |
sebdet | d1ff5b9 | 2018-09-03 15:12:31 +0200 | [diff] [blame] | 518 | <version>1.2.3</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 519 | <exclusions> |
| 520 | <exclusion> |
| 521 | <artifactId>log4j</artifactId> |
| 522 | <groupId>log4j</groupId> |
| 523 | </exclusion> |
| 524 | <exclusion> |
| 525 | <groupId>org.slf4j</groupId> |
| 526 | <artifactId>slf4j-log4j12</artifactId> |
| 527 | </exclusion> |
| 528 | <exclusion> |
| 529 | <artifactId>apache-log4j-extras</artifactId> |
| 530 | <groupId>log4j</groupId> |
| 531 | </exclusion> |
| 532 | </exclusions> |
| 533 | </dependency> |
| 534 | <dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 535 | <groupId>org.apache.commons</groupId> |
| 536 | <artifactId>commons-csv</artifactId> |
| 537 | <version>1.3</version> |
| 538 | </dependency> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 539 | <!-- Other dependencies to fix nexus IQ reported vulnerabilities --> |
| 540 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 541 | <groupId>org.codehaus.plexus</groupId> |
| 542 | <artifactId>plexus-utils</artifactId> |
| 543 | <version>3.0.24</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 544 | </dependency> |
| 545 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 546 | <groupId>org.jboss.spec.javax.ws.rs</groupId> |
| 547 | <artifactId>jboss-jaxrs-api_2.0_spec</artifactId> |
| 548 | <version>1.0.1.Final</version> |
Determe, Sebastien (sd378r) | 886191e | 2018-03-02 11:42:06 +0100 | [diff] [blame] | 549 | </dependency> |
Determe, Sebastien (sd378r) | 3df350a | 2018-07-03 15:38:34 +0200 | [diff] [blame] | 550 | <dependency> |
| 551 | <groupId>com.google.guava</groupId> |
| 552 | <artifactId>guava</artifactId> |
Determe, Sebastien (sd378r) | 3df350a | 2018-07-03 15:38:34 +0200 | [diff] [blame] | 553 | </dependency> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 554 | <!-- Remove the MYSQL connector and replace it by Mariadb --> |
| 555 | <dependency> |
| 556 | <groupId>org.mariadb.jdbc</groupId> |
| 557 | <artifactId>mariadb-java-client</artifactId> |
Determe, Sebastien (sd378r) | 373a927 | 2018-02-20 18:19:39 +0100 | [diff] [blame] | 558 | <version>2.2.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 559 | </dependency> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 560 | <!-- For SDC Controller --> |
| 561 | <dependency> |
Determe, Sebastien (sd378r) | dd2d790 | 2018-04-06 11:48:07 +0200 | [diff] [blame] | 562 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 563 | <artifactId>sdc-distribution-client</artifactId> |
Determe, Sebastien (sd378r) | dd2d790 | 2018-04-06 11:48:07 +0200 | [diff] [blame] | 564 | <version>1.3.0</version> |
Determe, Sebastien (sd378r) | 465bfe2 | 2018-03-01 15:15:30 +0100 | [diff] [blame] | 565 | </dependency> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 566 | <dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 567 | <groupId>org.onap.sdc.sdc-tosca</groupId> |
| 568 | <artifactId>sdc-tosca</artifactId> |
osgn422w | 999cc72 | 2018-08-27 18:11:16 +0200 | [diff] [blame] | 569 | <version>1.4.1</version> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 570 | </dependency> |
Gabriel | 2dc06bd | 2018-06-25 08:25:06 +0200 | [diff] [blame] | 571 | <!-- TESTING --> |
| 572 | <dependency> |
| 573 | <groupId>org.assertj</groupId> |
| 574 | <artifactId>assertj-core</artifactId> |
| 575 | <version>3.10.0</version> |
| 576 | <scope>test</scope> |
| 577 | </dependency> |
xg353y | 054f1d1 | 2018-07-23 16:02:28 +0200 | [diff] [blame] | 578 | <dependency> |
| 579 | <groupId>org.mockito</groupId> |
| 580 | <artifactId>mockito-core</artifactId> |
| 581 | <version>1.10.19</version> |
| 582 | <scope>test</scope> |
| 583 | </dependency> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 584 | </dependencies> |
| 585 | <pluginRepositories> |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 586 | <pluginRepository> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 587 | <id>central-for-plugins</id> |
| 588 | <name>Maven 2 repository 2</name> |
| 589 | <url>http://repo2.maven.org/maven2/</url> |
| 590 | </pluginRepository> |
| 591 | <pluginRepository> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 592 | <snapshots> |
| 593 | <enabled>false</enabled> |
| 594 | </snapshots> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 595 | <id>jcenter-releases-for-plugins</id> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 596 | <name>jcenter</name> |
| 597 | <url>http://jcenter.bintray.com</url> |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 598 | </pluginRepository> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 599 | </pluginRepositories> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 600 | <build> |
| 601 | <finalName>clamp</finalName> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 602 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 603 | <testResources> |
| 604 | <testResource> |
| 605 | <directory>src/test/resources</directory> |
| 606 | <excludes> |
| 607 | <exclude>**/*.jks</exclude> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 608 | <exclude>**/*.csar</exclude> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 609 | </excludes> |
| 610 | <filtering>true</filtering> |
| 611 | </testResource> |
| 612 | <testResource> |
| 613 | <directory>src/test/resources/https</directory> |
| 614 | <includes> |
| 615 | <include>**.jks</include> |
| 616 | </includes> |
| 617 | <filtering>false</filtering> |
| 618 | <targetPath>https</targetPath> |
| 619 | </testResource> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 620 | <testResource> |
Determe, Sebastien (sd378r) | 2029624 | 2018-03-12 19:37:34 +0100 | [diff] [blame] | 621 | <directory>src/test/resources/example/sdc</directory> |
| 622 | <includes> |
| 623 | <include>**.csar</include> |
| 624 | </includes> |
| 625 | <filtering>false</filtering> |
| 626 | <targetPath>example/sdc</targetPath> |
| 627 | </testResource> |
sebdet | e442200 | 2018-10-16 17:47:54 +0200 | [diff] [blame] | 628 | |
| 629 | <!-- Copy the NPM package.json for CLAMP UI javascript testing framework --> |
| 630 | <testResource> |
| 631 | <directory>src/test/javascript</directory> |
| 632 | <includes> |
| 633 | <include>**/**.json</include> |
| 634 | </includes> |
| 635 | <filtering>true</filtering> |
| 636 | <targetPath>${project.build.directory}/clamp-ui</targetPath> |
| 637 | </testResource> |
| 638 | <testResource> |
| 639 | <directory>src/main/resources/META-INF/resources/designer</directory> |
| 640 | <filtering>false</filtering> |
| 641 | <targetPath>${project.build.directory}/clamp-ui/designer</targetPath> |
| 642 | </testResource> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 643 | </testResources> |
| 644 | <resources> |
Determe, Sebastien (sd378r) | e1c2aab | 2018-08-17 17:41:15 +0200 | [diff] [blame] | 645 | <!-- For AAF folder maven should not try to filter Keystores/Truststores ... |
| 646 | Otherwise they will be broken and unreadable |
| 647 | --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 648 | <resource> |
| 649 | <directory>src/main/resources</directory> |
| 650 | <filtering>true</filtering> |
Determe, Sebastien (sd378r) | e1c2aab | 2018-08-17 17:41:15 +0200 | [diff] [blame] | 651 | <excludes> |
| 652 | <exclude>clds/aaf/**</exclude> |
| 653 | </excludes> |
| 654 | </resource> |
| 655 | <resource> |
| 656 | <directory>src/main/resources</directory> |
| 657 | <filtering>false</filtering> |
| 658 | <includes> |
| 659 | <include>clds/aaf/**</include> |
| 660 | </includes> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 661 | </resource> |
| 662 | <resource> |
| 663 | <directory>src/main/docker</directory> |
| 664 | <includes> |
| 665 | <include>**/*</include> |
| 666 | </includes> |
| 667 | <filtering>true</filtering> |
| 668 | </resource> |
| 669 | </resources> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 670 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 671 | <plugins> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 672 | <plugin> |
| 673 | <groupId>org.sonatype.plugins</groupId> |
| 674 | <artifactId>port-allocator-maven-plugin</artifactId> |
| 675 | <version>1.2</version> |
| 676 | <executions> |
| 677 | <execution> |
| 678 | <phase>validate</phase> |
| 679 | <goals> |
| 680 | <goal>allocate-ports</goal> |
| 681 | </goals> |
| 682 | <configuration> |
| 683 | <ports> |
| 684 | <port> |
| 685 | <name>docker.mariadb.port.host</name> |
| 686 | </port> |
| 687 | <port> |
| 688 | <name>docker.http-cache.port.host</name> |
| 689 | </port> |
| 690 | <port> |
sebdet | 70efa49 | 2018-12-19 17:36:33 +0100 | [diff] [blame] | 691 | <name>clamp.it.tests.http-redirected</name> |
| 692 | </port> |
| 693 | <port> |
sebdet | a664994 | 2018-12-11 12:39:11 +0100 | [diff] [blame] | 694 | <name>clamp.it.tests.https</name> |
| 695 | </port> |
| 696 | <port> |
| 697 | <name>clamp.it.tests.http</name> |
| 698 | </port> |
| 699 | </ports> |
| 700 | </configuration> |
| 701 | </execution> |
| 702 | </executions> |
| 703 | </plugin> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 704 | <!-- Read the swagger.json file and the definition from SwaggerConfig.java; |
| 705 | generate a list of .adoc files containing the APIs info in more structured |
| 706 | way --> |
| 707 | <plugin> |
| 708 | <groupId>io.github.swagger2markup</groupId> |
| 709 | <artifactId>swagger2markup-maven-plugin</artifactId> |
| 710 | <version>1.3.3</version> |
| 711 | <dependencies> |
| 712 | <dependency> |
| 713 | <groupId>io.github.swagger2markup</groupId> |
| 714 | <artifactId>swagger2markup-import-files-ext</artifactId> |
| 715 | <version>1.3.3</version> |
| 716 | </dependency> |
| 717 | <dependency> |
| 718 | <groupId>io.github.swagger2markup</groupId> |
| 719 | <artifactId>swagger2markup-spring-restdocs-ext</artifactId> |
| 720 | <version>1.3.3</version> |
| 721 | </dependency> |
| 722 | </dependencies> |
| 723 | <configuration> |
| 724 | <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput> |
| 725 | <outputDir>${project.build.directory}/asciidoc/generated</outputDir> |
| 726 | <config> |
| 727 | <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage> |
| 728 | </config> |
| 729 | </configuration> |
| 730 | <executions> |
| 731 | <execution> |
| 732 | <phase>post-integration-test</phase> |
| 733 | <goals> |
| 734 | <goal>convertSwagger2markup</goal> |
| 735 | </goals> |
| 736 | </execution> |
| 737 | </executions> |
| 738 | </plugin> |
| 739 | |
| 740 | <!-- Run the generated asciidoc through Asciidoctor to generate other |
| 741 | documentation types, such as PDFs or HTML5 --> |
| 742 | <plugin> |
| 743 | <groupId>org.asciidoctor</groupId> |
| 744 | <artifactId>asciidoctor-maven-plugin</artifactId> |
| 745 | <version>1.5.6</version> |
| 746 | <dependencies> |
| 747 | <dependency> |
| 748 | <groupId>org.asciidoctor</groupId> |
| 749 | <artifactId>asciidoctorj-pdf</artifactId> |
| 750 | <version>1.5.0-alpha.10.1</version> |
| 751 | </dependency> |
| 752 | <dependency> |
| 753 | <groupId>org.jruby</groupId> |
| 754 | <artifactId>jruby-complete</artifactId> |
| 755 | <version>1.7.21</version> |
| 756 | </dependency> |
| 757 | </dependencies> |
| 758 | <configuration> |
| 759 | <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory> |
| 760 | <sourceDocumentName>swagger.adoc</sourceDocumentName> |
| 761 | <attributes> |
| 762 | <doctype>book</doctype> |
| 763 | <toc>left</toc> |
| 764 | <toclevels>3</toclevels> |
Gary Wu | 3a0d027 | 2018-08-24 15:18:20 -0700 | [diff] [blame] | 765 | <numbered/> |
| 766 | <hardbreaks/> |
| 767 | <sectlinks/> |
| 768 | <sectanchors/> |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 769 | <generated>${project.build.directory}/asciidoc/generated</generated> |
| 770 | </attributes> |
| 771 | </configuration> |
| 772 | |
| 773 | <executions> |
| 774 | <execution> |
| 775 | <id>output-html</id> |
| 776 | <phase>post-integration-test</phase> |
| 777 | <goals> |
| 778 | <goal>process-asciidoc</goal> |
| 779 | </goals> |
| 780 | <configuration> |
| 781 | <backend>html5</backend> |
| 782 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 783 | <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory> |
| 784 | </configuration> |
| 785 | </execution> |
| 786 | <execution> |
| 787 | <id>output-pdf</id> |
| 788 | <phase>post-integration-test</phase> |
| 789 | <goals> |
| 790 | <goal>process-asciidoc</goal> |
| 791 | </goals> |
| 792 | <configuration> |
| 793 | <backend>pdf</backend> |
| 794 | <outputDirectory>${project.basedir}/docs/swagger</outputDirectory> |
| 795 | </configuration> |
| 796 | </execution> |
| 797 | </executions> |
| 798 | </plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 799 | <plugin> |
| 800 | <groupId>org.codehaus.groovy.maven</groupId> |
| 801 | <artifactId>gmaven-plugin</artifactId> |
| 802 | <version>1.0</version> |
| 803 | <executions> |
| 804 | <execution> |
| 805 | <phase>validate</phase> |
| 806 | <goals> |
| 807 | <goal>execute</goal> |
| 808 | </goals> |
| 809 | <configuration> |
| 810 | <source>${project.basedir}/src/main/script/TagVersion.groovy</source> |
| 811 | </configuration> |
| 812 | </execution> |
| 813 | </executions> |
| 814 | </plugin> |
| 815 | <plugin> |
| 816 | <groupId>org.apache.maven.plugins</groupId> |
| 817 | <artifactId>maven-jar-plugin</artifactId> |
| 818 | <version>3.0.2</version> |
| 819 | <executions> |
| 820 | <execution> |
| 821 | <id>jar-with-only-classes</id> |
| 822 | <phase>package</phase> |
| 823 | <goals> |
| 824 | <goal>jar</goal> |
| 825 | </goals> |
| 826 | <configuration> |
| 827 | <classifier>classes</classifier> |
| 828 | <includes> |
| 829 | <include>org/**</include> |
| 830 | </includes> |
| 831 | </configuration> |
| 832 | </execution> |
| 833 | </executions> |
| 834 | </plugin> |
| 835 | <plugin> |
| 836 | <groupId>org.codehaus.mojo</groupId> |
| 837 | <artifactId>build-helper-maven-plugin</artifactId> |
| 838 | <version>3.0.0</version> |
| 839 | <executions> |
| 840 | <execution> |
| 841 | <goals> |
| 842 | <goal>attach-artifact</goal> |
| 843 | </goals> |
| 844 | <phase>package</phase> |
| 845 | <configuration> |
| 846 | <artifacts> |
| 847 | <artifact> |
| 848 | <file>${project.build.directory}/clamp-classes.jar</file> |
| 849 | <type>jar</type> |
| 850 | <classifier>classes</classifier> |
| 851 | </artifact> |
| 852 | </artifacts> |
| 853 | </configuration> |
| 854 | </execution> |
| 855 | </executions> |
| 856 | </plugin> |
Determe, Sebastien (sd378r) | 8bf3343 | 2017-08-08 02:49:33 -0700 | [diff] [blame] | 857 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 858 | <plugin> |
| 859 | <groupId>org.springframework.boot</groupId> |
| 860 | <artifactId>spring-boot-maven-plugin</artifactId> |
Determe, Sebastien (sd378r) | bb302a1 | 2018-07-02 15:38:28 +0200 | [diff] [blame] | 861 | <!-- Temporary fix --> |
| 862 | <version>1.5.13.RELEASE</version> |
| 863 | <!-- <version>${springboot.version}</version> --> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 864 | <executions> |
| 865 | <execution> |
| 866 | <goals> |
| 867 | <goal>repackage</goal> |
| 868 | </goals> |
| 869 | <phase>package</phase> |
| 870 | </execution> |
| 871 | </executions> |
| 872 | </plugin> |
| 873 | <plugin> |
| 874 | <groupId>org.sonatype.plugins</groupId> |
| 875 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 876 | <version>1.6.7</version> |
| 877 | <extensions>true</extensions> |
| 878 | <configuration> |
| 879 | <nexusUrl>https://nexus.onap.org</nexusUrl> |
| 880 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 881 | <serverId>ecomp-staging</serverId> |
| 882 | <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo> |
| 883 | </configuration> |
| 884 | </plugin> |
Determe, Sebastien (sd378r) | 26400da | 2018-05-24 16:57:30 +0200 | [diff] [blame] | 885 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 886 | <plugin> |
| 887 | <groupId>org.apache.maven.plugins</groupId> |
| 888 | <artifactId>maven-surefire-plugin</artifactId> |
sebdet | 2579386 | 2018-11-08 17:11:10 +0100 | [diff] [blame] | 889 | <version>2.22.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 890 | <configuration> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 891 | <forkCount>1C</forkCount> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 892 | <reuseForks>true</reuseForks> |
| 893 | <useSystemClassLoader>false</useSystemClassLoader> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 894 | <argLine>${surefireArgLine}</argLine> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 895 | </configuration> |
| 896 | </plugin> |
Determe, Sebastien (sd378r) | c06db6e | 2017-09-22 16:52:51 +0200 | [diff] [blame] | 897 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 898 | <plugin> |
| 899 | <groupId>org.apache.maven.plugins</groupId> |
| 900 | <artifactId>maven-failsafe-plugin</artifactId> |
sebdet | 2579386 | 2018-11-08 17:11:10 +0100 | [diff] [blame] | 901 | <version>2.22.1</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 902 | <executions> |
| 903 | <execution> |
| 904 | <id>integration-tests</id> |
| 905 | <goals> |
| 906 | <goal>integration-test</goal> |
| 907 | <goal>verify</goal> |
| 908 | </goals> |
| 909 | <configuration> |
sebdet | 2579386 | 2018-11-08 17:11:10 +0100 | [diff] [blame] | 910 | <additionalClasspathElements> |
| 911 | <additionalClasspathElement>${project.build.directory}/classes</additionalClasspathElement> |
| 912 | </additionalClasspathElements> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 913 | <includes> |
| 914 | <include>**/*ItCase.java</include> |
| 915 | </includes> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 916 | <forkCount>1</forkCount> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 917 | <reuseForks>true</reuseForks> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 918 | <useSystemClassLoader>false</useSystemClassLoader> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 919 | <argLine>${failsafeArgLine}</argLine> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 920 | </configuration> |
| 921 | </execution> |
| 922 | </executions> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 923 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 924 | </plugin> |
| 925 | <plugin> |
| 926 | <groupId>io.fabric8</groupId> |
| 927 | <artifactId>docker-maven-plugin</artifactId> |
sebdet | 0ffc044 | 2018-11-27 14:50:00 +0100 | [diff] [blame] | 928 | <version>0.27.2</version> |
sebdet | d72d0d0 | 2018-12-01 15:09:54 +0100 | [diff] [blame] | 929 | <dependencies> |
| 930 | <dependency> |
| 931 | <groupId>org.apache.httpcomponents</groupId> |
| 932 | <artifactId>httpclient</artifactId> |
| 933 | <version>4.5.5</version> |
| 934 | </dependency> |
| 935 | </dependencies> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 936 | <configuration> |
| 937 | <verbose>true</verbose> |
sebdet | 0ffc044 | 2018-11-27 14:50:00 +0100 | [diff] [blame] | 938 | <apiVersion>1.35</apiVersion> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 939 | <images> |
| 940 | <image> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 941 | <name>library/mariadb:10.1.11</name> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 942 | <alias>mariadb</alias> |
| 943 | <run> |
| 944 | <env> |
| 945 | <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD> |
| 946 | </env> |
| 947 | <hostname>mariadb</hostname> |
| 948 | <volumes> |
| 949 | <bind> |
| 950 | <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume> |
| 951 | <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume> |
| 952 | </bind> |
| 953 | </volumes> |
| 954 | <wait> |
| 955 | <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] | 956 | <time>600000</time> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 957 | </wait> |
| 958 | <ports> |
| 959 | <port>${docker.mariadb.port.host}:3306</port> |
| 960 | </ports> |
| 961 | </run> |
| 962 | </image> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 963 | <image> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 964 | <name>library/python:2-slim</name> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 965 | <alias>python</alias> |
| 966 | <run> |
| 967 | <hostname>python</hostname> |
| 968 | <volumes> |
| 969 | <bind> |
| 970 | <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] | 971 | <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] | 972 | </bind> |
| 973 | </volumes> |
| 974 | <wait> |
| 975 | <tcp> |
| 976 | <ports> |
| 977 | <port>8080</port> |
| 978 | </ports> |
| 979 | <mode>direct</mode> |
| 980 | </tcp> |
| 981 | <time>120000</time> |
| 982 | </wait> |
| 983 | <ports> |
| 984 | <port>${docker.http-cache.port.host}:8080</port> |
| 985 | </ports> |
| 986 | <workingDir>/usr/src/http-cache-app</workingDir> |
| 987 | <cmd> |
Determe, Sebastien (sd378r) | 885d7c1 | 2018-04-09 17:56:53 +0200 | [diff] [blame] | 988 | <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] | 989 | </cmd> |
| 990 | </run> |
| 991 | </image> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 992 | <image> |
| 993 | <name>onap/clamp</name> |
| 994 | <alias>onap-clamp</alias> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 995 | <run> |
| 996 | <skip>true</skip> |
| 997 | </run> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 998 | <build> |
| 999 | <cleanup>true</cleanup> |
| 1000 | <tags> |
| 1001 | <tag>latest</tag> |
| 1002 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 1003 | <tag>${project.docker.latesttag.version}</tag> |
| 1004 | </tags> |
Determe, Sebastien (sd378r) | d3428d8 | 2018-06-26 15:05:55 +0200 | [diff] [blame] | 1005 | <!-- A relative path is looked up in ${project.basedir}/src/main/docker |
| 1006 | by default --> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1007 | <dockerFile>Dockerfile</dockerFile> |
| 1008 | <assembly> |
| 1009 | <descriptor>assembly/clamp-files.xml</descriptor> |
| 1010 | <name>onap-clamp</name> |
| 1011 | </assembly> |
| 1012 | </build> |
| 1013 | </image> |
ac2550 | 96f162e | 2018-09-18 10:07:58 +0200 | [diff] [blame] | 1014 | <image> |
| 1015 | <name>onap/clamp-dashboard-logstash</name> |
| 1016 | <alias>onap-clamp-dashboard-logstash</alias> |
| 1017 | <run> |
| 1018 | <skip>true</skip> |
| 1019 | </run> |
| 1020 | <build> |
| 1021 | <cleanup>true</cleanup> |
| 1022 | <tags> |
| 1023 | <tag>latest</tag> |
| 1024 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 1025 | <tag>${project.docker.latesttag.version}</tag> |
| 1026 | </tags> |
ac2550 | a61b86e | 2018-10-10 13:54:08 +0200 | [diff] [blame] | 1027 | <dockerFile>logstash/Dockerfile.logstash</dockerFile> |
ac2550 | 96f162e | 2018-09-18 10:07:58 +0200 | [diff] [blame] | 1028 | </build> |
| 1029 | </image> |
ac2550 | ead1051 | 2018-10-05 13:50:23 +0200 | [diff] [blame] | 1030 | <image> |
| 1031 | <name>onap/clamp-dashboard-kibana</name> |
| 1032 | <alias>onap-clamp-dashboard-kibana</alias> |
| 1033 | <run> |
| 1034 | <skip>true</skip> |
| 1035 | </run> |
| 1036 | <build> |
| 1037 | <cleanup>true</cleanup> |
| 1038 | <tags> |
| 1039 | <tag>latest</tag> |
| 1040 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 1041 | <tag>${project.docker.latesttag.version}</tag> |
| 1042 | </tags> |
| 1043 | <dockerFile>kibana/Dockerfile.kibana</dockerFile> |
| 1044 | </build> |
| 1045 | </image> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1046 | </images> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1047 | </configuration> |
Determe, Sebastien (sd378r) | 8607a45 | 2018-07-04 11:03:16 +0200 | [diff] [blame] | 1048 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1049 | <executions> |
| 1050 | <execution> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1051 | <id>generate-images</id> |
| 1052 | <phase>install</phase> |
| 1053 | <goals> |
| 1054 | <goal>build</goal> |
| 1055 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1056 | </execution> |
| 1057 | <execution> |
| 1058 | <id>push-images</id> |
| 1059 | <phase>deploy</phase> |
| 1060 | <goals> |
| 1061 | <goal>push</goal> |
| 1062 | </goals> |
Determe, Sebastien (sd378r) | e0d94f6 | 2018-05-25 15:14:08 +0200 | [diff] [blame] | 1063 | </execution> |
| 1064 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1065 | <id>docker-start-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1066 | <phase>pre-integration-test</phase> |
| 1067 | <goals> |
| 1068 | <goal>start</goal> |
| 1069 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1070 | </execution> |
| 1071 | <execution> |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 1072 | <id>docker-stop-for-it</id> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1073 | <phase>post-integration-test</phase> |
| 1074 | <goals> |
| 1075 | <goal>stop</goal> |
| 1076 | </goals> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1077 | </execution> |
| 1078 | </executions> |
| 1079 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1080 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1081 | <plugin> |
| 1082 | <groupId>org.jacoco</groupId> |
| 1083 | <artifactId>jacoco-maven-plugin</artifactId> |
sebdet | f1d6990 | 2018-11-12 07:38:45 +0100 | [diff] [blame] | 1084 | <version>0.8.2</version> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1085 | <configuration> |
| 1086 | <dumpOnExit>true</dumpOnExit> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 1087 | <append>true</append> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1088 | <includes> |
| 1089 | <include>org.onap.clamp.*</include> |
| 1090 | </includes> |
| 1091 | </configuration> |
| 1092 | <executions> |
| 1093 | <execution> |
| 1094 | <id>pre-unit-test</id> |
| 1095 | <goals> |
| 1096 | <goal>prepare-agent</goal> |
| 1097 | </goals> |
| 1098 | <configuration> |
| 1099 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 1100 | <propertyName>surefireArgLine</propertyName> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1101 | <!-- <append>true</append> --> |
| 1102 | </configuration> |
| 1103 | </execution> |
| 1104 | <execution> |
| 1105 | <id>pre-integration-test</id> |
| 1106 | <phase>pre-integration-test</phase> |
| 1107 | <goals> |
| 1108 | <goal>prepare-agent</goal> |
| 1109 | </goals> |
| 1110 | <configuration> |
| 1111 | <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> |
sebdet | ce0136d | 2018-12-13 15:09:07 +0100 | [diff] [blame] | 1112 | <propertyName>failsafeArgLine</propertyName> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1113 | <!-- <append>true</append> --> |
| 1114 | </configuration> |
| 1115 | </execution> |
| 1116 | <execution> |
| 1117 | <goals> |
| 1118 | <goal>merge</goal> |
| 1119 | </goals> |
| 1120 | <phase>post-integration-test</phase> |
| 1121 | <configuration> |
| 1122 | <fileSets> |
| 1123 | <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> |
| 1124 | <directory>${project.build.directory}/coverage-reports</directory> |
| 1125 | <includes> |
| 1126 | <include>*.exec</include> |
| 1127 | </includes> |
| 1128 | </fileSet> |
| 1129 | </fileSets> |
| 1130 | <destFile>${project.build.directory}/jacoco-dev.exec</destFile> |
| 1131 | </configuration> |
| 1132 | </execution> |
| 1133 | </executions> |
| 1134 | </plugin> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1135 | |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1136 | <!-- This plugin will be useful when we will have multi-modules project --> |
| 1137 | <plugin> |
| 1138 | <groupId>org.codehaus.mojo</groupId> |
| 1139 | <artifactId>versions-maven-plugin</artifactId> |
| 1140 | <version>1.3.1</version> |
| 1141 | </plugin> |
sebdet | e442200 | 2018-10-16 17:47:54 +0200 | [diff] [blame] | 1142 | |
| 1143 | <plugin> |
| 1144 | <groupId>com.github.eirslett</groupId> |
| 1145 | <artifactId>frontend-maven-plugin</artifactId> |
| 1146 | <version>1.6</version> |
| 1147 | <configuration> |
| 1148 | <installDirectory>${project.build.directory}/clamp-ui</installDirectory> |
| 1149 | <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory> |
| 1150 | <skip>${maven.test.skip}</skip> |
| 1151 | </configuration> |
| 1152 | |
| 1153 | <executions> |
| 1154 | <execution> |
| 1155 | <id>install_node_and_npm</id> |
| 1156 | <goals> |
| 1157 | <goal>install-node-and-npm</goal> |
| 1158 | </goals> |
| 1159 | <phase>test</phase> |
| 1160 | <configuration> |
| 1161 | <nodeVersion>v8.11.1</nodeVersion> |
| 1162 | <npmVersion>5.6.0</npmVersion> |
| 1163 | </configuration> |
| 1164 | </execution> |
| 1165 | <execution> |
| 1166 | <id>npm_install</id> |
| 1167 | <goals> |
| 1168 | <goal>npm</goal> |
| 1169 | </goals> |
| 1170 | <phase>test</phase> |
| 1171 | <configuration> |
| 1172 | <arguments>install</arguments> |
| 1173 | </configuration> |
| 1174 | </execution> |
| 1175 | <execution> |
| 1176 | <id>npm_test</id> |
| 1177 | <goals> |
| 1178 | <goal>npm</goal> |
| 1179 | </goals> |
| 1180 | <phase>test</phase> |
| 1181 | <configuration> |
| 1182 | <arguments>run-script test:coverage</arguments> |
| 1183 | </configuration> |
| 1184 | </execution> |
| 1185 | |
| 1186 | </executions> |
| 1187 | </plugin> |
Determe, Sebastien (sd378r) | b4f7cb6 | 2017-11-16 13:27:22 +0100 | [diff] [blame] | 1188 | </plugins> |
| 1189 | </build> |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1190 | </project> |