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