Reference Guide

Table Of Contents
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
Next, update the hm-rs module POM file hm-rs/pom.xml with the extract shown in the following
listing to generate the .war file during the build process.
hm-rs/pom.xml to generate .war:
...
<modelVersion>4.0.0</modelVersion>
<artifactId>hm-rs</artifactId>
<packaging>war</packaging>
...
<properties>
<banned.rs.paths>com.hp.hm.rs</banned.rs.paths>
<webapp.context>sdn/hm/v1.0</webapp.context>
<web.context.path>sdn/hm/v1.0</web.context.path>
</properties>
...
<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,
174