add python compatibility module
[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>spring-boot-30-starter-parent</artifactId>
8         <version>2.6.1</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.ccsdk.apps</groupId>
13     <artifactId>ccsdk-apps</artifactId>
14     <version>1.6.0-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     <modules>
25         <module>cadi</module>
26         <module>services</module>
27         <module>ms</module>
28     </modules>
29
30     <scm>
31         <connection>scm:git:ssh://git@${onap.git.host}/apps.git</connection>
32         <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/apps.git</developerConnection>
33         <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/apps/browse</url>
34     </scm>
35
36     <properties>
37         <!--Don't set any language to let sonar enable multi-language support-->
38         <sonar.language/>
39         <!--Provide src/main as source path so both src/main/java and src/main/kotlin are scanned-->
40         <sonar.sources>src/main</sonar.sources>
41         <!--Provide src/test as source path for test so both src/test/java and src/test/kotlin are scanned-->
42         <sonar.tests>src/test</sonar.tests>
43         <!--Only include java and kt files to the scan-->
44         <sonar.inclusions>**/*.java,**/*.kt</sonar.inclusions>
45         <!--Specify path to load jacoco XLM report, as Sonar can't load Kotlin coverage from binary report.
46         Note: coverage for now is invalid and is failing to load because of:
47         "Cannot import coverage information for file '{file}', coverage data is invalid."
48         see https://github.com/jacoco/jacoco/issues/763
49         That issue has been fixed in 0.8.3 , so we override the default ONAP
50         version here to pick up that fix -->
51         <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
52         <jacoco.version>0.8.8</jacoco.version>
53         <gson.version>2.9.0</gson.version>
54             <springfox.version>3.0.0</springfox.version>
55         <aaf.cadi.version>2.1.21</aaf.cadi.version>
56         <ccsdk.sli.core.version>1.7.1</ccsdk.sli.core.version>
57         <maven.compiler.source>1.11</maven.compiler.source>
58         <maven.compiler.target>1.11</maven.compiler.target>
59     </properties>
60
61     <build>
62         <plugins>
63             <plugin>
64                 <groupId>org.jacoco</groupId>
65                 <artifactId>jacoco-maven-plugin</artifactId>
66                 <version>${jacoco.version}</version>
67             </plugin>
68         </plugins>
69     </build>
70
71     <profiles>
72         <profile>
73             <id>blackduck</id>
74             <activation>
75                 <property>
76                     <name>blackduck-scan</name>
77                 </property>
78             </activation>
79             <build>
80                 <plugins>
81                     <plugin>
82                         <groupId>com.blackducksoftware.integration</groupId>
83                         <artifactId>hub-maven-plugin</artifactId>
84                         <version>1.4.0</version>
85                         <inherited>false</inherited>
86                         <configuration>
87                             <hubProjectName>${project.name}</hubProjectName>
88                             <outputDirectory>${project.basedir}</outputDirectory>
89                         </configuration>
90                         <executions>
91                             <execution>
92                                 <id>create-bdio-file</id>
93                                 <phase>package</phase>
94                                 <goals>
95                                     <goal>createHubOutput</goal>
96                                 </goals>
97                             </execution>
98                         </executions>
99                     </plugin>
100                 </plugins>
101             </build>
102         </profile>
103         <profile>
104             <id>dependency-list</id>
105             <build>
106                 <plugins>
107                     <plugin>
108                         <groupId>com.github.ferstl</groupId>
109                         <artifactId>depgraph-maven-plugin</artifactId>
110                         <executions>
111                             <execution>
112                                 <phase>validate</phase>
113                                 <inherited>false</inherited>
114                                 <goals>
115                                     <goal>aggregate</goal>
116                                 </goals>
117                             </execution>
118                         </executions>
119                     </plugin>
120                     <plugin>
121                         <groupId>org.codehaus.mojo</groupId>
122                         <artifactId>build-helper-maven-plugin</artifactId>
123                         <executions>
124                             <execution>
125                                 <id>attach-artifacts</id>
126                                 <phase>package</phase>
127                                 <inherited>false</inherited>
128                                 <goals>
129                                     <goal>attach-artifact</goal>
130                                 </goals>
131                                 <configuration>
132                                     <artifacts>
133                                         <artifact>
134                                             <file>${dependency-list.file}</file>
135                                             <type>txt</type>
136                                             <classifier>dependencies</classifier>
137                                         </artifact>
138                                     </artifacts>
139                                 </configuration>
140                             </execution>
141                         </executions>
142                     </plugin>
143                 </plugins>
144             </build>
145         </profile>
146     </profiles>
147 </project>