2e479fbcd57e4658a7bea08bad085003e27cf6eb
[sdnc/northbound.git] / ueb-listener / pom.xml
1 <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">
2         <modelVersion>4.0.0</modelVersion>
3         <groupId>org.openecomp.sdnc.northbound</groupId>
4         <packaging>jar</packaging>
5         <artifactId>ueb-listener</artifactId>
6         <version>1.1.2-SNAPSHOT</version>
7
8         <name>UEB Listener</name>
9         <description>UEB Listener</description>
10         <parent>
11                 <groupId>org.openecomp.sdnc.northbound</groupId>
12                 <artifactId>sdnc-northbound</artifactId>
13                 <version>1.1.2-SNAPSHOT</version>
14         </parent>
15         <properties>
16                 <sdc.client.version>1.1.7-SNAPSHOT</sdc.client.version>
17                 <fasterxml.jackson.version>2.9.0.pr1</fasterxml.jackson.version>
18                 <skip.SWM>true</skip.SWM>
19                 <ueb.listener.base>/opt/app/ueb-listener</ueb.listener.base>
20                 <maven.build.timestamp.format>yyMMdd-HHmmss</maven.build.timestamp.format>
21                 <build.number>${maven.build.timestamp}</build.number>
22                 <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
23         </properties>
24
25         <dependencies>
26
27                 <dependency>
28                         <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
29                         <artifactId>sdc-distribution-client</artifactId>
30                         <version>${sdc.client.version}</version>
31                         <scope>compile</scope>
32                 </dependency>
33                 <dependency>
34                         <groupId>org.slf4j</groupId>
35                         <artifactId>slf4j-api</artifactId>
36                         <version>1.7.10</version>
37                 </dependency>
38                 <dependency>
39                         <groupId>org.slf4j</groupId>
40                         <artifactId>slf4j-log4j12</artifactId>
41                         <version>1.6.1</version>
42                         <scope>compile</scope>
43                 </dependency>
44                 <dependency>
45                         <groupId>log4j</groupId>
46                         <artifactId>log4j</artifactId>
47                         <version>1.2.17</version>
48                 </dependency>
49                 <dependency>
50                         <groupId>com.fasterxml.jackson.core</groupId>
51                         <artifactId>jackson-core</artifactId>
52                         <version>${fasterxml.jackson.version}</version>
53                 </dependency>
54                 <dependency>
55                         <groupId>com.fasterxml.jackson.core</groupId>
56                         <artifactId>jackson-databind</artifactId>
57                         <version>${fasterxml.jackson.version}</version>
58                 </dependency>
59                 <dependency>
60                         <groupId>junit</groupId>
61                         <artifactId>junit</artifactId>
62                         <version>${junit.version}</version>
63                         <scope>test</scope>
64                 </dependency>
65                 <dependency>
66                         <groupId>org.openecomp.sdnc.core</groupId>
67                         <artifactId>dblib-provider</artifactId>
68                         <version>${sdnctl.dblib.version}</version>
69                 </dependency>
70         </dependencies>
71         <build>
72                 <plugins>
73
74                         <!-- ================================================== -->
75                         <!-- Set the JDK compiler version. -->
76                         <!-- ================================================== -->
77                         <plugin>
78                                 <groupId>org.apache.maven.plugins</groupId>
79                                 <artifactId>maven-compiler-plugin</artifactId>
80                                 <version>2.5.1</version>
81                                 <inherited>true</inherited>
82                                 <configuration>
83                                         <source>1.7</source>
84                                         <target>1.7</target>
85                                 </configuration>
86                         </plugin>
87
88                         <plugin>
89                                 <groupId>org.apache.maven.plugins</groupId>
90                                 <artifactId>maven-jar-plugin</artifactId>
91                                 <version>2.6</version>
92                                 <configuration>
93                                         <archive>
94                                                 <manifest>
95                                                         <addClasspath>true</addClasspath>
96                                                         <mainClass>org.openecomp.sdnc.uebclient.SdncUebClient</mainClass>
97                                                 </manifest>
98                                         </archive>
99                                 </configuration>
100                         </plugin>
101
102                         <plugin>
103                                 <artifactId>maven-assembly-plugin</artifactId>
104                                 <version>2.6</version>
105                                 <executions>
106                                         <execution>
107                                                 <id>create-zip</id>
108                                                 <goals>
109                                                         <goal>single</goal>
110                                                 </goals>
111                                                 <phase>package</phase>
112                                                 <configuration>
113                                                         <attach>true</attach>
114                                                         <finalName>${project.artifactId}.${project.version}</finalName>
115                                                         <attach>true</attach>
116                                                         <descriptors>
117                                                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
118                                                         </descriptors>
119                                                         <appendAssemblyId>false</appendAssemblyId>
120                                                 </configuration>
121                                         </execution>
122                                 </executions>
123                         </plugin>
124
125                 </plugins>
126         </build>
127
128 </project>