b243d712312cf0067a36426e95615f6ccc6b0906
[nonrtric.git] / sdnc-a1-controller / northbound / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4    Modifications Copyright (C) 2019 Nordix Foundation.
5   ================================================================================
6   Licensed under the Apache License, Version 2.0 (the "License");
7   you may not use this file except in compliance with the License.
8   You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12   Unless required by applicable law or agreed to in writing, software
13   distributed under the License is distributed on an "AS IS" BASIS,
14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   See the License for the specific language governing permissions and
16   limitations under the License.
17
18   SPDX-License-Identifier: Apache-2.0
19   ============LICENSE_END=========================================================
20 -->
21 <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">
22         <modelVersion>4.0.0</modelVersion>
23
24         <repositories>
25                 <repository>
26                         <id>onap-releases</id>
27                         <name>onap-releases</name>
28                         <url>https://nexus.onap.org/content/repositories/releases/</url>
29                 </repository>
30         </repositories>
31
32         <parent>
33                 <groupId>org.onap.ccsdk.parent</groupId>
34                 <artifactId>odlparent-lite</artifactId>
35                 <version>1.4.3</version>
36                 <relativePath/>
37         </parent>
38
39         <groupId>org.onap.sdnc.northbound</groupId>
40         <artifactId>sdnc-northbound</artifactId>
41         <version>1.7.3-SNAPSHOT</version>
42         <packaging>pom</packaging>
43
44         <properties>
45                 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
46         </properties>
47
48         <name>sdnc-northbound</name>
49         <description>The SDN-C Northbound APIs repo contains code for northbound API adaptors, typically MD-SAL applications</description>
50         <url>https://wiki.onap.org</url>
51         <organization>
52                 <name>ONAP</name>
53         </organization>
54
55         <modules>
56                 <module>features</module>
57                 <module>nonrt-ric-api</module>
58         </modules>
59
60         <scm>
61                 <connection>scm:git:ssh://git@${onap.git.host}/sdnc-northbound.git</connection>
62
63                 <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/sdnc-northbound.git</developerConnection>
64                 <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/sdnc-northbound/browse</url>
65         </scm>
66         <issueManagement>
67                 <system>JIRA</system>
68                 <url>https://jira.onap.org/</url>
69         </issueManagement>
70         <ciManagement>
71                 <system>Jenkins</system>
72                 <url>https://jenkins.onap.org/</url>
73         </ciManagement>
74         <distributionManagement>
75                 <site>
76                         <id>sdnc-javadoc</id>
77                         <url>dav:https://${onap.nexus.host}:${onap.nexus.port}/repository/sdn-c-javadoc/${project.artifactId}/${project.version}</url>
78                 </site>
79         </distributionManagement>
80
81         <build>
82                 <plugins>
83                         <plugin>
84                                 <groupId>org.apache.maven.plugins</groupId>
85                                 <artifactId>maven-surefire-plugin</artifactId>
86                                 <version>2.17</version>
87                                 <configuration>
88                                         <skipTests>false</skipTests>
89                                 </configuration>
90                         </plugin>
91                         <!-- support sonar in multi-module project -->
92                         <plugin>
93                                 <groupId>org.sonarsource.scanner.maven</groupId>
94                                 <artifactId>sonar-maven-plugin</artifactId>
95                                 <version>${sonar-maven-plugin.version}</version>
96                         </plugin>
97                 </plugins>
98         </build>
99
100         <profiles>
101                 <profile>
102                         <id>blackduck</id>
103                         <activation>
104                                 <property>
105                                         <name>blackduck-scan</name>
106                                 </property>
107                         </activation>
108                         <build>
109                                         <plugins>
110                                                 <plugin>
111                                                         <groupId>com.blackducksoftware.integration</groupId>
112                                                         <artifactId>hub-maven-plugin</artifactId>
113                                                         <version>1.4.0</version>
114                                                         <inherited>false</inherited>
115                                                         <configuration>
116                                                                 <hubProjectName>${project.name}</hubProjectName>
117                                                                 <outputDirectory>${project.basedir}</outputDirectory>
118                                                         </configuration>
119                                                         <executions>
120                                                                 <execution>
121                                                                         <id>create-bdio-file</id>
122                                                                         <phase>package</phase>
123                                                                         <goals>
124                                                                                 <goal>createHubOutput</goal>
125                                                                         </goals>
126                                                                 </execution>
127                                                         </executions>
128                                                 </plugin>
129                                         </plugins>
130
131
132                         </build>
133
134                 </profile>
135
136         </profiles>
137 </project>