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