Extension Factory Deployment POM Usage
Models a factory deployment's dependencies. For more information regarding deployment 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>org.bluestemsoftware.open.eoa.ext.schema.xs.xs10.xerces</groupId>
<artifactId>xml-schema-10-xerces</artifactId>
<name>xml-schema-10-xerces</name>
<version>1.0</version>
<packaging>eoa-factory</packaging>
<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>