Adding TestVNF netconf server
[demo.git] / vnfs / TestVNF / netconfserver / pom.xml
diff --git a/vnfs/TestVNF/netconfserver/pom.xml b/vnfs/TestVNF/netconfserver/pom.xml
new file mode 100644 (file)
index 0000000..5a822cc
--- /dev/null
@@ -0,0 +1,146 @@
+<!--
+  ============LICENSE_START=======================================================
+   Copyright (C) 2016-2018 Ericsson. All rights reserved.
+  ================================================================================
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  
+  SPDX-License-Identifier: Apache-2.0
+  ============LICENSE_END=========================================================
+-->
+
+<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">
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>dummyvnf</groupId>
+       <artifactId>netconfserver</artifactId>
+       <version>0.0.1-SNAPSHOT</version>
+
+       <packaging>jar</packaging>
+
+       <name>test</name>
+       <url>http://maven.apache.org</url>
+
+       <properties>
+               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+       </properties>
+
+       <build>
+               <finalName>netconfsystem</finalName>
+               <plugins>
+
+                       <!-- download source code in Eclipse, best practice -->
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-eclipse-plugin</artifactId>
+                               <version>2.9</version>
+                               <configuration>
+                                       <downloadSources>true</downloadSources>
+                                       <downloadJavadocs>false</downloadJavadocs>
+                               </configuration>
+                       </plugin>
+
+                       <!-- Set a compiler level -->
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <version>2.3.2</version>
+                               <configuration>
+                                       <source>1.8</source>
+                                       <target>1.8</target>
+                               </configuration>
+                       </plugin>
+
+                       <!-- Maven Assembly Plugin -->
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-assembly-plugin</artifactId>
+                               <version>2.4.1</version>
+                               <configuration>
+                                       <!-- get all project dependencies -->
+                                       <descriptorRefs>
+                                               <descriptorRef>jar-with-dependencies</descriptorRef>
+                                       </descriptorRefs>
+                                       <!-- MainClass in mainfest make a executable jar -->
+                                       <archive>
+                                               <manifest>
+                                                       <mainClass>server.Server</mainClass>
+                                               </manifest>
+                                       </archive>
+
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>make-assembly</id>
+                                               <!-- bind to the packaging phase -->
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>single</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+
+               </plugins>
+       </build>
+
+
+       <dependencies>
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <version>3.8.1</version>
+                       <scope>test</scope>
+               </dependency>
+               <!-- https://mvnrepository.com/artifact/org.apache.sshd/sshd-core -->
+               <dependency>
+                       <groupId>org.apache.sshd</groupId>
+                       <artifactId>sshd-core</artifactId>
+                       <version>2.0.0</version>
+               </dependency>
+               <dependency>
+                       <groupId>commons-logging</groupId>
+                       <artifactId>commons-logging</artifactId>
+                       <version>1.1.1</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.mariadb.jdbc</groupId>
+                       <artifactId>mariadb-java-client</artifactId>
+                       <version>2.1.2</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.codehaus.groovy</groupId>
+                       <artifactId>groovy</artifactId>
+                       <version>2.5.2</version>
+               </dependency>
+               <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-sql -->
+               <dependency>
+                       <groupId>org.codehaus.groovy</groupId>
+                       <artifactId>groovy-sql</artifactId>
+                       <version>2.0.1</version>
+               </dependency>
+               <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-json -->
+               <dependency>
+                       <groupId>org.codehaus.groovy</groupId>
+                       <artifactId>groovy-json</artifactId>
+                       <version>2.5.2</version>
+               </dependency>
+
+               <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-xml -->
+               <dependency>
+                       <groupId>org.codehaus.groovy</groupId>
+                       <artifactId>groovy-xml</artifactId>
+                       <version>2.5.2</version>
+               </dependency>
+       </dependencies>
+</project>
\ No newline at end of file