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 |
Arundathi Patil | 3d02685 | 2018-12-14 23:03:55 +0530 | [diff] [blame] | 4 | |
| 5 | Unless otherwise specified, all software contained herein is licensed |
| 6 | under the Apache License, Version 2.0 (the License); |
| 7 | you may not use this software except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 17 | --> |
Timoney, Dan (dt5972) | dfe5205 | 2019-07-17 11:07:44 -0400 | [diff] [blame] | 18 | <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] | 19 | <modelVersion>4.0.0</modelVersion> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 20 | |
| 21 | <parent> |
| 22 | <groupId>org.onap.ccsdk.parent</groupId> |
Timoney, Dan (dt5972) | da57151 | 2019-06-20 19:17:31 -0400 | [diff] [blame] | 23 | <artifactId>spring-boot-starter-parent</artifactId> |
Timoney, Dan (dt5972) | 1926b37 | 2019-09-11 10:54:30 -0400 | [diff] [blame] | 24 | <version>1.5.0-SNAPSHOT</version> |
Singal, Kapil (ks220y) | d39d85b | 2019-09-18 12:23:42 -0400 | [diff] [blame] | 25 | <relativePath/> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 26 | </parent> |
| 27 | |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 28 | <groupId>org.onap.ccsdk.cds</groupId> |
| 29 | <artifactId>parent</artifactId> |
Timoney, Dan (dt5972) | 1926b37 | 2019-09-11 10:54:30 -0400 | [diff] [blame] | 30 | <version>0.7.0-SNAPSHOT</version> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 31 | <packaging>pom</packaging> |
| 32 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 33 | <name>CDS Parent</name> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 34 | <description>CCSDK Controller Design Studio</description> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 35 | <url>https://wiki.onap.org</url> |
| 36 | <organization> |
| 37 | <name>ONAP</name> |
| 38 | </organization> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 39 | |
| 40 | <modules> |
Nirvan Ramjuttun | 2ac64f2 | 2019-05-30 14:07:23 -0400 | [diff] [blame] | 41 | <module>cds-ui</module> |
Alexis de Talhouët | 837f849 | 2019-03-27 16:42:08 -0400 | [diff] [blame] | 42 | <module>ms</module> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 43 | </modules> |
| 44 | |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 45 | <properties> |
| 46 | <!--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] | 47 | <sonar.language/> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 48 | <!--Provide src/main as source path so both src/main/java and src/main/kotlin are scanned--> |
| 49 | <sonar.sources>src/main</sonar.sources> |
| 50 | <!--Provide src/test as source path for test so both src/test/java and src/test/kotlin are scanned--> |
| 51 | <sonar.tests>src/test</sonar.tests> |
| 52 | <!--Only include java and kt files to the scan--> |
| 53 | <sonar.inclusions>**/*.java,**/*.kt</sonar.inclusions> |
Alexis de Talhouët | d4b56bc | 2019-07-01 19:25:41 -0400 | [diff] [blame] | 54 | <!--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] | 55 | <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] | 56 | <jacoco.version>0.8.3</jacoco.version> |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 57 | |
| 58 | <!-- Properties for POM Format --> |
| 59 | <format.skipValidate>false</format.skipValidate> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 60 | <format.skipExecute>true</format.skipExecute> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 61 | </properties> |
| 62 | |
| 63 | <build> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 64 | <plugins> |
| 65 | <plugin> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 66 | <groupId>org.jacoco</groupId> |
| 67 | <artifactId>jacoco-maven-plugin</artifactId> |
| 68 | <version>${jacoco.version}</version> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 69 | </plugin> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 70 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 71 | <!-- Plugin to Format/Validate POM Files --> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 72 | <plugin> |
| 73 | <groupId>org.codehaus.mojo</groupId> |
| 74 | <artifactId>tidy-maven-plugin</artifactId> |
| 75 | <version>1.1.0</version> |
| 76 | <executions> |
| 77 | <execution> |
| 78 | <id>format-pom</id> |
| 79 | <phase>process-sources</phase> |
| 80 | <goals> |
| 81 | <goal>pom</goal> |
| 82 | </goals> |
| 83 | <configuration> |
| 84 | <skip>${format.skipExecute}</skip> |
| 85 | </configuration> |
| 86 | </execution> |
| 87 | <execution> |
| 88 | <id>validate-pom</id> |
| 89 | <phase>validate</phase> |
| 90 | <goals> |
| 91 | <goal>check</goal> |
| 92 | </goals> |
| 93 | <configuration> |
| 94 | <skip>${format.skipValidate}</skip> |
| 95 | </configuration> |
| 96 | </execution> |
| 97 | </executions> |
| 98 | </plugin> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 99 | </plugins> |
| 100 | </build> |
Arundathi Patil | 3d02685 | 2018-12-14 23:03:55 +0530 | [diff] [blame] | 101 | |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 102 | <profiles> |
| 103 | <profile> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 104 | <id>blackduck</id> |
| 105 | <activation> |
| 106 | <property> |
| 107 | <name>blackduck-scan</name> |
| 108 | </property> |
| 109 | </activation> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 110 | <build> |
| 111 | <plugins> |
| 112 | <plugin> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 113 | <groupId>com.blackducksoftware.integration</groupId> |
| 114 | <artifactId>hub-maven-plugin</artifactId> |
| 115 | <version>1.4.0</version> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 116 | <inherited>false</inherited> |
| 117 | <configuration> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 118 | <hubProjectName>${project.name}</hubProjectName> |
| 119 | <outputDirectory>${project.basedir}</outputDirectory> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 120 | </configuration> |
| 121 | <executions> |
| 122 | <execution> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 123 | <id>create-bdio-file</id> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 124 | <phase>package</phase> |
| 125 | <goals> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 126 | <goal>createHubOutput</goal> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 127 | </goals> |
| 128 | </execution> |
| 129 | </executions> |
| 130 | </plugin> |
| 131 | </plugins> |
| 132 | </build> |
| 133 | </profile> |
Sylvain Desbureaux | ae7b27a | 2019-02-14 13:45:22 +0100 | [diff] [blame] | 134 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 135 | <!-- Profile to format skip validate or execute --> |
| 136 | <profile> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 137 | <id>format</id> |
| 138 | <properties> |
| 139 | <format.skipValidate>true</format.skipValidate> |
| 140 | <format.skipExecute>false</format.skipExecute> |
| 141 | </properties> |
| 142 | </profile> |
| 143 | </profiles> |
Timoney, Dan (dt5972) | 84b361d | 2019-04-24 15:05:00 -0400 | [diff] [blame] | 144 | </project> |