6585f0aaedfe284ee34afbaae37e89a342a956dc
[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>standalone-parent</artifactId>
8         <version>2.1.0-SNAPSHOT</version>
9     </parent>
10
11     <groupId>org.onap.ccsdk.sli.northbound</groupId>
12     <artifactId>dmaap-listener</artifactId>
13     <version>1.1.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         <skip.SWM>true</skip.SWM>
21         <dmaap.listener.base>/opt/app/dmaap-listener</dmaap.listener.base>
22
23         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
24         <build.number>${maven.build.timestamp}</build.number>
25         <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
26
27         <ccsdk.sli.core.version>${project.version}</ccsdk.sli.core.version>
28         <ccsdk.sli.northbound.version>${project.version}</ccsdk.sli.northbound.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
41             <!-- dmaapClient needs this version of this jar -->
42             <dependency>
43                 <groupId>javax.ws.rs</groupId>
44                 <artifactId>javax.ws.rs-api</artifactId>
45                 <version>2.1</version>
46             </dependency>
47         </dependencies>
48     </dependencyManagement>
49     <dependencies>
50
51         <dependency>
52             <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
53             <artifactId>dmaapClient</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>org.slf4j</groupId>
57             <artifactId>slf4j-api</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.apache.logging.log4j</groupId>
61             <artifactId>log4j-slf4j-impl</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>com.fasterxml.jackson.core</groupId>
65             <artifactId>jackson-core</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>com.fasterxml.jackson.core</groupId>
69             <artifactId>jackson-databind</artifactId>
70         </dependency>
71         <dependency>
72             <groupId>com.fasterxml.jackson.core</groupId>
73             <artifactId>jackson-annotations</artifactId>
74         </dependency>
75         <dependency>
76             <groupId>org.apache.velocity</groupId>
77             <artifactId>velocity-engine-core</artifactId>
78         </dependency>        
79         <dependency>
80             <groupId>junit</groupId>
81             <artifactId>junit</artifactId>
82             <scope>test</scope>
83         </dependency>
84         <dependency>
85             <groupId>ch.vorburger.mariaDB4j</groupId>
86             <artifactId>mariaDB4j</artifactId>
87             <scope>test</scope>
88         </dependency>
89
90         <dependency>
91             <groupId>org.onap.ccsdk.sli.core</groupId>
92             <artifactId>dblib-provider</artifactId>
93         </dependency>
94     </dependencies>
95
96     <build>
97         <plugins>
98
99             <!-- ================================================== -->
100             <!-- Set the JDK compiler version. -->
101             <!-- ================================================== -->
102             <plugin>
103                 <groupId>org.apache.maven.plugins</groupId>
104                 <artifactId>maven-compiler-plugin</artifactId>
105                 <version>2.5.1</version>
106                 <inherited>true</inherited>
107                 <configuration>
108                     <source>1.8</source>
109                     <target>1.8</target>
110                 </configuration>
111             </plugin>
112             <plugin>
113                 <groupId>org.apache.maven.plugins</groupId>
114                 <artifactId>maven-jar-plugin</artifactId>
115                 <version>2.6</version>
116                 <configuration>
117                     <archive>
118                         <manifest>
119                             <addClasspath>true</addClasspath>
120                             <mainClass>org.onap.ccsdk.sli.northbound.dmaapclient.DmaapListener</mainClass>
121                         </manifest>
122                     </archive>
123                 </configuration>
124             </plugin>
125             <plugin>
126                 <artifactId>maven-assembly-plugin</artifactId>
127                 <version>2.6</version>
128                 <executions>
129                     <execution>
130                         <id>create-zip</id>
131                         <goals>
132                             <goal>single</goal>
133                         </goals>
134                         <phase>package</phase>
135                         <configuration>
136                             <attach>true</attach>
137                             <finalName>${project.artifactId}.${project.version}</finalName>
138                             <attach>true</attach>
139                             <descriptors>
140                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
141                             </descriptors>
142                             <appendAssemblyId>false</appendAssemblyId>
143                         </configuration>
144                     </execution>
145                 </executions>
146             </plugin>
147
148         </plugins>
149     </build>
150 </project>