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> |
Timoney, Dan (dt5972) | c5c977f | 2019-11-13 10:58:03 -0500 | [diff] [blame] | 25 | <version>1.5.0</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> |
Ahmed Abbas | 99fc5f0 | 2019-11-17 18:21:30 +0200 | [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--> |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 57 | <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 58 | <jacoco.version>0.8.3</jacoco.version> |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 59 | |
| 60 | <!-- Properties for POM Format --> |
| 61 | <format.skipValidate>false</format.skipValidate> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 62 | <format.skipExecute>true</format.skipExecute> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 63 | </properties> |
| 64 | |
| 65 | <build> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 66 | <plugins> |
| 67 | <plugin> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 68 | <groupId>org.jacoco</groupId> |
| 69 | <artifactId>jacoco-maven-plugin</artifactId> |
| 70 | <version>${jacoco.version}</version> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 71 | </plugin> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 72 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 73 | <!-- Plugin to Format/Validate POM Files --> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 74 | <plugin> |
| 75 | <groupId>org.codehaus.mojo</groupId> |
| 76 | <artifactId>tidy-maven-plugin</artifactId> |
| 77 | <version>1.1.0</version> |
| 78 | <executions> |
| 79 | <execution> |
| 80 | <id>format-pom</id> |
| 81 | <phase>process-sources</phase> |
| 82 | <goals> |
| 83 | <goal>pom</goal> |
| 84 | </goals> |
| 85 | <configuration> |
| 86 | <skip>${format.skipExecute}</skip> |
| 87 | </configuration> |
| 88 | </execution> |
| 89 | <execution> |
| 90 | <id>validate-pom</id> |
| 91 | <phase>validate</phase> |
| 92 | <goals> |
| 93 | <goal>check</goal> |
| 94 | </goals> |
| 95 | <configuration> |
| 96 | <skip>${format.skipValidate}</skip> |
| 97 | </configuration> |
| 98 | </execution> |
| 99 | </executions> |
| 100 | </plugin> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 101 | </plugins> |
| 102 | </build> |
Arundathi Patil | 3d02685 | 2018-12-14 23:03:55 +0530 | [diff] [blame] | 103 | |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 104 | <profiles> |
| 105 | <profile> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 106 | <id>blackduck</id> |
| 107 | <activation> |
| 108 | <property> |
| 109 | <name>blackduck-scan</name> |
| 110 | </property> |
| 111 | </activation> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 112 | <build> |
| 113 | <plugins> |
| 114 | <plugin> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 115 | <groupId>com.blackducksoftware.integration</groupId> |
| 116 | <artifactId>hub-maven-plugin</artifactId> |
| 117 | <version>1.4.0</version> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 118 | <inherited>false</inherited> |
| 119 | <configuration> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 120 | <hubProjectName>${project.name}</hubProjectName> |
| 121 | <outputDirectory>${project.basedir}</outputDirectory> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 122 | </configuration> |
| 123 | <executions> |
| 124 | <execution> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 125 | <id>create-bdio-file</id> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 126 | <phase>package</phase> |
| 127 | <goals> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 128 | <goal>createHubOutput</goal> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 129 | </goals> |
| 130 | </execution> |
| 131 | </executions> |
| 132 | </plugin> |
| 133 | </plugins> |
| 134 | </build> |
| 135 | </profile> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 136 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 137 | <!-- Profile to format skip validate or execute --> |
| 138 | <profile> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 139 | <id>format</id> |
| 140 | <properties> |
| 141 | <format.skipValidate>true</format.skipValidate> |
| 142 | <format.skipExecute>false</format.skipExecute> |
| 143 | </properties> |
| 144 | </profile> |
| 145 | </profiles> |
Timoney, Dan (dt5972) | 84b361d | 2019-04-24 15:05:00 -0400 | [diff] [blame] | 146 | </project> |