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 | --> |
Dan Timoney | 8edec22 | 2020-04-07 11:51:20 -0400 | [diff] [blame^] | 19 | |
Timoney, Dan (dt5972) | dfe5205 | 2019-07-17 11:07:44 -0400 | [diff] [blame] | 20 | <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] | 21 | <modelVersion>4.0.0</modelVersion> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 22 | |
| 23 | <parent> |
| 24 | <groupId>org.onap.ccsdk.parent</groupId> |
Timoney, Dan (dt5972) | da57151 | 2019-06-20 19:17:31 -0400 | [diff] [blame] | 25 | <artifactId>spring-boot-starter-parent</artifactId> |
Dan Timoney | 8edec22 | 2020-04-07 11:51:20 -0400 | [diff] [blame^] | 26 | <version>2.0.0-SNAPSHOT</version> |
Singal, Kapil (ks220y) | d39d85b | 2019-09-18 12:23:42 -0400 | [diff] [blame] | 27 | <relativePath/> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 28 | </parent> |
| 29 | |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 30 | <groupId>org.onap.ccsdk.cds</groupId> |
| 31 | <artifactId>parent</artifactId> |
Dan Timoney | 8edec22 | 2020-04-07 11:51:20 -0400 | [diff] [blame^] | 32 | <version>1.0.0-SNAPSHOT</version> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 33 | <packaging>pom</packaging> |
| 34 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 35 | <name>CDS Parent</name> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 36 | <description>CCSDK Controller Design Studio</description> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 37 | <url>https://wiki.onap.org</url> |
| 38 | <organization> |
| 39 | <name>ONAP</name> |
| 40 | </organization> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 41 | |
| 42 | <modules> |
Alexis de Talhouët | 837f849 | 2019-03-27 16:42:08 -0400 | [diff] [blame] | 43 | <module>ms</module> |
Singal, Kapil (ks220y) | 615761d | 2020-02-13 11:37:37 -0500 | [diff] [blame] | 44 | <module>cds-ui</module> |
Brinda Santh | 795ca3d | 2019-11-20 14:27:46 -0500 | [diff] [blame] | 45 | <module>components</module> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 46 | </modules> |
| 47 | |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 48 | <properties> |
| 49 | <!--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] | 50 | <sonar.language/> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 51 | <!--Provide src/main as source path so both src/main/java and src/main/kotlin are scanned--> |
| 52 | <sonar.sources>src/main</sonar.sources> |
| 53 | <!--Provide src/test as source path for test so both src/test/java and src/test/kotlin are scanned--> |
| 54 | <sonar.tests>src/test</sonar.tests> |
| 55 | <!--Only include java and kt files to the scan--> |
| 56 | <sonar.inclusions>**/*.java,**/*.kt</sonar.inclusions> |
Alexis de Talhouët | d4b56bc | 2019-07-01 19:25:41 -0400 | [diff] [blame] | 57 | <!--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] | 58 | <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml |
| 59 | </sonar.coverage.jacoco.xmlReportPaths> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 60 | <jacoco.version>0.8.3</jacoco.version> |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 61 | |
| 62 | <!-- Properties for POM Format --> |
| 63 | <format.skipValidate>false</format.skipValidate> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 64 | <format.skipExecute>true</format.skipExecute> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 65 | </properties> |
| 66 | |
| 67 | <build> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 68 | <plugins> |
| 69 | <plugin> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 70 | <groupId>org.jacoco</groupId> |
| 71 | <artifactId>jacoco-maven-plugin</artifactId> |
| 72 | <version>${jacoco.version}</version> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 73 | </plugin> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 74 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 75 | <!-- Plugin to Format/Validate POM Files --> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 76 | <plugin> |
| 77 | <groupId>org.codehaus.mojo</groupId> |
| 78 | <artifactId>tidy-maven-plugin</artifactId> |
| 79 | <version>1.1.0</version> |
| 80 | <executions> |
| 81 | <execution> |
| 82 | <id>format-pom</id> |
| 83 | <phase>process-sources</phase> |
| 84 | <goals> |
| 85 | <goal>pom</goal> |
| 86 | </goals> |
| 87 | <configuration> |
| 88 | <skip>${format.skipExecute}</skip> |
| 89 | </configuration> |
| 90 | </execution> |
| 91 | <execution> |
| 92 | <id>validate-pom</id> |
| 93 | <phase>validate</phase> |
| 94 | <goals> |
| 95 | <goal>check</goal> |
| 96 | </goals> |
| 97 | <configuration> |
| 98 | <skip>${format.skipValidate}</skip> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | </executions> |
| 102 | </plugin> |
Singal, Kapil (ks220y) | 341db21 | 2019-11-22 18:06:08 -0500 | [diff] [blame] | 103 | |
| 104 | <!-- Plugin to Format/Validate Kotlin Files --> |
| 105 | <plugin> |
| 106 | <groupId>org.apache.maven.plugins</groupId> |
| 107 | <artifactId>maven-antrun-plugin</artifactId> |
| 108 | <version>1.7</version> |
| 109 | <executions> |
| 110 | <execution> |
| 111 | <id>validate-kotlin</id> |
| 112 | <phase>validate</phase> |
| 113 | <configuration> |
| 114 | <target name="ktlint"> |
Dan Timoney | 114c5c1 | 2020-03-18 09:59:18 -0400 | [diff] [blame] | 115 | <java taskname="ktlint" dir="${project.basedir}" fork="true" failonerror="true" classname="com.pinterest.ktlint.Main" classpathref="maven.plugin.classpath"> |
Singal, Kapil (ks220y) | 341db21 | 2019-11-22 18:06:08 -0500 | [diff] [blame] | 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"> |
Dan Timoney | 114c5c1 | 2020-03-18 09:59:18 -0400 | [diff] [blame] | 131 | <java taskname="ktlint" dir="${project.basedir}" fork="true" failonerror="true" classname="com.pinterest.ktlint.Main" classpathref="maven.plugin.classpath"> |
Singal, Kapil (ks220y) | 341db21 | 2019-11-22 18:06:08 -0500 | [diff] [blame] | 132 | <arg value="-F"/> |
| 133 | <arg value="src/**/*.kt"/> |
| 134 | </java> |
| 135 | </target> |
| 136 | <skip>${format.skipExecute}</skip> |
| 137 | </configuration> |
| 138 | <goals> |
| 139 | <goal>run</goal> |
| 140 | </goals> |
| 141 | </execution> |
| 142 | </executions> |
| 143 | <dependencies> |
| 144 | <dependency> |
| 145 | <groupId>com.pinterest</groupId> |
| 146 | <artifactId>ktlint</artifactId> |
| 147 | <version>0.35.0</version> |
| 148 | </dependency> |
| 149 | </dependencies> |
| 150 | </plugin> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 151 | </plugins> |
| 152 | </build> |
Arundathi Patil | 3d02685 | 2018-12-14 23:03:55 +0530 | [diff] [blame] | 153 | |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 154 | <profiles> |
| 155 | <profile> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 156 | <id>blackduck</id> |
| 157 | <activation> |
| 158 | <property> |
| 159 | <name>blackduck-scan</name> |
| 160 | </property> |
| 161 | </activation> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 162 | <build> |
| 163 | <plugins> |
| 164 | <plugin> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 165 | <groupId>com.blackducksoftware.integration</groupId> |
| 166 | <artifactId>hub-maven-plugin</artifactId> |
| 167 | <version>1.4.0</version> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 168 | <inherited>false</inherited> |
| 169 | <configuration> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 170 | <hubProjectName>${project.name}</hubProjectName> |
| 171 | <outputDirectory>${project.basedir}</outputDirectory> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 172 | </configuration> |
| 173 | <executions> |
| 174 | <execution> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 175 | <id>create-bdio-file</id> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 176 | <phase>package</phase> |
| 177 | <goals> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 178 | <goal>createHubOutput</goal> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 179 | </goals> |
| 180 | </execution> |
| 181 | </executions> |
| 182 | </plugin> |
| 183 | </plugins> |
| 184 | </build> |
| 185 | </profile> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 186 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 187 | <!-- Profile to format skip validate or execute --> |
| 188 | <profile> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 189 | <id>format</id> |
| 190 | <properties> |
| 191 | <format.skipValidate>true</format.skipValidate> |
| 192 | <format.skipExecute>false</format.skipExecute> |
| 193 | </properties> |
| 194 | </profile> |
Timoney, Dan (dt5972) | dc863f4 | 2019-12-11 12:28:44 -0500 | [diff] [blame] | 195 | <profile> |
| 196 | <id>dependency-list</id> |
| 197 | <build> |
| 198 | <plugins> |
| 199 | <plugin> |
| 200 | <groupId>com.github.ferstl</groupId> |
| 201 | <artifactId>depgraph-maven-plugin</artifactId> |
| 202 | <executions> |
| 203 | <execution> |
| 204 | <phase>validate</phase> |
| 205 | <inherited>false</inherited> |
| 206 | <goals> |
| 207 | <goal>aggregate</goal> |
| 208 | </goals> |
| 209 | </execution> |
| 210 | </executions> |
| 211 | </plugin> |
| 212 | <plugin> |
| 213 | <groupId>org.codehaus.mojo</groupId> |
| 214 | <artifactId>build-helper-maven-plugin</artifactId> |
| 215 | <executions> |
| 216 | <execution> |
| 217 | <id>attach-artifacts</id> |
| 218 | <phase>package</phase> |
| 219 | <inherited>false</inherited> |
| 220 | <goals> |
| 221 | <goal>attach-artifact</goal> |
| 222 | </goals> |
| 223 | <configuration> |
| 224 | <artifacts> |
| 225 | <artifact> |
| 226 | <file>${dependency-list.file}</file> |
| 227 | <type>txt</type> |
| 228 | <classifier>dependencies</classifier> |
| 229 | </artifact> |
| 230 | </artifacts> |
| 231 | </configuration> |
| 232 | </execution> |
| 233 | </executions> |
| 234 | </plugin> |
| 235 | </plugins> |
| 236 | </build> |
| 237 | </profile> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 238 | </profiles> |
Timoney, Dan (dt5972) | 84b361d | 2019-04-24 15:05:00 -0400 | [diff] [blame] | 239 | </project> |