blob: f96a0e82ee099e878c8f37c0a9369e3861e805eb [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 Timoney24213752021-09-16 08:26:18 -04008 <version>2.2.1</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>
Dan Timoneya04860a2021-09-24 09:10:53 -040014 <version>1.3.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>
Dan Timoneyf3430362020-06-09 12:42:46 -040044 <module>services</module>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050045 <module>ms</module>
46 </modules>
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -040047
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050048 <build>
49 <plugins>
50 <plugin>
51 <groupId>org.jacoco</groupId>
52 <artifactId>jacoco-maven-plugin</artifactId>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050053 <version>${jacoco.version}</version>
54 </plugin>
55 </plugins>
56 </build>
Alexis de Talhouët5decf252019-01-03 16:53:40 -050057
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050058 <scm>
59 <connection>scm:git:ssh://git@${onap.git.host}/apps.git</connection>
60 <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/apps.git</developerConnection>
61 <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/apps/browse</url>
62 </scm>
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -040063
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050064 <profiles>
65 <profile>
66 <id>blackduck</id>
67 <activation>
68 <property>
69 <name>blackduck-scan</name>
70 </property>
71 </activation>
72 <build>
Timoney, Dan (dt5972)63bf77e2019-12-11 12:13:29 -050073 <plugins>
74 <plugin>
75 <groupId>com.blackducksoftware.integration</groupId>
76 <artifactId>hub-maven-plugin</artifactId>
77 <version>1.4.0</version>
78 <inherited>false</inherited>
79 <configuration>
80 <hubProjectName>${project.name}</hubProjectName>
81 <outputDirectory>${project.basedir}</outputDirectory>
82 </configuration>
83 <executions>
84 <execution>
85 <id>create-bdio-file</id>
86 <phase>package</phase>
87 <goals>
88 <goal>createHubOutput</goal>
89 </goals>
90 </execution>
91 </executions>
92 </plugin>
93 </plugins>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050094 </build>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -050095 </profile>
Timoney, Dan (dt5972)63bf77e2019-12-11 12:13:29 -050096 <profile>
97 <id>dependency-list</id>
98 <build>
99 <plugins>
100 <plugin>
101 <groupId>com.github.ferstl</groupId>
102 <artifactId>depgraph-maven-plugin</artifactId>
103 <executions>
104 <execution>
105 <phase>validate</phase>
106 <inherited>false</inherited>
107 <goals>
108 <goal>aggregate</goal>
109 </goals>
110 </execution>
111 </executions>
112 </plugin>
113 <plugin>
114 <groupId>org.codehaus.mojo</groupId>
115 <artifactId>build-helper-maven-plugin</artifactId>
116 <executions>
117 <execution>
118 <id>attach-artifacts</id>
119 <phase>package</phase>
120 <inherited>false</inherited>
121 <goals>
122 <goal>attach-artifact</goal>
123 </goals>
124 <configuration>
125 <artifacts>
126 <artifact>
127 <file>${dependency-list.file}</file>
128 <type>txt</type>
129 <classifier>dependencies</classifier>
130 </artifact>
131 </artifacts>
132 </configuration>
133 </execution>
134 </executions>
135 </plugin>
136 </plugins>
137 </build>
138 </profile>
Steve Alphonse Siani545a3ab2019-01-21 11:55:48 -0500139 </profiles>
Alexis de Talhouët5decf252019-01-03 16:53:40 -0500140
Timoney, Dan (dt5972)60315522018-07-11 15:52:33 -0400141</project>