blob: f88c8bdb50566bb88c6220e26f4c6ed03ad0ecd4 [file] [log] [blame]
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -04001<?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">
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -05003 <modelVersion>4.0.0</modelVersion>
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -04004
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -05005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Dan Timoney9b433292020-03-05 14:56:21 -05008 <version>1.5.2</version>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -05009 <relativePath/>
10 </parent>
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -040011
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050012 <groupId>org.onap.ccsdk.apps</groupId>
13 <artifactId>ccsdk-apps</artifactId>
Timoney, Dan (dt5972)0988e962019-09-11 10:45:54 -040014 <version>0.7.0-SNAPSHOT</version>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050015 <packaging>pom</packaging>
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -040016
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050017 <name>ccsdk-apps</name>
18 <description>CCSDK applications</description>
19 <url>https://wiki.onap.org</url>
20 <organization>
21 <name>ONAP</name>
22 </organization>
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -040023
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050024 <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
Timoney, Dan (dt5972)a3b29fe2019-02-21 09:54:19 -050037 That issue has been fixed in 0.8.3 , so we override the default ONAP
38 version here to pick up that fix -->
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050039 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Timoney, Dan (dt5972)a3b29fe2019-02-21 09:54:19 -050040 <jacoco.version>0.8.3</jacoco.version>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050041 </properties>
Alexis de Talhouët5decf252019-01-03 16:53:40 -050042
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050043 <modules>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050044 <module>ms</module>
45 </modules>
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -040046
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050047 <build>
48 <plugins>
49 <plugin>
50 <groupId>org.jacoco</groupId>
51 <artifactId>jacoco-maven-plugin</artifactId>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050052 <version>${jacoco.version}</version>
53 </plugin>
54 </plugins>
55 </build>
Alexis de Talhouët5decf252019-01-03 16:53:40 -050056
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050057 <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>
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -040062
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050063 <profiles>
64 <profile>
65 <id>blackduck</id>
66 <activation>
67 <property>
68 <name>blackduck-scan</name>
69 </property>
70 </activation>
71 <build>
Timoney, Dan (dt5972)63bf77e2019-12-11 12:13:29 -050072 <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>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050093 </build>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050094 </profile>
Timoney, Dan (dt5972)63bf77e2019-12-11 12:13:29 -050095 <profile>
96 <id>dependency-list</id>
97 <build>
98 <plugins>
99 <plugin>
100 <groupId>com.github.ferstl</groupId>
101 <artifactId>depgraph-maven-plugin</artifactId>
102 <executions>
103 <execution>
104 <phase>validate</phase>
105 <inherited>false</inherited>
106 <goals>
107 <goal>aggregate</goal>
108 </goals>
109 </execution>
110 </executions>
111 </plugin>
112 <plugin>
113 <groupId>org.codehaus.mojo</groupId>
114 <artifactId>build-helper-maven-plugin</artifactId>
115 <executions>
116 <execution>
117 <id>attach-artifacts</id>
118 <phase>package</phase>
119 <inherited>false</inherited>
120 <goals>
121 <goal>attach-artifact</goal>
122 </goals>
123 <configuration>
124 <artifacts>
125 <artifact>
126 <file>${dependency-list.file}</file>
127 <type>txt</type>
128 <classifier>dependencies</classifier>
129 </artifact>
130 </artifacts>
131 </configuration>
132 </execution>
133 </executions>
134 </plugin>
135 </plugins>
136 </build>
137 </profile>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -0500138 </profiles>
Alexis de Talhouët5decf252019-01-03 16:53:40 -0500139
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -0400140</project>