Prepare for release build
[ccsdk/sli/northbound.git] / ueb-listener / 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>1.2.0</version>
9     </parent>
10
11     <groupId>org.onap.ccsdk.sli.northbound</groupId>
12     <artifactId>ueb-listener</artifactId>
13     <version>0.4.0-SNAPSHOT</version>
14     <packaging>jar</packaging>
15
16     <name>ccsdk-sli-northbound :: ueb-listener</name>
17     <description>UEB Listener</description>
18
19     <properties>
20         <sdc.client.version>1.3.0</sdc.client.version>
21         <sdc.tosca.version>1.4.7</sdc.tosca.version>
22         <fasterxml.jackson.version>2.9.4</fasterxml.jackson.version>
23         <skip.SWM>true</skip.SWM>
24         <ueb.listener.base>/opt/app/ueb-listener</ueb.listener.base>
25         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
26         <build.number>${maven.build.timestamp}</build.number>
27         <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
28         <ccsdk.sli.northbound.version>${project.version}</ccsdk.sli.northbound.version>
29     </properties>
30
31     <dependencies>
32
33         <dependency>
34             <groupId>org.onap.sdc.sdc-distribution-client</groupId>
35             <artifactId>sdc-distribution-client</artifactId>
36             <version>${sdc.client.version}</version>
37             <scope>compile</scope>
38         </dependency>
39         <dependency>
40             <groupId>org.onap.sdc.sdc-tosca</groupId>
41             <artifactId>sdc-tosca</artifactId>
42             <version>${sdc.tosca.version}</version>
43             <scope>compile</scope>
44         </dependency>
45         <dependency>
46             <groupId>org.slf4j</groupId>
47             <artifactId>slf4j-api</artifactId>
48             <version>1.7.21</version>
49         </dependency>
50         <dependency>
51             <groupId>org.slf4j</groupId>
52             <artifactId>slf4j-log4j12</artifactId>
53             <version>1.6.1</version>
54             <scope>compile</scope>
55         </dependency>
56         <dependency>
57             <groupId>log4j</groupId>
58             <artifactId>log4j</artifactId>
59             <version>1.2.17</version>
60         </dependency>
61         <dependency>
62             <groupId>com.fasterxml.jackson.core</groupId>
63             <artifactId>jackson-core</artifactId>
64             <version>${fasterxml.jackson.version}</version>
65         </dependency>
66         <dependency>
67             <groupId>com.fasterxml.jackson.core</groupId>
68             <artifactId>jackson-databind</artifactId>
69             <version>${fasterxml.jackson.version}</version>
70         </dependency>
71         <dependency>
72             <groupId>junit</groupId>
73             <artifactId>junit</artifactId>
74             <version>${junit.version}</version>
75             <scope>test</scope>
76         </dependency>
77         <dependency>
78             <groupId>org.testng</groupId>
79             <artifactId>testng</artifactId>
80             <version>6.11</version>
81             <scope>test</scope>
82         </dependency>
83         <dependency>
84             <groupId>org.mockito</groupId>
85             <artifactId>mockito-core</artifactId>
86             <version>${mockito.version}</version>
87             <scope>test</scope>
88         </dependency>
89         <dependency>
90             <groupId>ch.vorburger.mariaDB4j</groupId>
91             <artifactId>mariaDB4j</artifactId>
92             <version>2.2.3</version>
93             <scope>test</scope>
94         </dependency>
95         <dependency>
96             <groupId>org.onap.ccsdk.sli.core</groupId>
97             <artifactId>dblib-provider</artifactId>
98             <version>${sdnctl.dblib.version}</version>
99         </dependency>
100     </dependencies>
101
102     <build>
103         <plugins>
104
105             <!-- ================================================== -->
106             <!-- Set the JDK compiler version. -->
107             <!-- ================================================== -->
108             <plugin>
109                 <groupId>org.apache.maven.plugins</groupId>
110                 <artifactId>maven-compiler-plugin</artifactId>
111                 <version>2.5.1</version>
112                 <inherited>true</inherited>
113                 <configuration>
114                     <source>1.7</source>
115                     <target>1.7</target>
116                 </configuration>
117             </plugin>
118
119             <plugin>
120                 <groupId>org.apache.maven.plugins</groupId>
121                 <artifactId>maven-jar-plugin</artifactId>
122                 <version>2.6</version>
123                 <configuration>
124                     <archive>
125                         <manifest>
126                             <addClasspath>true</addClasspath>
127                             <mainClass>org.onap.ccsdk.sli.northbound.uebclient.SdncUebClient</mainClass>
128                         </manifest>
129                     </archive>
130                 </configuration>
131             </plugin>
132
133             <plugin>
134                 <artifactId>maven-assembly-plugin</artifactId>
135                 <version>2.6</version>
136                 <executions>
137                     <execution>
138                         <id>create-zip</id>
139                         <goals>
140                             <goal>single</goal>
141                         </goals>
142                         <phase>package</phase>
143                         <configuration>
144                             <attach>true</attach>
145                             <finalName>${project.artifactId}.${project.version}</finalName>
146                             <attach>true</attach>
147                             <descriptors>
148                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
149                             </descriptors>
150                             <appendAssemblyId>false</appendAssemblyId>
151                         </configuration>
152                     </execution>
153                 </executions>
154             </plugin>
155
156         </plugins>
157     </build>
158 </project>