Timoney, Dan (dt5972) | 84b361d | 2019-04-24 15:05:00 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 2 | <!-- |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 3 | Copyright (C) 2019 Bell Canada |
Brinda Santh | 795ca3d | 2019-11-20 14:27:46 -0500 | [diff] [blame] | 4 | Modification Copyright © 2018-2019 AT&T Intellectual Property. |
Arundathi Patil | 3d02685 | 2018-12-14 23:03:55 +0530 | [diff] [blame] | 5 | |
| 6 | Unless otherwise specified, all software contained herein is licensed |
| 7 | under the Apache License, Version 2.0 (the License); |
| 8 | you may not use this software except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 18 | --> |
Timoney, Dan (dt5972) | dfe5205 | 2019-07-17 11:07:44 -0400 | [diff] [blame] | 19 | <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"> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 20 | <modelVersion>4.0.0</modelVersion> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 21 | |
| 22 | <parent> |
| 23 | <groupId>org.onap.ccsdk.parent</groupId> |
Timoney, Dan (dt5972) | da57151 | 2019-06-20 19:17:31 -0400 | [diff] [blame] | 24 | <artifactId>spring-boot-starter-parent</artifactId> |
Brinda Santh | 5c094c6 | 2020-01-31 14:41:41 -0500 | [diff] [blame] | 25 | <version>1.5.2-SNAPSHOT</version> |
Singal, Kapil (ks220y) | d39d85b | 2019-09-18 12:23:42 -0400 | [diff] [blame] | 26 | <relativePath/> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 27 | </parent> |
| 28 | |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 29 | <groupId>org.onap.ccsdk.cds</groupId> |
| 30 | <artifactId>parent</artifactId> |
Timoney, Dan (dt5972) | 1926b37 | 2019-09-11 10:54:30 -0400 | [diff] [blame] | 31 | <version>0.7.0-SNAPSHOT</version> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 32 | <packaging>pom</packaging> |
| 33 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 34 | <name>CDS Parent</name> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 35 | <description>CCSDK Controller Design Studio</description> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 36 | <url>https://wiki.onap.org</url> |
| 37 | <organization> |
| 38 | <name>ONAP</name> |
| 39 | </organization> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 40 | |
| 41 | <modules> |
Alexis de Talhouët | 837f849 | 2019-03-27 16:42:08 -0400 | [diff] [blame] | 42 | <module>ms</module> |
Singal, Kapil (ks220y) | 615761d | 2020-02-13 11:37:37 -0500 | [diff] [blame^] | 43 | <module>cds-ui</module> |
Brinda Santh | 795ca3d | 2019-11-20 14:27:46 -0500 | [diff] [blame] | 44 | <module>components</module> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 45 | </modules> |
| 46 | |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 47 | <properties> |
| 48 | <!--Don't set any language to let sonar enable multi-language support--> |
Singal, Kapil (ks220y) | d39d85b | 2019-09-18 12:23:42 -0400 | [diff] [blame] | 49 | <sonar.language/> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 50 | <!--Provide src/main as source path so both src/main/java and src/main/kotlin are scanned--> |
| 51 | <sonar.sources>src/main</sonar.sources> |
| 52 | <!--Provide src/test as source path for test so both src/test/java and src/test/kotlin are scanned--> |
| 53 | <sonar.tests>src/test</sonar.tests> |
| 54 | <!--Only include java and kt files to the scan--> |
| 55 | <sonar.inclusions>**/*.java,**/*.kt</sonar.inclusions> |
Alexis de Talhouët | d4b56bc | 2019-07-01 19:25:41 -0400 | [diff] [blame] | 56 | <!--Specify path to load jacoco XLM report, as Sonar can't load Kotlin coverage from binary report--> |
Brinda Santh | 65bb9d0 | 2020-02-05 15:51:03 -0500 | [diff] [blame] | 57 | <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml |
| 58 | </sonar.coverage.jacoco.xmlReportPaths> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 59 | <jacoco.version>0.8.3</jacoco.version> |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 60 | |
| 61 | <!-- Properties for POM Format --> |
| 62 | <format.skipValidate>false</format.skipValidate> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 63 | <format.skipExecute>true</format.skipExecute> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 64 | </properties> |
| 65 | |
| 66 | <build> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 67 | <plugins> |
| 68 | <plugin> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 69 | <groupId>org.jacoco</groupId> |
| 70 | <artifactId>jacoco-maven-plugin</artifactId> |
| 71 | <version>${jacoco.version}</version> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 72 | </plugin> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 73 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 74 | <!-- Plugin to Format/Validate POM Files --> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 75 | <plugin> |
| 76 | <groupId>org.codehaus.mojo</groupId> |
| 77 | <artifactId>tidy-maven-plugin</artifactId> |
| 78 | <version>1.1.0</version> |
| 79 | <executions> |
| 80 | <execution> |
| 81 | <id>format-pom</id> |
| 82 | <phase>process-sources</phase> |
| 83 | <goals> |
| 84 | <goal>pom</goal> |
| 85 | </goals> |
| 86 | <configuration> |
| 87 | <skip>${format.skipExecute}</skip> |
| 88 | </configuration> |
| 89 | </execution> |
| 90 | <execution> |
| 91 | <id>validate-pom</id> |
| 92 | <phase>validate</phase> |
| 93 | <goals> |
| 94 | <goal>check</goal> |
| 95 | </goals> |
| 96 | <configuration> |
| 97 | <skip>${format.skipValidate}</skip> |
| 98 | </configuration> |
| 99 | </execution> |
| 100 | </executions> |
| 101 | </plugin> |
Singal, Kapil (ks220y) | 341db21 | 2019-11-22 18:06:08 -0500 | [diff] [blame] | 102 | |
| 103 | <!-- Plugin to Format/Validate Kotlin Files --> |
| 104 | <plugin> |
| 105 | <groupId>org.apache.maven.plugins</groupId> |
| 106 | <artifactId>maven-antrun-plugin</artifactId> |
| 107 | <version>1.7</version> |
| 108 | <executions> |
| 109 | <execution> |
| 110 | <id>validate-kotlin</id> |
| 111 | <phase>validate</phase> |
| 112 | <configuration> |
| 113 | <target name="ktlint"> |
| 114 | <java taskname="ktlint" dir="${project.basedir}" fork="true" failonerror="true" |
| 115 | classname="com.pinterest.ktlint.Main" classpathref="maven.plugin.classpath"> |
| 116 | <arg value="src/**/*.kt"/> |
| 117 | </java> |
| 118 | </target> |
| 119 | <skip>${format.skipValidate}</skip> |
| 120 | </configuration> |
| 121 | <goals> |
| 122 | <goal>run</goal> |
| 123 | </goals> |
| 124 | </execution> |
| 125 | <execution> |
| 126 | <!-- Built-in formatter So that you wouldn't have to fix all style violations by hand.--> |
| 127 | <id>format-kotlin</id> |
| 128 | <phase>process-sources</phase> |
| 129 | <configuration> |
| 130 | <target name="ktlint"> |
| 131 | <java taskname="ktlint" dir="${project.basedir}" fork="true" failonerror="true" |
| 132 | classname="com.pinterest.ktlint.Main" classpathref="maven.plugin.classpath"> |
| 133 | <arg value="-F"/> |
| 134 | <arg value="src/**/*.kt"/> |
| 135 | </java> |
| 136 | </target> |
| 137 | <skip>${format.skipExecute}</skip> |
| 138 | </configuration> |
| 139 | <goals> |
| 140 | <goal>run</goal> |
| 141 | </goals> |
| 142 | </execution> |
| 143 | </executions> |
| 144 | <dependencies> |
| 145 | <dependency> |
| 146 | <groupId>com.pinterest</groupId> |
| 147 | <artifactId>ktlint</artifactId> |
| 148 | <version>0.35.0</version> |
| 149 | </dependency> |
| 150 | </dependencies> |
| 151 | </plugin> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 152 | </plugins> |
| 153 | </build> |
Arundathi Patil | 3d02685 | 2018-12-14 23:03:55 +0530 | [diff] [blame] | 154 | |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 155 | <profiles> |
| 156 | <profile> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 157 | <id>blackduck</id> |
| 158 | <activation> |
| 159 | <property> |
| 160 | <name>blackduck-scan</name> |
| 161 | </property> |
| 162 | </activation> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 163 | <build> |
| 164 | <plugins> |
| 165 | <plugin> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 166 | <groupId>com.blackducksoftware.integration</groupId> |
| 167 | <artifactId>hub-maven-plugin</artifactId> |
| 168 | <version>1.4.0</version> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 169 | <inherited>false</inherited> |
| 170 | <configuration> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 171 | <hubProjectName>${project.name}</hubProjectName> |
| 172 | <outputDirectory>${project.basedir}</outputDirectory> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 173 | </configuration> |
| 174 | <executions> |
| 175 | <execution> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 176 | <id>create-bdio-file</id> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 177 | <phase>package</phase> |
| 178 | <goals> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 179 | <goal>createHubOutput</goal> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 180 | </goals> |
| 181 | </execution> |
| 182 | </executions> |
| 183 | </plugin> |
| 184 | </plugins> |
| 185 | </build> |
| 186 | </profile> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 187 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 188 | <!-- Profile to format skip validate or execute --> |
| 189 | <profile> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 190 | <id>format</id> |
| 191 | <properties> |
| 192 | <format.skipValidate>true</format.skipValidate> |
| 193 | <format.skipExecute>false</format.skipExecute> |
| 194 | </properties> |
| 195 | </profile> |
Timoney, Dan (dt5972) | dc863f4 | 2019-12-11 12:28:44 -0500 | [diff] [blame] | 196 | <profile> |
| 197 | <id>dependency-list</id> |
| 198 | <build> |
| 199 | <plugins> |
| 200 | <plugin> |
| 201 | <groupId>com.github.ferstl</groupId> |
| 202 | <artifactId>depgraph-maven-plugin</artifactId> |
| 203 | <executions> |
| 204 | <execution> |
| 205 | <phase>validate</phase> |
| 206 | <inherited>false</inherited> |
| 207 | <goals> |
| 208 | <goal>aggregate</goal> |
| 209 | </goals> |
| 210 | </execution> |
| 211 | </executions> |
| 212 | </plugin> |
| 213 | <plugin> |
| 214 | <groupId>org.codehaus.mojo</groupId> |
| 215 | <artifactId>build-helper-maven-plugin</artifactId> |
| 216 | <executions> |
| 217 | <execution> |
| 218 | <id>attach-artifacts</id> |
| 219 | <phase>package</phase> |
| 220 | <inherited>false</inherited> |
| 221 | <goals> |
| 222 | <goal>attach-artifact</goal> |
| 223 | </goals> |
| 224 | <configuration> |
| 225 | <artifacts> |
| 226 | <artifact> |
| 227 | <file>${dependency-list.file}</file> |
| 228 | <type>txt</type> |
| 229 | <classifier>dependencies</classifier> |
| 230 | </artifact> |
| 231 | </artifacts> |
| 232 | </configuration> |
| 233 | </execution> |
| 234 | </executions> |
| 235 | </plugin> |
| 236 | </plugins> |
| 237 | </build> |
| 238 | </profile> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 239 | </profiles> |
Timoney, Dan (dt5972) | 84b361d | 2019-04-24 15:05:00 -0400 | [diff] [blame] | 240 | </project> |