blob: d7580f0b0ffdc95fe5c31ca157e18fb5f21b100f [file] [log] [blame]
Timoney, Dan (dt5972)84b361d2019-04-24 15:05:00 -04001<?xml version="1.0" encoding="UTF-8"?>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +01002<!--
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -04003Copyright (C) 2019 Bell Canada
Brinda Santh795ca3d2019-11-20 14:27:46 -05004Modification Copyright © 2018-2019 AT&T Intellectual Property.
Arundathi Patil3d026852018-12-14 23:03:55 +05305
6Unless otherwise specified, all software contained herein is licensed
7under the Apache License, Version 2.0 (the License);
8you may not use this software except in compliance with the License.
9You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13Unless required by applicable law or agreed to in writing, software
14distributed under the License is distributed on an "AS IS" BASIS,
15WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16See the License for the specific language governing permissions and
17limitations under the License.
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010018-->
Timoney, Dan (dt5972)dfe52052019-07-17 11:07:44 -040019<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)24f39fd2019-09-17 16:36:59 +000020 <modelVersion>4.0.0</modelVersion>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040021
22 <parent>
23 <groupId>org.onap.ccsdk.parent</groupId>
Timoney, Dan (dt5972)da571512019-06-20 19:17:31 -040024 <artifactId>spring-boot-starter-parent</artifactId>
Timoney, Dan (dt5972)c5c977f2019-11-13 10:58:03 -050025 <version>1.5.0</version>
Singal, Kapil (ks220y)d39d85b2019-09-18 12:23:42 -040026 <relativePath/>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040027 </parent>
28
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040029 <groupId>org.onap.ccsdk.cds</groupId>
30 <artifactId>parent</artifactId>
Timoney, Dan (dt5972)1926b372019-09-11 10:54:30 -040031 <version>0.7.0-SNAPSHOT</version>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040032 <packaging>pom</packaging>
33
Singal, Kapil (ks220y)71f561e2019-09-18 10:05:39 -040034 <name>CDS Parent</name>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040035 <description>CCSDK Controller Design Studio</description>
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +000036 <url>https://wiki.onap.org</url>
37 <organization>
38 <name>ONAP</name>
39 </organization>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040040
41 <modules>
Alexis de Talhouët837f8492019-03-27 16:42:08 -040042 <module>ms</module>
Ahmed Abbas99fc5f02019-11-17 18:21:30 +020043 <module>cds-ui</module>
Brinda Santh795ca3d2019-11-20 14:27:46 -050044 <module>components</module>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040045 </modules>
46
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040047 <properties>
48 <!--Don't set any language to let sonar enable multi-language support-->
Singal, Kapil (ks220y)d39d85b2019-09-18 12:23:42 -040049 <sonar.language/>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040050 <!--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ëtd4b56bc2019-07-01 19:25:41 -040056 <!--Specify path to load jacoco XLM report, as Sonar can't load Kotlin coverage from binary report-->
Singal, Kapil (ks220y)71f561e2019-09-18 10:05:39 -040057 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040058 <jacoco.version>0.8.3</jacoco.version>
Singal, Kapil (ks220y)71f561e2019-09-18 10:05:39 -040059
60 <!-- Properties for POM Format -->
61 <format.skipValidate>false</format.skipValidate>
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +000062 <format.skipExecute>true</format.skipExecute>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040063 </properties>
64
65 <build>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010066 <plugins>
67 <plugin>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040068 <groupId>org.jacoco</groupId>
69 <artifactId>jacoco-maven-plugin</artifactId>
70 <version>${jacoco.version}</version>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010071 </plugin>
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +000072
Singal, Kapil (ks220y)71f561e2019-09-18 10:05:39 -040073 <!-- Plugin to Format/Validate POM Files -->
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +000074 <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 Desbureauxae7b27a2019-02-14 13:45:22 +0100101 </plugins>
102 </build>
Arundathi Patil3d026852018-12-14 23:03:55 +0530103
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100104 <profiles>
105 <profile>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -0400106 <id>blackduck</id>
107 <activation>
108 <property>
109 <name>blackduck-scan</name>
110 </property>
111 </activation>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100112 <build>
113 <plugins>
114 <plugin>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -0400115 <groupId>com.blackducksoftware.integration</groupId>
116 <artifactId>hub-maven-plugin</artifactId>
117 <version>1.4.0</version>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100118 <inherited>false</inherited>
119 <configuration>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -0400120 <hubProjectName>${project.name}</hubProjectName>
121 <outputDirectory>${project.basedir}</outputDirectory>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100122 </configuration>
123 <executions>
124 <execution>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -0400125 <id>create-bdio-file</id>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100126 <phase>package</phase>
127 <goals>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -0400128 <goal>createHubOutput</goal>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100129 </goals>
130 </execution>
131 </executions>
132 </plugin>
133 </plugins>
134 </build>
135 </profile>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100136
Singal, Kapil (ks220y)71f561e2019-09-18 10:05:39 -0400137 <!-- Profile to format skip validate or execute -->
138 <profile>
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +0000139 <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)84b361d2019-04-24 15:05:00 -0400146</project>