blob: cfc2e656a2804ae46955517ad00d554512644e7b [file] [log] [blame]
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +01001<!--
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -04002Copyright (C) 2019 Bell Canada
Arundathi Patil3d026852018-12-14 23:03:55 +05303
4Unless otherwise specified, all software contained herein is licensed
5under the Apache License, Version 2.0 (the License);
6you may not use this software except in compliance with the License.
7You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010016-->
Arundathi Patil3d026852018-12-14 23:03:55 +053017
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040018<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20
21 <parent>
22 <groupId>org.onap.ccsdk.parent</groupId>
23 <artifactId>odlparent-lite</artifactId>
Alexis de Talhouëtaf540512019-03-29 08:12:36 -040024 <version>1.2.2-SNAPSHOT</version>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040025 <relativePath/>
26 </parent>
27
28 <modelVersion>4.0.0</modelVersion>
29
30 <groupId>org.onap.ccsdk.cds</groupId>
31 <artifactId>parent</artifactId>
32 <version>0.4.2-SNAPSHOT</version>
33 <packaging>pom</packaging>
34
35 <name>cds-parent</name>
36 <description>CCSDK Controller Design Studio</description>
37
38 <modules>
Alexis de Talhouëta298b9e2019-03-26 12:44:59 -040039 <module>cds-ui</module>
Alexis de Talhouët837f8492019-03-27 16:42:08 -040040 <module>components</module>
41 <module>ms</module>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040042 </modules>
43
44 <url>https://wiki.onap.org</url>
45 <organization>
46 <name>ONAP</name>
47 </organization>
48
49 <properties>
50 <!--Don't set any language to let sonar enable multi-language support-->
51 <sonar.language/>
52 <!--Provide src/main as source path so both src/main/java and src/main/kotlin are scanned-->
53 <sonar.sources>src/main</sonar.sources>
54 <!--Provide src/test as source path for test so both src/test/java and src/test/kotlin are scanned-->
55 <sonar.tests>src/test</sonar.tests>
56 <!--Only include java and kt files to the scan-->
57 <sonar.inclusions>**/*.java,**/*.kt</sonar.inclusions>
58 <!--Specify path to load jacoco XLM report, as Sonar can't load Kotlin coverage from binary report.
59 Note: coverage for now is invalid and is failing to load because of:
60 "Cannot import coverage information for file '{file}', coverage data is invalid."
61 see https://github.com/jacoco/jacoco/issues/763
62 That issue has been fixed in 0.8.3 , so we override the default ONAP
63 version here to pick up that fix -->
64 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
65 </sonar.coverage.jacoco.xmlReportPaths>
66 <jacoco.version>0.8.3</jacoco.version>
67 </properties>
68
69 <build>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010070 <plugins>
71 <plugin>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040072 <groupId>org.jacoco</groupId>
73 <artifactId>jacoco-maven-plugin</artifactId>
74 <version>${jacoco.version}</version>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010075 </plugin>
76 </plugins>
77 </build>
Arundathi Patil3d026852018-12-14 23:03:55 +053078
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010079 <profiles>
80 <profile>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040081 <id>blackduck</id>
82 <activation>
83 <property>
84 <name>blackduck-scan</name>
85 </property>
86 </activation>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010087 <build>
88 <plugins>
89 <plugin>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040090 <groupId>com.blackducksoftware.integration</groupId>
91 <artifactId>hub-maven-plugin</artifactId>
92 <version>1.4.0</version>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010093 <inherited>false</inherited>
94 <configuration>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040095 <hubProjectName>${project.name}</hubProjectName>
96 <outputDirectory>${project.basedir}</outputDirectory>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +010097 </configuration>
98 <executions>
99 <execution>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -0400100 <id>create-bdio-file</id>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100101 <phase>package</phase>
102 <goals>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -0400103 <goal>createHubOutput</goal>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100104 </goals>
105 </execution>
106 </executions>
107 </plugin>
108 </plugins>
109 </build>
110 </profile>
111 </profiles>
Sylvain Desbureauxae7b27a2019-02-14 13:45:22 +0100112
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -0400113</project>