Reference Guide

Table Of Contents
the name property. The order property must contain a comma separated list of bundle symbolic
names indicating the order each bundle should be started in. The first bundle in this list is started
by OSGi first, whereas the last bundle in the list is started by OSGi last.
Application Packaging POM File
The installable application is a simple .zip file containing the output .jar files generated at the
target directory - at compile time - of each application module (“…/health-monitor/hm-
api/target/hm-api-1.0.0.jar” for example).
This application .zip file is automatically generated after building the application if the application
generator tool was used to create the application, see Application Generator (Automatic
Workspace Creation) on page 144. The application zip file can be found under the ~/ hm-
app/target.
A POM file can be created to automatically produce the application package or zip file. Under
the application app folder (hm-app) create the application packaging pom.xml file using the
template from the HP VAN SDN Controller SDK. The following list shows an example for the
sample application.
Sample Application Packaging POM File:
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<parent>
<groupId>com.hp.hm</groupId>
<artifactId>hm-root</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../hm-root/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>hm-app</artifactId>
<packaging>pom</packaging>
<name>hm-app</name>
<description>Health Monitor - application packaging module</description>
<dependencies>
<dependency>
<groupId>com.hp.hm</groupId>
<artifactId>hm-model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.hp.hm</groupId>
<artifactId>hm-api</artifactId>
<version>${project.version}</version>
142