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