Create multivimproxy maven project 03/34403/1
authorluxin <luxin7@huawei.com>
Wed, 7 Mar 2018 03:40:10 +0000 (11:40 +0800)
committerluxin <luxin7@huawei.com>
Wed, 7 Mar 2018 03:40:10 +0000 (11:40 +0800)
Change-Id: If516a521b3e81328dbd1361c6ce7ce46d919c80c
Issue-ID: VFC-790
Signed-off-by: luxin <luxin7@huawei.com>
.gitignore [new file with mode: 0644]
deployment/pom.xml [new file with mode: 0644]
pom.xml [new file with mode: 0644]
service/pom.xml [new file with mode: 0644]
service/src/main/webapp/WEB-INF/web.xml [new file with mode: 0644]
version.properties [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..1f25160
--- /dev/null
@@ -0,0 +1,7 @@
+/target/
+.iml
+.project
+.settings/
+.checkstyle
+.classpath
+coverage-report/
diff --git a/deployment/pom.xml b/deployment/pom.xml
new file mode 100644 (file)
index 0000000..ae8b342
--- /dev/null
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+    Copyright (c) 2018, Huawei Technologies Co., Ltd.\r
+\r
+    Licensed under the Apache License, Version 2.0 (the "License");\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.\r
+ -->\r
+<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">\r
+    <modelVersion>4.0.0</modelVersion>\r
+    <parent>\r
+        <groupId>org.onap.vfc.nfvo.multivimproxy</groupId>\r
+        <artifactId>vfc-nfvo-multivimproxy</artifactId>\r
+        <version>1.0.0-SNAPSHOT</version>\r
+        <relativePath>../pom.xml</relativePath>\r
+    </parent>\r
+    <version>1.0.0-SNAPSHOT</version>\r
+    <artifactId>vfc-nfvo-multivimproxy-deployment</artifactId>\r
+    <name>vfc-nfvo-multivimproxy-deployment</name>\r
+    <packaging>pom</packaging>\r
+\r
+    <properties>\r
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
+    </properties>\r
+\r
+\r
+</project>\r
diff --git a/pom.xml b/pom.xml
new file mode 100644 (file)
index 0000000..7e777b2
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+    Copyright (c) 2018, Huawei Technologies Co., Ltd.\r
+\r
+    Licensed under the Apache License, Version 2.0 (the "License");\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.\r
+ -->\r
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
+  <parent>\r
+        <groupId>org.onap.oparent</groupId>\r
+        <artifactId>oparent</artifactId>\r
+        <version>0.1.1</version>\r
+  </parent>\r
+  <modelVersion>4.0.0</modelVersion>\r
+  <groupId>org.onap.vfc.nfvo.multivimproxy</groupId>\r
+  <artifactId>vfc-nfvo-multivimproxy</artifactId>\r
+  <packaging>pom</packaging>\r
+  <version>1.0.0-SNAPSHOT</version>\r
+  <name>vfc-nfvo-multivimproxy</name>\r
+  <description>vfc nfvo multivimproxy</description>\r
+  \r
+  <build>\r
+    <finalName>vfc-nfvo-multivimproxy</finalName>\r
+    <plugins>\r
+            <plugin>\r
+                    <groupId>org.apache.maven.plugins</groupId>\r
+                    <artifactId>maven-surefire-plugin</artifactId>\r
+                    <version>2.19</version>\r
+                    <configuration>\r
+                        <testFailureIgnore>true</testFailureIgnore>\r
+                        <includes>\r
+                            <include>**/*Spec*</include>\r
+                            <include>**/Test*.java</include>\r
+                            <include>**/*Test.java</include>\r
+                            <include>**/*TestCase.java</include>\r
+                            <include>**/Test*.scala</include>\r
+                            <include>**/*Test.scala</include>\r
+                            <include>**/*TestCase.scala</include>\r
+                        </includes>\r
+                    </configuration>\r
+            </plugin>\r
+\r
+            <plugin>\r
+                <groupId>org.codehaus.mojo</groupId>\r
+                <artifactId>cobertura-maven-plugin</artifactId>\r
+                <version>2.7</version>\r
+                <configuration>\r
+                    <formats>\r
+                        <format>html</format>\r
+                        <format>xml</format>\r
+                    </formats>\r
+                    <instrumentation>\r
+                        <excludes>\r
+                            <exclude>org/**/*Test.class</exclude>\r
+                        </excludes>\r
+                    </instrumentation>\r
+                </configuration>\r
+            </plugin>\r
+        </plugins>\r
+  </build>\r
+  \r
+  <modules>\r
+        <module>service</module>\r
+        <module>deployment</module>\r
+    </modules>\r
+</project>\r
diff --git a/service/pom.xml b/service/pom.xml
new file mode 100644 (file)
index 0000000..34e9507
--- /dev/null
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+    Copyright 2018, Huawei Technologies Co., Ltd.\r
+\r
+    Licensed under the Apache License, Version 2.0 (the "License");\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+\r
+        http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.\r
+ -->\r
+<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">\r
+    <modelVersion>4.0.0</modelVersion>\r
+    <parent>\r
+        <groupId>org.onap.vfc.nfvo.multivimproxy</groupId>\r
+        <artifactId>vfc-nfvo-multivimproxy</artifactId>\r
+        <version>1.0.0-SNAPSHOT</version>\r
+        <relativePath>../pom.xml</relativePath>\r
+    </parent>\r
+\r
+    <artifactId>vfc-nfvo-multivimproxy-service</artifactId>\r
+    <version>1.0.0-SNAPSHOT</version>\r
+    <name>vfc-nfvo-multivimproxy-service</name>\r
+    <packaging>war</packaging>\r
+    <dependencies>  \r
+        <dependency>\r
+            <groupId>junit</groupId>\r
+            <artifactId>junit</artifactId>\r
+            <version>4.12</version>\r
+        </dependency>\r
+    </dependencies>\r
+\r
+</project>\r
diff --git a/service/src/main/webapp/WEB-INF/web.xml b/service/src/main/webapp/WEB-INF/web.xml
new file mode 100644 (file)
index 0000000..55b282e
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2018 Huawei Technologies Co., Ltd.
+   
+    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.
+ -->
+
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+        http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+
+</web-app>
\ No newline at end of file
diff --git a/version.properties b/version.properties
new file mode 100644 (file)
index 0000000..0a53751
--- /dev/null
@@ -0,0 +1,13 @@
+###########################################################\r
+# Versioning variables\r
+# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )\r
+# because they are used in Jenkins, whose plug-in doesn't support\r
+\r
+major=1\r
+minor=0\r
+patch=0\r
+\r
+base_version=${major}.${minor}.${patch}\r
+\r
+release_version=${base_version}\r
+snapshot_version=${base_version}-SNAPSHOT
\ No newline at end of file