Reference Guide

Table Of Contents
com.sun.jersey.server.impl.container.servlet,
com.hp.util.rs,
com.hp.util.rs.auth,
com.hp.sdn.rs.misc,*
</Import-Package>
<Export-Package>!${banned.rs.paths}</Export-Package>
<Webapp-Context>${webapp.context}</Webapp-Context>
<Web-ContextPath>${web.context.path}</Web-ContextPath>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.2</version>
<configuration>
<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
<attachClasses>true</attachClasses>
<webResources>
<resource>
<directory>target/scr-plugin-generated</directory>
</resource>
</webResources>
<archive>
<manifestFile>
${project.build.directory}/META-INF/MANIFEST.MF
</manifestFile>
<manifestEntries>
<Bundle-ClassPath>WEB-INF/classes</Bundle-ClassPath>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
If you created an application deployment plan (hm-app/hm.plan), update it (created in
Application Deployment Plan
on page 110) to deploy the hm-rs module as highlighted in the
following listing.
Sample Application Deployment Plan Considering REST Module:
<?xml version="1.0" encoding="UTF-8"?>
<plan name="health-monitor.plan" version="1.0.0" scoped="false" atomic="false"
xmlns="http://www.eclipse.org/virgo/schema/plan"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
175