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">
5 <artifactId>demo-aggregator</artifactId>
6 <version>1.2.0-SNAPSHOT</version>
7 <groupId>org.onap.demo.vnf</groupId>
8 <relativePath>../../../../pom.xml</relativePath>
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>
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>
22 Defines list of specific modules provided by the distribution
23 (adds them to base modules like NetconfModule and RestconfModule).
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.
29 <distribution.modules>
30 org.onap.vnf.vlb.Module
31 org.onap.vnf.health.Module
32 </distribution.modules>
38 <artifactId>maven-compiler-plugin</artifactId>
41 <groupId>org.codehaus.gmaven</groupId>
42 <artifactId>groovy-maven-plugin</artifactId>
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-jar-plugin</artifactId>
49 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-dependency-plugin</artifactId>
53 <id>copy-dependencies</id>
54 <phase>package</phase>
56 <goal>copy-dependencies</goal>
59 <outputDirectory>${project.build.directory}/lib</outputDirectory>
60 <useBaseVersion>true</useBaseVersion>
61 <useRepositoryLayout>true</useRepositoryLayout>
62 <excludeArtifactIds>yang-jmx-generator</excludeArtifactIds>
66 <id>unpack-configuration</id>
67 <phase>prepare-package</phase>
69 <goal>unpack-dependencies</goal>
72 <includes>**/honeycomb-minimal-resources/</includes>
73 <outputDirectory>${project.build.outputDirectory}/</outputDirectory>
79 <artifactId>maven-assembly-plugin</artifactId>
82 <groupId>io.fd.honeycomb.common</groupId>
83 <artifactId>minimal-assembly-descriptor</artifactId>
84 <version>1.17.07</version>
89 <id>create-archive</id>
90 <phase>package</phase>
96 <descriptorRef>honeycomb-minimal</descriptorRef>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-deploy-plugin</artifactId>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-install-plugin</artifactId>
117 <groupId>org.codehaus.mojo</groupId>
118 <artifactId>exec-maven-plugin</artifactId>
129 <artifactId>maven-checkstyle-plugin</artifactId>
138 <!-- Dependency on sample plugin -->
140 <groupId>org.onap.demo.vnf.vlb</groupId>
141 <artifactId>vlb-business-vnf-onap-plugin-impl</artifactId>
142 <version>${interfaces.mapping.version}</version>
145 <groupId>org.onap.demo.vnf.health</groupId>
146 <artifactId>health-vnf-onap-plugin-impl</artifactId>
147 <version>${interfaces.mapping.version}</version>
149 <!-- Dependency on distribution base -->
151 <groupId>io.fd.honeycomb</groupId>
152 <artifactId>minimal-distribution</artifactId>
153 <version>${honeycomb.min.distro.version}</version>