summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael JEZEQUEL <mickael.jezequel@orange.com>2018-03-05 11:42:21 +0100
committerMickael JEZEQUEL <mickael.jezequel@orange.com>2018-03-05 16:40:00 +0100
commitad4f889cf18c32e4dd3b506a0243a94c66e00206 (patch)
treec011900b77c0d7390f2075aaad5f5a86a7f52a25
parente2bdf848d6d798d54f94f8e3a9e130910159f1d9 (diff)
add missing pom for sonar build
Change-Id: Iaf00238f6c6a95e67254d2f821d0eda2cfbdb501 Issue-ID: VNFSDK-39 Signed-off-by: Mickael JEZEQUEL <mickael.jezequel@orange.com>
-rw-r--r--assembly.xml39
-rw-r--r--pom.xml61
2 files changed, 100 insertions, 0 deletions
diff --git a/assembly.xml b/assembly.xml
new file mode 100644
index 0000000..e73d3f4
--- /dev/null
+++ b/assembly.xml
@@ -0,0 +1,39 @@
+<!--
+Copyright (c) 2016-2017 GigaSpaces Technologies Ltd. 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.
+-->
+<assembly
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+ <id>vnfsdk</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <includes>
+ <include>validation-scripts/LICENSE.txt</include>
+ <include>validation-scripts/README.md</include>
+ <include>requirements.txt</include>
+ <include>setup.py</include>
+ <include>validation-scripts/ice_validator/**</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.pyc</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+ <baseDirectory>.</baseDirectory>
+</assembly>
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..ad7e6b3
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0"?>
+<!--
+Copyright (c) 2016 GigaSpaces Technologies Ltd. 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.
+-->
+<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>
+ <packaging>pom</packaging>
+
+ <parent>
+ <groupId>org.onap.oparent</groupId>
+ <artifactId>oparent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../oparent</relativePath>
+ </parent>
+
+ <groupId>org.onap.vnfsdk.ice</groupId>
+ <artifactId>vnf-sdk-ice-scripts</artifactId>
+
+ <name>vnfsdk-ice-scripts</name>
+ <description>python scripts for HEAT template validation</description>
+ <properties>
+ <sonar.language>py</sonar.language>
+ <sonar.pluginName>Python</sonar.pluginName>
+ <sonar.inclusions>**/*.py</sonar.inclusions>
+ <sonar.skip>false</sonar.skip>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <appendAssemblyId>false</appendAssemblyId>
+ <descriptors>
+ <descriptor>assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>