Update to latest ccsdk/parent Frankfurt snapshot 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
5     <parent>
6         <groupId>org.onap.ccsdk.parent</groupId>
7         <artifactId>standalone-parent</artifactId>
8         <version>1.5.10-SNAPSHOT</version>
9     </parent>
10
11     <groupId>org.onap.ccsdk.sli.northbound</groupId>
12     <artifactId>dmaap-listener</artifactId>
13     <version>0.7.5-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>0.7.2</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
50     <dependencies>
51
52         <dependency>
53             <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
54             <artifactId>dmaapClient</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>org.slf4j</groupId>
58             <artifactId>slf4j-api</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>org.apache.logging.log4j</groupId>
62             <artifactId>log4j-slf4j-impl</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>com.fasterxml.jackson.core</groupId>
66             <artifactId>jackson-core</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>com.fasterxml.jackson.core</groupId>
70             <artifactId>jackson-databind</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>com.fasterxml.jackson.core</groupId>
74             <artifactId>jackson-annotations</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>org.apache.velocity</groupId>
78             <artifactId>velocity-engine-core</artifactId>
79         </dependency>        
80         <dependency>
81             <groupId>junit</groupId>
82             <artifactId>junit</artifactId>
83             <scope>test</scope>
84         </dependency>
85         <dependency>
86             <groupId>ch.vorburger.mariaDB4j</groupId>
87             <artifactId>mariaDB4j</artifactId>
88             <scope>test</scope>
89         </dependency>
90
91         <dependency>
92             <groupId>org.onap.ccsdk.sli.core</groupId>
93             <artifactId>dblib-provider</artifactId>
94         </dependency>
95     </dependencies>
96
97     <build>
98         <plugins>
99
100             <!-- ================================================== -->
101             <!-- Set the JDK compiler version. -->
102             <!-- ================================================== -->
103             <plugin>
104                 <groupId>org.apache.maven.plugins</groupId>
105                 <artifactId>maven-compiler-plugin</artifactId>
106                 <version>2.5.1</version>
107                 <inherited>true</inherited>
108                 <configuration>
109                     <source>1.8</source>
110                     <target>1.8</target>
111                 </configuration>
112             </plugin>
113             <plugin>
114                 <groupId>org.apache.maven.plugins</groupId>
115                 <artifactId>maven-jar-plugin</artifactId>
116                 <version>2.6</version>
117                 <configuration>
118                     <archive>
119                         <manifest>
120                             <addClasspath>true</addClasspath>
121                             <mainClass>org.onap.ccsdk.sli.northbound.dmaapclient.DmaapListener</mainClass>
122                         </manifest>
123                     </archive>
124                 </configuration>
125             </plugin>
126             <plugin>
127                 <artifactId>maven-assembly-plugin</artifactId>
128                 <version>2.6</version>
129                 <executions>
130                     <execution>
131                         <id>create-zip</id>
132                         <goals>
133                             <goal>single</goal>
134                         </goals>
135                         <phase>package</phase>
136                         <configuration>
137                             <attach>true</attach>
138                             <finalName>${project.artifactId}.${project.version}</finalName>
139                             <attach>true</attach>
140                             <descriptors>
141                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
142                             </descriptors>
143                             <appendAssemblyId>false</appendAssemblyId>
144                         </configuration>
145                     </execution>
146                 </executions>
147             </plugin>
148
149         </plugins>
150     </build>
151 </project>