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