Adding TestVNF netconf server
[demo.git] / vnfs / TestVNF / netconfserver / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2016-2018 Ericsson. All rights reserved.
4   ================================================================================
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8   
9        http://www.apache.org/licenses/LICENSE-2.0
10   
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16   
17   SPDX-License-Identifier: Apache-2.0
18   ============LICENSE_END=========================================================
19 -->
20
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <modelVersion>4.0.0</modelVersion>
25         <groupId>dummyvnf</groupId>
26         <artifactId>netconfserver</artifactId>
27         <version>0.0.1-SNAPSHOT</version>
28
29         <packaging>jar</packaging>
30
31         <name>test</name>
32         <url>http://maven.apache.org</url>
33
34         <properties>
35                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36         </properties>
37
38         <build>
39                 <finalName>netconfsystem</finalName>
40                 <plugins>
41
42                         <!-- download source code in Eclipse, best practice -->
43                         <plugin>
44                                 <groupId>org.apache.maven.plugins</groupId>
45                                 <artifactId>maven-eclipse-plugin</artifactId>
46                                 <version>2.9</version>
47                                 <configuration>
48                                         <downloadSources>true</downloadSources>
49                                         <downloadJavadocs>false</downloadJavadocs>
50                                 </configuration>
51                         </plugin>
52
53                         <!-- Set a compiler level -->
54                         <plugin>
55                                 <groupId>org.apache.maven.plugins</groupId>
56                                 <artifactId>maven-compiler-plugin</artifactId>
57                                 <version>2.3.2</version>
58                                 <configuration>
59                                         <source>1.8</source>
60                                         <target>1.8</target>
61                                 </configuration>
62                         </plugin>
63
64                         <!-- Maven Assembly Plugin -->
65                         <plugin>
66                                 <groupId>org.apache.maven.plugins</groupId>
67                                 <artifactId>maven-assembly-plugin</artifactId>
68                                 <version>2.4.1</version>
69                                 <configuration>
70                                         <!-- get all project dependencies -->
71                                         <descriptorRefs>
72                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
73                                         </descriptorRefs>
74                                         <!-- MainClass in mainfest make a executable jar -->
75                                         <archive>
76                                                 <manifest>
77                                                         <mainClass>server.Server</mainClass>
78                                                 </manifest>
79                                         </archive>
80
81                                 </configuration>
82                                 <executions>
83                                         <execution>
84                                                 <id>make-assembly</id>
85                                                 <!-- bind to the packaging phase -->
86                                                 <phase>package</phase>
87                                                 <goals>
88                                                         <goal>single</goal>
89                                                 </goals>
90                                         </execution>
91                                 </executions>
92                         </plugin>
93
94                 </plugins>
95         </build>
96
97
98         <dependencies>
99                 <dependency>
100                         <groupId>junit</groupId>
101                         <artifactId>junit</artifactId>
102                         <version>3.8.1</version>
103                         <scope>test</scope>
104                 </dependency>
105                 <!-- https://mvnrepository.com/artifact/org.apache.sshd/sshd-core -->
106                 <dependency>
107                         <groupId>org.apache.sshd</groupId>
108                         <artifactId>sshd-core</artifactId>
109                         <version>2.0.0</version>
110                 </dependency>
111                 <dependency>
112                         <groupId>commons-logging</groupId>
113                         <artifactId>commons-logging</artifactId>
114                         <version>1.1.1</version>
115                 </dependency>
116                 <dependency>
117                         <groupId>org.mariadb.jdbc</groupId>
118                         <artifactId>mariadb-java-client</artifactId>
119                         <version>2.1.2</version>
120                 </dependency>
121                 <dependency>
122                         <groupId>org.codehaus.groovy</groupId>
123                         <artifactId>groovy</artifactId>
124                         <version>2.5.2</version>
125                 </dependency>
126                 <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-sql -->
127                 <dependency>
128                         <groupId>org.codehaus.groovy</groupId>
129                         <artifactId>groovy-sql</artifactId>
130                         <version>2.0.1</version>
131                 </dependency>
132                 <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-json -->
133                 <dependency>
134                         <groupId>org.codehaus.groovy</groupId>
135                         <artifactId>groovy-json</artifactId>
136                         <version>2.5.2</version>
137                 </dependency>
138
139                 <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-xml -->
140                 <dependency>
141                         <groupId>org.codehaus.groovy</groupId>
142                         <artifactId>groovy-xml</artifactId>
143                         <version>2.5.2</version>
144                 </dependency>
145         </dependencies>
146 </project>