Plugin Documentation

Goals available for this plugin:

Goal Description
eosgi:analyze Analyses the environment settings based on different algorythms and provides useful tips how to improve their configuration.

At the moment, this goal shows the unsatisfied dependencies in case no package is exported from the JDK. This information can be useful to find out what should be specified for org.osgi.framework.system.packages property and what could be added as a bundle.

eosgi:dist Creates a distribution package for the project. Distribution packages may be provided as Environment parameters or 'equinox', the default option, -may also be used. The structure of the distribution package may be different for different types.
eosgi:help Display help information on eosgi-maven-plugin.
Call mvn eosgi:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
eosgi:integration-test Runs the integration-tests on OSGi environment. It is necessary to add org.everit.osgi.dev.testrunner and one of the engines as a dependency to the project to make this goal work.
eosgi:sync-back Synchronizes back the configured directories.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK 1.7
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.everit.osgi.dev</groupId>
          <artifactId>eosgi-maven-plugin</artifactId>
          <version>4.0.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.everit.osgi.dev</groupId>
        <artifactId>eosgi-maven-plugin</artifactId>
        <version>4.0.0</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"