Reference Guide
Table Of Contents
- 1 Introduction
- 2 Establishing Your Test and Development Environments
- 3 Developing Applications
- Introduction
- Authentication
- REST API
- Audit Logging
- Alert Logging
- Configuration
- High Availability
- OpenFlow
- Metrics Framework
- GUI
- SKI Framework - Overview
- SKI Framework - Navigation Tree
- SKI Framework - Hash Navigation
- SKI Framework - View Life-Cycle
- SKI Framework - Live Reference Application
- UI Extension
- Introduction
- Controller Teaming
- Distributed Coordination Service
- Persistence
- Backup and Restore
- Device Driver Framework
- 4 Application Security
- 5 Including Debian Packages with Applications
- 6 Sample Application
- Application Description
- Creating Application Development Workspace
- Application Generator (Automatic Workspace Creation)
- Creating Eclipse Projects
- Updating Project Dependencies
- Building the Application
- Installing the Application
- Application Code
- 7 Testing Applications
- 8 Built-In Applications
- Appendix A
- Appendix B
- Bibliography
http://www.eclipse.org/virgo/schema/plan
http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
<artifact type="bundle" name="com.hp.hm.hm-model" version="1.0.0.SNAPSHOT "/>
<artifact type="bundle" name="com.hp.hm.hm-api" version="1.0.0.SNAPSHOT "/>
<artifact type="bundle" name="com.hp.hm.hm-bl" version="1.0.0.SNAPSHOT "/>
<artifact type="bundle" name="com.hp.hm.hm-rs" version="1.0.0.SNAPSHOT "/>
</plan>
Finally update the application packaging POM file hm-app/pom.xml (created in Application
Packaging POM File on page 142) with the extract shown in the following listing to include the .war
file into the application package.
Sample Application Packaging POM File Including REST Module:
...
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>package-app</id>
<phase>package</phase>
<configuration>
<tasks>
<mkdir dir="target/bundles" />
<copy todir="target/bundles/" flatten="true">
<fileset
dir="${user.home}/.m2/repository/com/hp/hm/">
<!— Add an <include> node for api, bl, dao-
api, dao-model and dao -->
<include name="hm-
model/${project.version}/hm-model-${project.version}.jar"/>
<include name="hm-rs/${project.version}/hm-
rs-${project.version}.war"/>
</fileset>
<fileset dir="${basedir}" includes="hm.plan"/>
</copy>
<zip destfile="target/hm-${project.version}.zip"
basedir="target/bundles"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
176