System POM Usage

Models system dependencies. For more information regarding system dependencies, please read the following section within the alakai user guide.

Example POM

<project xmlns="http://maven.apache.org/POM/4.0.0">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mycompany.eoa.system</groupId>
  <artifactId>default</artifactId>
  <packaging>pom</packaging>
  <version>1.0</version>
  <name>default</name>
  <dependencies>
    ...
  </dependencies>
</project>

To define a system dependency, paste snippet of desired type into your system pom and set the appropriate values within the identity tags.

Provided Dependency

<dependency>
  <groupId>org.bluestemsoftware.specification.eoa</groupId>
  <artifactId>specification-eoa</artifactId>
  <scope>system</scope>
  <version>0.8.0.0</version>
  <systemPath>${env.ALAKAI_HOME}/repository/org/bluestemsoftware/specification/eoa/specification-eoa/0.8.0.0/specification-eoa-0.8.0.0.jar</systemPath>
</dependency>

Shared Dependency

<dependency>
  <groupId>org.some.organization.some.application</groupId>
  <artifactId>shared-artifact-id</artifactId>
  <version>1.0</version>
  <scope>provided</scope>
</dependency>

Factory Dependency

<dependency>
  <groupId>org.some.organization.some.application</groupId>
  <artifactId>factory-artifact-id</artifactId>
  <version>1.0</version>
  <scope>runtime</scope>
  <type>eoa-factory</type>
</dependency>

Feature Dependency

<dependency>
  <groupId>org.some.organization.some.application</groupId>
  <artifactId>feature-artifact-id</artifactId>
  <version>1.0</version>
  <scope>runtime</scope>
  <type>eoa-feature</type>
</dependency>

Component Dependency

<dependency>
  <groupId>org.some.organization.some.application</groupId>
  <artifactId>component-artifact-id</artifactId>
  <version>1.0</version>
  <scope>runtime</scope>
  <type>eoa-component</type>
</dependency>