Add deploy and install plugin versions
[demo.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <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">
4
5
6   <groupId>org.openecomp.demo.vnf</groupId>
7   <artifactId>demo-aggregator</artifactId>
8   <version>1.0.0-SNAPSHOT</version>
9   <name>demo-aggregator</name>
10   <packaging>pom</packaging>
11   <modelVersion>4.0.0</modelVersion>
12   <prerequisites>
13     <maven>3.1.1</maven>
14   </prerequisites>
15
16   <modules>
17     <module>vnfs/honeycomb_plugin/sample_plugin</module>
18     <module>vnfs/vFW/pg_streams</module>
19     <module>vnfs/vLB/dns_streams</module>
20     <module>vnfs/vLB/DNSClient</module>
21     <module>vnfs/vLB/DNSManager</module>
22     <module>vnfs/VES</module>
23     <module>vnfs/VESreporting_vLB</module>
24     <module>vnfs/VESreporting_vFW</module>
25   </modules>
26
27   <build>
28     <plugins>
29       <plugin>
30         <groupId>org.apache.maven.plugins</groupId>
31         <artifactId>maven-deploy-plugin</artifactId>
32         <version>2.8.1</version>
33         <configuration>
34           <skip>true</skip>
35         </configuration>
36       </plugin>
37       <plugin>
38         <groupId>org.apache.maven.plugins</groupId>
39         <artifactId>maven-install-plugin</artifactId>
40         <version>2.5.2</version>
41         <configuration>
42           <skip>true</skip>
43         </configuration>
44       </plugin>
45
46       <plugin>
47         <groupId>org.codehaus.mojo</groupId>
48         <artifactId>exec-maven-plugin</artifactId>
49         <version>1.1.1</version>
50         <executions>
51           <execution>
52             <id>upload-boot-scripts</id>
53             <phase>deploy</phase>
54             <goals>
55               <goal>exec</goal>
56             </goals>
57           </execution>
58         </executions>
59         <configuration>
60           <executable>scripts/deploy.sh</executable>
61         </configuration>
62       </plugin>
63
64     </plugins>
65   </build>
66
67   <distributionManagement>
68     <repository>
69       <id>ecomp-releases</id>
70       <name>Demo Release Repository</name>
71       <url> https://nexus.openecomp.org/content/repositories/releases/</url>
72     </repository>
73     <snapshotRepository>
74       <id>ecomp-snapshots</id>
75       <name>Demo Snapshot Repository</name>
76       <url> https://nexus.openecomp.org/content/repositories/snapshots/</url>
77     </snapshotRepository>
78   </distributionManagement>
79
80 </project>