No description or website provided.
Java
Latest commit 98f06fe Apr 28, 2012 @frieder Fixed README.md
Permalink
Failed to load latest commit information.
doc Updated documentation Jan 4, 2012
virgo-maven-plugin Fixed bug in shutdown/immediate shutdown goal Jan 28, 2012
.gitignore test Apr 28, 2012
README.md Fixed README.md Apr 28, 2012

README.md

A Maven plugin that provides a convenient way to start Eclipse Virgo and to deploy OSGi bundles to it.

Installation

Unfortunately there is currently no artifact available in any Maven repository so you have to create your own artifact. To do so execute the following command from within the project root.

mvn clean install - This will install a ready-to-use plugin artifact to your local Maven repository. Once this has been done you're ready to use this plugin in any of your Maven scripts. In case that you need to share this plugin accross a development team I suggest you install the plugin in a repository server like Nexus or Artifactory first.

Goals

Currently the following goals are available

  • mvn virgo:start - This will start a Virgo instance
  • mvn virgo:shutdown - This will shutdown a Virgo instance
  • mvn virgo:immediateShutdown - This will instantly shutdown a Virgo instance
  • mvn virgo:deploy - This will deploy an OSGi bundle (hopefully in the future it will support plan and par as well)
  • mvn virgo:undeploy - This will undeploy an OSGi bundle
  • mvn virgo:refresh - This will refresh a previously installed OSGi module
  • mvn virgo:bundleRefresh - This will refresh a previously installed OSGi bundle

Examples

A couple of example pom.xml files can be found in the example folder.