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