Merge "Update to support use of version ranges"
[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.2.0-SNAPSHOT</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.sdnc.oam</groupId>
13     <artifactId>sdnc-oam</artifactId>
14     <version>2.2.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.2.0-SNAPSHOT</ccsdk.oran.a1adapter.version>
29         <sdnc.northbound.version>2.2.0-SNAPSHOT</sdnc.northbound.version> <!-- Used by installation/sdnc -->
30         <ccsdk.distribution.version>[1.2.0-SNAPSHOT, 1.2.99999)</ccsdk.distribution.version>
31
32         <!-- docker images versions -->
33         <ccsdk.docker.alpine.j11.version>1.2-STAGING-latest</ccsdk.docker.alpine.j11.version> <!-- Used by dmaap-listener, ueb-listener -->
34         <ccsdk.docker.odlsli.alpine.version>1.2-SNAPSHOT-latest</ccsdk.docker.odlsli.alpine.version> <!-- Used by sdnc -->
35         <ccsdk.docker.ansible.server.version>1.2-STAGING-latest</ccsdk.docker.ansible.server.version> <!-- Used by ansible-server -->
36         <ccsdk.docker.ubuntu.version>1.2-STAGING-latest</ccsdk.docker.ubuntu.version> <!-- Used by admportal -->
37     </properties>
38
39     <modules>
40         <module>platform-logic</module>
41         <module>data-migrator</module>
42     </modules>
43
44     <scm>
45         <connection>scm:git:ssh://git@${onap.git.host}/sdnc-oam.git</connection>
46         <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/sdnc-oam.git</developerConnection>
47         <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/sdnc-oam/browse</url>
48         <tag>HEAD</tag>
49     </scm>
50     <issueManagement>
51         <system>JIRA</system>
52         <url>https://jira.onap.org/</url>
53     </issueManagement>
54     <ciManagement>
55         <system>Jenkins</system>
56         <url>https://jenkins.onap.org/</url>
57     </ciManagement>
58     <distributionManagement>
59         <site>
60             <id>sdnc-javadoc</id>
61             <url>dav:https://${onap.nexus.host}:${onap.nexus.port}/repository/sdn-c-javadoc/${project.artifactId}/${project.version}</url>
62         </site>
63     </distributionManagement>
64
65     <dependencies>
66         <dependency>
67             <groupId>org.slf4j</groupId>
68             <artifactId>slf4j-api</artifactId>
69             <version>1.7.25</version>
70         </dependency>
71     </dependencies>
72
73     <build>
74         <plugins>
75             <plugin>
76                 <groupId>org.apache.maven.plugins</groupId>
77                 <artifactId>maven-surefire-plugin</artifactId>
78                 <version>2.17</version>
79                 <configuration>
80                     <skipTests>false</skipTests>
81                 </configuration>
82             </plugin>
83         </plugins>
84     </build>
85
86     <profiles>
87         <profile>
88             <id>blackduck</id>
89             <activation>
90                 <property>
91                     <name>blackduck-scan</name>
92                 </property>
93             </activation>
94             <build>
95                 <plugins>
96                     <plugin>
97                         <groupId>com.blackducksoftware.integration</groupId>
98                         <artifactId>hub-maven-plugin</artifactId>
99                         <version>1.4.0</version>
100                         <inherited>false</inherited>
101                         <configuration>
102                             <hubProjectName>${project.name}</hubProjectName>
103                             <outputDirectory>${project.basedir}</outputDirectory>
104                         </configuration>
105                         <executions>
106                             <execution>
107                                 <id>create-bdio-file</id>
108                                 <phase>package</phase>
109                                 <goals>
110                                     <goal>createHubOutput</goal>
111                                 </goals>
112                             </execution>
113                         </executions>
114                     </plugin>
115                 </plugins>
116             </build>
117         </profile>
118         <profile>
119             <id>docker</id>
120             <modules>
121                 <module>installation</module>
122             </modules>
123         </profile>
124     </profiles>
125 </project>