Component Deployment POM Usage

Example POM:

<project xmlns="http://maven.apache.org/POM/4.0.0">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.bluestemsoftware.open.eoa.example.warehouse.manager</groupId>
  <artifactId>warehouse-manager-application</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>eoa-component</packaging>
  <name>warehouse-manager-application</name>
  <build>
    <plugins>
      <plugin>
        <groupId>org.bluestemsoftware.open.eoa.plugin</groupId>
        <artifactId>maven-eoa-plugin</artifactId>
        <extensions>true</extensions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>2.4</version>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    ...
  </dependencies>
</project>

To define a factory dependency, paste snippet of desired type into your factory 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>

Scoped Dependency

<dependency>
  <groupId>org.some.organization.some.application</groupId>
  <artifactId>scoped-artifact-id</artifactId>
  <version>1.0</version>
  <scope>compile</scope>
  <optional>true</optional>
</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>

Module Dependency

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