Merge "Blueprint exception handler and REST responses"
[ccsdk/apps.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3         <modelVersion>4.0.0</modelVersion>
4
5         <parent>
6                 <groupId>org.onap.ccsdk.parent</groupId>
7                 <artifactId>odlparent-lite</artifactId>
8                 <version>1.2.1-SNAPSHOT</version>
9                 <relativePath/>
10         </parent>
11
12         <groupId>org.onap.ccsdk.apps</groupId>
13         <artifactId>ccsdk-apps</artifactId>
14         <version>0.4.1-SNAPSHOT</version>
15         <packaging>pom</packaging>
16
17         <name>ccsdk-apps</name>
18         <description>CCSDK applications</description>
19         <url>https://wiki.onap.org</url>
20         <organization>
21                 <name>ONAP</name>
22         </organization>
23
24         <properties>
25                 <!--Don't set any language to let sonar enable multi-language support-->
26                 <sonar.language/>
27                 <!--Provide src/main as source path so both src/main/java and src/main/kotlin are scanned-->
28                 <sonar.sources>src/main</sonar.sources>
29                 <!--Provide src/test as source path for test so both src/test/java and src/test/kotlin are scanned-->
30                 <sonar.tests>src/test</sonar.tests>
31                 <!--Only include java and kt files to the scan-->
32                 <sonar.inclusions>**/*.java,**/*.kt</sonar.inclusions>
33                 <!--Specify path to load jacoco XLM report, as Sonar can't load Kotlin coverage from binary report.
34                 Note: coverage for now is invalid and is failing to load because of:
35                 "Cannot import coverage information for file '{file}', coverage data is invalid."
36                 see https://github.com/jacoco/jacoco/issues/763
37                 That issue has been fixed in 0.8.3 but haven't yet been release. -->
38                 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
39         </properties>
40
41         <modules>
42                 <module>components</module>
43                 <module>ms</module>
44         </modules>
45
46         <build>
47                 <plugins>
48                         <plugin>
49                                 <groupId>org.jacoco</groupId>
50                                 <artifactId>jacoco-maven-plugin</artifactId>
51                                 <!--Change version to 0.8.3 when released-->
52                                 <version>${jacoco.version}</version>
53                         </plugin>
54                 </plugins>
55         </build>
56
57         <scm>
58                 <connection>scm:git:ssh://git@${onap.git.host}/apps.git</connection>
59                 <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/apps.git</developerConnection>
60                 <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/apps/browse</url>
61         </scm>
62
63         <profiles>
64                 <profile>
65                         <id>blackduck</id>
66                         <activation>
67                                 <property>
68                                         <name>blackduck-scan</name>
69                                 </property>
70                         </activation>
71                         <build>
72                                         <plugins>
73                                                 <plugin>
74                                                         <groupId>com.blackducksoftware.integration</groupId>
75                                                         <artifactId>hub-maven-plugin</artifactId>
76                                                         <version>1.4.0</version>
77                                                         <inherited>false</inherited>
78                                                         <configuration>
79                                                                 <hubProjectName>${project.name}</hubProjectName>
80                                                                 <outputDirectory>${project.basedir}</outputDirectory>
81                                                         </configuration>
82                                                         <executions>
83                                                                 <execution>
84                                                                         <id>create-bdio-file</id>
85                                                                         <phase>package</phase>
86                                                                         <goals>
87                                                                                 <goal>createHubOutput</goal>
88                                                                         </goals>
89                                                                 </execution>
90                                                         </executions>
91                                                 </plugin>
92                                         </plugins>
93
94
95
96                         </build>
97
98                 </profile>
99
100         </profiles>
101
102 </project>