Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.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>2.6.1</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.sdnc.oam</groupId>
13     <artifactId>sdnc-oam</artifactId>
14     <version>2.7.0-SNAPSHOT</version>
15     <packaging>pom</packaging>
16
17     <name>sdnc-oam</name>
18     <description>The SDN-C OAM component contains the components needed to operate, administer and maintain the SDN-C platform.</description>
19     <url>https://wiki.onap.org</url>
20     <organization>
21         <name>AT&amp;T</name>
22     </organization>
23
24     <properties>
25         <sdnc.project.version>${project.version}</sdnc.project.version>
26
27         <!-- All Version definition is placed in org.onap.ccsdk.parent/odlparent-lite -->
28         <ccsdk.oran.a1adapter.version>1.6.0</ccsdk.oran.a1adapter.version>
29         <sdnc.northbound.version>2.6.0</sdnc.northbound.version> <!-- Used by installation/sdnc -->
30         <ccsdk.distribution.version>1.6.2-SNAPSHOT</ccsdk.distribution.version> 
31         <ccsdk.sli.version>1.7.1</ccsdk.sli.version>
32         <ccsdk.features.version>1.7.0-SNAPSHOT</ccsdk.features.version>
33         <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version>
34         <ccsdk.bierman.api.version>1.0.0</ccsdk.bierman.api.version>
35         <!-- docker images versions -->
36         <ccsdk.docker.alpine.j11.version>1.6.1-STAGING-latest</ccsdk.docker.alpine.j11.version> <!-- Used by dmaap-listener, ueb-listener -->
37         <ccsdk.docker.odlsli.alpine.version>1.6.1-SNAPSHOT-latest</ccsdk.docker.odlsli.alpine.version> <!-- Used by sdnc -->
38         <ccsdk.docker.ansible.server.version>1.6.1-STAGING-latest</ccsdk.docker.ansible.server.version> <!-- Used by ansible-server -->
39         <ccsdk.docker.ubuntu.version>1.6.1-STAGING-latest</ccsdk.docker.ubuntu.version> <!-- Used by admportal -->
40     </properties>
41
42     <modules>
43         <module>platform-logic</module>
44     </modules>
45
46     <scm>
47         <connection>scm:git:ssh://git@${onap.git.host}/sdnc-oam.git</connection>
48         <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/sdnc-oam.git</developerConnection>
49         <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/sdnc-oam/browse</url>
50         <tag>HEAD</tag>
51     </scm>
52     <issueManagement>
53         <system>JIRA</system>
54         <url>https://jira.onap.org/</url>
55     </issueManagement>
56     <ciManagement>
57         <system>Jenkins</system>
58         <url>https://jenkins.onap.org/</url>
59     </ciManagement>
60     <distributionManagement>
61         <site>
62             <id>sdnc-javadoc</id>
63             <url>dav:https://${onap.nexus.host}:${onap.nexus.port}/repository/sdn-c-javadoc/${project.artifactId}/${project.version}</url>
64         </site>
65     </distributionManagement>
66
67     <dependencies>
68         <dependency>
69             <groupId>org.slf4j</groupId>
70             <artifactId>slf4j-api</artifactId>
71             <version>1.7.25</version>
72         </dependency>
73     </dependencies>
74
75     <build>
76         <plugins>
77             <plugin>
78                 <groupId>org.apache.maven.plugins</groupId>
79                 <artifactId>maven-surefire-plugin</artifactId>
80                 <version>2.17</version>
81                 <configuration>
82                     <skipTests>false</skipTests>
83                 </configuration>
84             </plugin>
85         </plugins>
86     </build>
87
88     <profiles>
89         <profile>
90             <id>blackduck</id>
91             <activation>
92                 <property>
93                     <name>blackduck-scan</name>
94                 </property>
95             </activation>
96             <build>
97                 <plugins>
98                     <plugin>
99                         <groupId>com.blackducksoftware.integration</groupId>
100                         <artifactId>hub-maven-plugin</artifactId>
101                         <version>1.4.0</version>
102                         <inherited>false</inherited>
103                         <configuration>
104                             <hubProjectName>${project.name}</hubProjectName>
105                             <outputDirectory>${project.basedir}</outputDirectory>
106                         </configuration>
107                         <executions>
108                             <execution>
109                                 <id>create-bdio-file</id>
110                                 <phase>package</phase>
111                                 <goals>
112                                     <goal>createHubOutput</goal>
113                                 </goals>
114                             </execution>
115                         </executions>
116                     </plugin>
117                 </plugins>
118             </build>
119         </profile>
120         <profile>
121             <id>docker</id>
122             <modules>
123                 <module>installation</module>
124             </modules>
125         </profile>
126     </profiles>
127 </project>