Reference Guide

Table Of Contents
Now update the hm-ui module POM file hm-ui/pom.xml with the extract shown in the following
hm-ui/pom.xml to generate .war listing, to generate the .war file during the build process.
hm-ui/pom.xml to generate .war:
...
<modelVersion>4.0.0</modelVersion>
<artifactId>hm-ui</artifactId>
<packaging>war</packaging>
...
<properties>
<jersey.version>1.17</jersey.version>
<banned.rs.paths>com.hp.hm.ui</banned.rs.paths>
<webapp.context>sdn/ui/health</webapp.context>
<web.context.path>sdn/ui/health<web.context.path>
</properties>
<dependencies>
...
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.6</version>
<extensions>true</extensions>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<manifestLocation>${project.build.directory}/META-
INF</manifestLocation>
<supportedProjectTypes>
<supportedProjectType>bundle</supportedProjectType>
<supportedProjectType>war</supportedProjectType>
</supportedProjectTypes>
<instructions>
<Import-Package>
com.sun.jersey.api.core,
com.sun.jersey.spi.container.servlet,
com.sun.jersey.server.impl.container.servlet,
com.hp.util.rs,
202