90f5770b8a67236189abc150e1e642a472647afc
[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     <artifactId>demo-aggregator</artifactId>
6     <version>1.2.0-SNAPSHOT</version>
7     <groupId>org.onap.demo.vnf</groupId>
8     <relativePath>../../../../pom.xml</relativePath>
9   </parent>
10
11   <modelVersion>4.0.0</modelVersion>
12   <groupId>org.onap.demo.vnf.vlb</groupId>
13   <artifactId>vlb-vnf-onap-distribution</artifactId>
14   <version>1.2.0-SNAPSHOT</version>
15
16   <properties>
17     <exec.parameters>-Xms128m -Xmx128m</exec.parameters>
18     <main.class>io.fd.honeycomb.infra.distro.Main</main.class>
19     <interfaces.mapping.version>1.17.07</interfaces.mapping.version>
20     <honeycomb.min.distro.version>1.17.07</honeycomb.min.distro.version>
21     <!--
22        Defines list of specific modules provided by the distribution
23        (adds them to base modules like NetconfModule and RestconfModule).
24
25        Module configuration is placed in 'modules' subdir of the target distro folder.
26        Modules can be disabled by commenting them out in the pom.xml
27        or modules configuration file.
28      -->
29     <distribution.modules>
30       org.onap.vnf.vlb.Module
31       org.onap.vnf.health.Module
32     </distribution.modules>
33   </properties>
34
35   <build>
36     <plugins>
37       <plugin>
38         <artifactId>maven-compiler-plugin</artifactId>
39       </plugin>
40       <plugin>
41         <groupId>org.codehaus.gmaven</groupId>
42         <artifactId>groovy-maven-plugin</artifactId>
43       </plugin>
44       <plugin>
45         <groupId>org.apache.maven.plugins</groupId>
46         <artifactId>maven-jar-plugin</artifactId>
47       </plugin>
48       <plugin>
49         <groupId>org.apache.maven.plugins</groupId>
50         <artifactId>maven-dependency-plugin</artifactId>
51         <executions>
52           <execution>
53             <id>copy-dependencies</id>
54             <phase>package</phase>
55             <goals>
56               <goal>copy-dependencies</goal>
57             </goals>
58             <configuration>
59               <outputDirectory>${project.build.directory}/lib</outputDirectory>
60               <useBaseVersion>true</useBaseVersion>
61               <useRepositoryLayout>true</useRepositoryLayout>
62               <excludeArtifactIds>yang-jmx-generator</excludeArtifactIds>
63             </configuration>
64            </execution>
65            <execution>
66              <id>unpack-configuration</id>
67              <phase>prepare-package</phase>
68              <goals>
69                <goal>unpack-dependencies</goal>
70              </goals>
71              <configuration>
72                <includes>**/honeycomb-minimal-resources/</includes>
73                <outputDirectory>${project.build.outputDirectory}/</outputDirectory>
74              </configuration>
75            </execution>
76          </executions>
77       </plugin>
78       <plugin>
79         <artifactId>maven-assembly-plugin</artifactId>
80         <dependencies>
81           <dependency>
82             <groupId>io.fd.honeycomb.common</groupId>
83             <artifactId>minimal-assembly-descriptor</artifactId>
84             <version>1.17.07</version>
85           </dependency>
86         </dependencies>
87         <executions>
88           <execution>
89             <id>create-archive</id>
90             <phase>package</phase>
91             <goals>
92               <goal>single</goal>
93             </goals>
94             <configuration>
95               <descriptorRefs>
96                 <descriptorRef>honeycomb-minimal</descriptorRef>
97               </descriptorRefs>
98             </configuration>
99           </execution>
100         </executions>
101       </plugin>
102       <plugin>
103         <groupId>org.apache.maven.plugins</groupId>
104         <artifactId>maven-deploy-plugin</artifactId>
105         <configuration>
106           <skip>false</skip>
107         </configuration>
108       </plugin>
109       <plugin>
110         <groupId>org.apache.maven.plugins</groupId>
111         <artifactId>maven-install-plugin</artifactId>
112         <configuration>
113           <skip>false</skip>
114         </configuration>
115       </plugin>
116       <plugin>
117         <groupId>org.codehaus.mojo</groupId>
118         <artifactId>exec-maven-plugin</artifactId>
119         <executions>
120           <execution>
121             <phase>none</phase>
122           </execution>
123         </executions>
124         <configuration>
125           <skip>true</skip>
126         </configuration>
127       </plugin>
128       <plugin>
129         <artifactId>maven-checkstyle-plugin</artifactId>
130         <configuration>
131           <skip>true</skip>
132         </configuration>
133       </plugin>
134     </plugins>
135   </build>
136
137   <dependencies>
138     <!-- Dependency on sample plugin -->
139     <dependency>
140       <groupId>org.onap.demo.vnf.vlb</groupId>
141       <artifactId>vlb-business-vnf-onap-plugin-impl</artifactId>
142       <version>${interfaces.mapping.version}</version>
143     </dependency>
144     <dependency>
145       <groupId>org.onap.demo.vnf.health</groupId>
146       <artifactId>health-vnf-onap-plugin-impl</artifactId>
147       <version>${interfaces.mapping.version}</version>
148     </dependency>
149     <!-- Dependency on distribution base -->
150     <dependency>
151       <groupId>io.fd.honeycomb</groupId>
152       <artifactId>minimal-distribution</artifactId>
153       <version>${honeycomb.min.distro.version}</version>
154     </dependency>
155
156   </dependencies>
157 </project>