20c11fea4bf311a0f9289902cdd25fbc778cbebf
[demo.git] / vnfs / DAaaS / training-core / hdfs-writer-source-code / hdfs-writer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <modelVersion>4.0.0</modelVersion>
6
7     <groupId>com.intel.onap</groupId>
8     <artifactId>hdfs-writer</artifactId>
9     <version>1.0</version>
10
11     <!--Begin: compile and build the fat jar -->
12     <build>
13         <plugins>
14             <plugin>
15                 <groupId>org.apache.maven.plugins</groupId>
16                 <artifactId>maven-compiler-plugin</artifactId>
17                 <version>3.8.1</version>
18                 <configuration>
19                     <source>1.8</source>
20                     <target>1.8</target>
21                 </configuration>
22             </plugin>
23             <plugin>
24                 <groupId>org.apache.maven.plugins</groupId>
25                 <artifactId>maven-shade-plugin</artifactId>
26                 <version>2.3</version>
27                 <executions>
28                     <execution>
29                         <phase>package</phase>
30                         <goals>
31                             <goal>shade</goal>
32                         </goals>
33                         <configuration>
34                             <transformers>
35                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
36                             </transformers>
37                             <filters>
38                                 <filter>
39                                     <artifact>*:*</artifact>
40                                     <excludes>
41                                         <exclude>META-INF/*.SF</exclude>
42                                         <exclude>META-INF/*.DSA</exclude>
43                                         <exclude>META-INF/*.RSA</exclude>
44                                     </excludes>
45                                 </filter>
46                             </filters>
47                         </configuration>
48                     </execution>
49                 </executions>
50             </plugin>
51             <plugin>
52                 <artifactId>maven-assembly-plugin</artifactId>
53                 <configuration>
54                     <archive>
55                         <manifest>
56                             <mainClass>kafka2hdfsApp</mainClass>
57                         </manifest>
58                     </archive>
59                     <descriptorRefs>
60                         <descriptorRef>jar-with-dependencies</descriptorRef>
61                     </descriptorRefs>
62                 </configuration>
63                 <executions>
64                     <execution>
65                         <id>make-assembly</id> <!-- this is used for inheritance merges -->
66                         <phase>package</phase> <!-- bind to the packaging phase -->
67                         <goals>
68                             <goal>single</goal>
69                         </goals>
70                     </execution>
71                 </executions>
72             </plugin>
73         </plugins>
74     </build>
75     <!--End: compile and build the fat jar -->
76
77     <dependencies>
78         <dependency>
79             <groupId>org.apache.hadoop</groupId>
80             <artifactId>hadoop-core</artifactId>
81             <version>1.2.1</version>
82         </dependency>
83         <dependency>
84             <groupId>org.apache.hadoop</groupId>
85             <artifactId>hadoop-client</artifactId>
86             <version>3.2.0</version>
87         </dependency>
88         <dependency>
89             <groupId>org.apache.hadoop</groupId>
90             <artifactId>hadoop-hdfs</artifactId>
91             <version>2.7.1</version>
92         </dependency>
93         <dependency>
94             <groupId>org.apache.kafka</groupId>
95             <artifactId>kafka-clients</artifactId>
96             <version>2.2.0</version>
97         </dependency>
98         <dependency>
99             <groupId>com.fasterxml.jackson.dataformat</groupId>
100             <artifactId>jackson-dataformat-yaml</artifactId>
101             <version>2.9.8</version>
102         </dependency>
103         <dependency>
104             <groupId>com.fasterxml.jackson.core</groupId>
105             <artifactId>jackson-databind</artifactId>
106             <version>2.2.3</version>
107         </dependency>
108
109     </dependencies>
110
111 </project>