diff options
author | Denes Nemeth <denes.nemeth@nokia.com> | 2018-03-09 11:38:58 +0100 |
---|---|---|
committer | Denes Nemeth <denes.nemeth@nokia.com> | 2018-03-09 11:57:15 +0100 |
commit | bf64f98a8d811ca59cb5d638b30971b1145411d2 (patch) | |
tree | fb8e66e29d7caa9cbfe1592625e5bb782c535242 /nokiav2/deployment/pom.xml | |
parent | e24a1b81a1e76d052be6d57995f18a1b7b7221ec (diff) |
Remove maven during building docker images
Change-Id: Ic26230d8a5479704aa80f1b35e5cd36d556e7054
Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
Issue-ID: VFC-728
Diffstat (limited to 'nokiav2/deployment/pom.xml')
-rw-r--r-- | nokiav2/deployment/pom.xml | 58 |
1 files changed, 3 insertions, 55 deletions
diff --git a/nokiav2/deployment/pom.xml b/nokiav2/deployment/pom.xml index c58bc0ea..ff9bc505 100644 --- a/nokiav2/deployment/pom.xml +++ b/nokiav2/deployment/pom.xml @@ -26,72 +26,20 @@ <artifactId>vfc-nfvo-driver-vnfm-svnfm-nokiav2</artifactId> <version>1.1.0-SNAPSHOT</version> </parent> - <repositories> - <repository> - <id>project.local</id> - <name>project</name> - <url>file:${project.basedir}/src/repo</url> - </repository> - </repositories> <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> - <excludeTypes>pom</excludeTypes> - <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> + <!-- fail the bulid if xmlstarlet is not present in Jenkins env --> <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> + <executable>${project.basedir}/src/main/resources/test_xmlstarlet.sh</executable> <workingDirectory>${project.build.directory}</workingDirectory> </configuration> <executions> <execution> - <phase>package</phase> + <phase>compile</phase> <goals> <goal>exec</goal> </goals> |