blob: 7fb0345643842d9ff7cbb812c85ada84955dbbdf [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
Arundathi Patil3d026852018-12-14 23:03:55 +05304
5Unless otherwise specified, all software contained herein is licensed
6under the Apache License, Version 2.0 (the License);
7you may not use this software except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010017-->
Timoney, Dan (dt5972)84b361d2019-04-24 15:05:00 -040018<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">
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040019
20 <parent>
21 <groupId>org.onap.ccsdk.parent</groupId>
22 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)f6aba622019-04-30 14:28:15 -040023 <version>1.3.0-SNAPSHOT</version>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040024 <relativePath/>
25 </parent>
26
27 <modelVersion>4.0.0</modelVersion>
28
29 <groupId>org.onap.ccsdk.cds</groupId>
30 <artifactId>parent</artifactId>
Timoney, Dan (dt5972)f6aba622019-04-30 14:28:15 -040031 <version>0.5.0-SNAPSHOT</version>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040032 <packaging>pom</packaging>
33
34 <name>cds-parent</name>
35 <description>CCSDK Controller Design Studio</description>
36
37 <modules>
Alexis de Talhouëta298b9e2019-03-26 12:44:59 -040038 <module>cds-ui</module>
Alexis de Talhouët837f8492019-03-27 16:42:08 -040039 <module>components</module>
40 <module>ms</module>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040041 </modules>
42
43 <url>https://wiki.onap.org</url>
44 <organization>
45 <name>ONAP</name>
46 </organization>
47
48 <properties>
49 <!--Don't set any language to let sonar enable multi-language support-->
50 <sonar.language/>
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>
57 <!--Specify path to load jacoco XLM report, as Sonar can't load Kotlin coverage from binary report.
58 Note: coverage for now is invalid and is failing to load because of:
59 "Cannot import coverage information for file '{file}', coverage data is invalid."
60 see https://github.com/jacoco/jacoco/issues/763
61 That issue has been fixed in 0.8.3 , so we override the default ONAP
62 version here to pick up that fix -->
63 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
64 </sonar.coverage.jacoco.xmlReportPaths>
65 <jacoco.version>0.8.3</jacoco.version>
66 </properties>
67
68 <build>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010069 <plugins>
70 <plugin>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040071 <groupId>org.jacoco</groupId>
72 <artifactId>jacoco-maven-plugin</artifactId>
73 <version>${jacoco.version}</version>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010074 </plugin>
75 </plugins>
76 </build>
Arundathi Patil3d026852018-12-14 23:03:55 +053077
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010078 <profiles>
79 <profile>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040080 <id>blackduck</id>
81 <activation>
82 <property>
83 <name>blackduck-scan</name>
84 </property>
85 </activation>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010086 <build>
87 <plugins>
88 <plugin>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040089 <groupId>com.blackducksoftware.integration</groupId>
90 <artifactId>hub-maven-plugin</artifactId>
91 <version>1.4.0</version>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010092 <inherited>false</inherited>
93 <configuration>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040094 <hubProjectName>${project.name}</hubProjectName>
95 <outputDirectory>${project.basedir}</outputDirectory>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010096 </configuration>
97 <executions>
98 <execution>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040099 <id>create-bdio-file</id>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100100 <phase>package</phase>
101 <goals>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -0400102 <goal>createHubOutput</goal>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100103 </goals>
104 </execution>
105 </executions>
106 </plugin>
107 </plugins>
108 </build>
109 </profile>
110 </profiles>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100111
Timoney, Dan (dt5972)84b361d2019-04-24 15:05:00 -0400112</project>