diff options
Diffstat (limited to 'nokiav2/deployment/pom.xml')
-rw-r--r-- | nokiav2/deployment/pom.xml | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/nokiav2/deployment/pom.xml b/nokiav2/deployment/pom.xml new file mode 100644 index 00000000..51b1a910 --- /dev/null +++ b/nokiav2/deployment/pom.xml @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<!-- + Copyright 2016-2017, Nokia Corporation + + 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> + <artifactId>deployment</artifactId> + <version>1.1.0-SNAPSHOT</version> + <packaging>pom</packaging> + <name>vfc/nfvo/driver/vnfm/svnfm/nokiav2/deployment</name> + <description>Nokia SVNFM driver deployment files</description> + <parent> + <groupId>org.onap.vfc.nfvo.driver.vnfm.svnfm.nokiav2</groupId> + <artifactId>vfc-nfvo-driver-vnfm-svnfm-nokiav2</artifactId> + <version>1.1.0-SNAPSHOT</version> + </parent> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>3.0.2</version> + <executions> + <execution> + <id>copy</id> + <phase>install</phase> + <goals> + <goal>copy</goal> + </goals> + </execution> + </executions> + <configuration> + <artifactItems> + <artifactItem> + <artifactId>driverwar</artifactId> + <version>1.1.0-SNAPSHOT</version> + <groupId>org.onap.vfc.nfvo.driver.vnfm.svnfm.nokiav2</groupId> + <type>war</type> + <overWrite>true</overWrite> + <outputDirectory>${project.basedir}/src/main/resources</outputDirectory> + <destFileName>driver.war</destFileName> + </artifactItem> + </artifactItems> + </configuration> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.0</version> + <configuration> + <descriptors> + <descriptor>src/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>create-archive</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.6.0</version> + <configuration> + <executable>${project.basedir}/src/main/resources/build_image.sh</executable> + <workingDirectory>${project.build.directory}</workingDirectory> + </configuration> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>exec</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> |