Fix distribution issues with POM file
[demo.git] / vnfs / vLBMS / apis / vlb-vnf-onap-distribution / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3
4   <parent>
5     <groupId>io.fd.honeycomb.common</groupId>
6     <artifactId>minimal-distribution-parent</artifactId>
7     <version>1.17.07</version>
8   </parent>
9
10   <modelVersion>4.0.0</modelVersion>
11   <groupId>org.onap.vnf.vlb</groupId>
12   <artifactId>vlb-vnf-onap-distribution</artifactId>
13   <version>1.2.0-SNAPSHOT</version>
14
15   <properties>
16     <exec.parameters>-Xms128m -Xmx128m</exec.parameters>
17     <main.class>io.fd.honeycomb.infra.distro.Main</main.class>
18     <interfaces.mapping.version>1.17.07</interfaces.mapping.version>
19     <honeycomb.min.distro.version>1.17.07</honeycomb.min.distro.version>
20     <!--
21        Defines list of specific modules provided by the distribution
22        (adds them to base modules like NetconfModule and RestconfModule).
23
24        Module configuration is placed in 'modules' subdir of the target distro folder.
25        Modules can be disabled by commenting them out in the pom.xml
26        or modules configuration file.
27      -->
28     <distribution.modules>
29       org.onap.vnf.vlb.Module
30     </distribution.modules>
31   </properties>
32
33   <build>
34     <plugins>
35       <plugin>
36         <artifactId>maven-compiler-plugin</artifactId>
37       </plugin>
38       <plugin>
39         <groupId>org.codehaus.gmaven</groupId>
40         <artifactId>groovy-maven-plugin</artifactId>
41       </plugin>
42       <plugin>
43         <groupId>org.apache.maven.plugins</groupId>
44         <artifactId>maven-jar-plugin</artifactId>
45       </plugin>
46       <plugin>
47         <groupId>org.apache.maven.plugins</groupId>
48         <artifactId>maven-dependency-plugin</artifactId>
49       </plugin>
50       <plugin>
51         <artifactId>maven-assembly-plugin</artifactId>
52       </plugin>
53       <plugin>
54         <groupId>org.apache.maven.plugins</groupId>
55         <artifactId>maven-deploy-plugin</artifactId>
56         <configuration>
57           <skip>false</skip>
58         </configuration>
59       </plugin>
60       <plugin>
61         <groupId>org.apache.maven.plugins</groupId>
62         <artifactId>maven-install-plugin</artifactId>
63         <configuration>
64           <skip>false</skip>
65         </configuration>
66       </plugin>
67       <plugin>
68         <groupId>org.codehaus.mojo</groupId>
69         <artifactId>exec-maven-plugin</artifactId>
70         <executions>
71           <execution>
72             <phase>none</phase>
73           </execution>
74         </executions>
75         <configuration>
76           <skip>true</skip>
77         </configuration>
78       </plugin>
79       <plugin>
80         <artifactId>maven-checkstyle-plugin</artifactId>
81         <configuration>
82           <skip>true</skip>
83         </configuration>
84       </plugin>
85       <plugin>
86         <groupId>org.sonatype.plugins</groupId>
87         <artifactId>nexus-staging-maven-plugin</artifactId>
88         <version>1.6.7</version>
89         <extensions>true</extensions>
90         <configuration>
91           <nexusUrl>https://nexus.onap.org/</nexusUrl>
92           <stagingProfileId>176c31dfe190a</stagingProfileId>
93           <serverId>ecomp-staging</serverId>
94         </configuration>
95       </plugin>
96     </plugins>
97   </build>
98
99   <distributionManagement>
100     <repository>
101       <id>ecomp-releases</id>
102       <name>Demo Release Repository</name>
103       <url>https://nexus.onap.org/content/repositories/releases/</url>
104     </repository>
105     <snapshotRepository>
106       <id>ecomp-snapshots</id>
107       <name>Demo Snapshot Repository</name>
108       <url>https://nexus.onap.org/content/repositories/snapshots/</url>
109     </snapshotRepository>
110   </distributionManagement>
111
112   <dependencies>
113     <!-- Dependency on sample plugin -->
114     <dependency>
115       <groupId>org.onap.vnf.vlb</groupId>
116       <artifactId>vlb-business-vnf-onap-plugin-impl</artifactId>
117       <version>${interfaces.mapping.version}</version>
118     </dependency>
119     <!-- Dependency on distribution base -->
120     <dependency>
121       <groupId>io.fd.honeycomb</groupId>
122       <artifactId>minimal-distribution</artifactId>
123       <version>${honeycomb.min.distro.version}</version>
124     </dependency>
125
126   </dependencies>
127 </project>