The openArchitectureWare-Repository
The openArchitectureWare (oAW) project provides an own repository where you find all needed artifacts. This repository is managed by the Fornax-Platform. So if you have question and/or comments about this please feel free to contact us.
You can browse the openArchitectureWare-Repository at http://www.openarchitectureware.org/m2/
. Or you choose the Fornax M2-Repository
that provides the oAW artifacts too.
Working with the oAW artifacts
The oAW repository provides the plain artifacts. This mean there are no grouping to make the work easier. You need to know what artifacts (and their dependencies) you need for your project. If you know this you can easily use this repository.
You must add the oAW-Repository and the Eclipse-Repository to your configuration:
<repositories>
<repository>
<id>oaw.repository</id>
<name>openArchitectureWare Repository</name>
<url>http: </repository> <repository>
<id>eclipse.repository</id>
<name>Eclipse Repository</name>
<url>http: </repository>
</repositories>
After this you must configure the dependencies (artifacts):
<dependencies>
<dependency>
<groupdId>org.openarchitectureware</groupId>
<artifactId>oaw-uml2-adapter</artifactId>
<version>4.2.0</version>
</dependency>
[...]
</dependencies>
The Fornax oAW artifacts
The Fornax-Platform provides pom-only artifacts to group the oAW artifacts. This is useful for you, because you need to define only one artifact that collects all needed dependencies.
You can see this repository is task-based. You only to know what you want to do and choose the right artifact. The Fornax oAW artifact provides only a pom. So you need to add the <type>pom</type> declaration to your dependency. With this declaration you don't need any configuration for the oAW- or Eclipse-Repository.
<repositories>
<repository>
<id>fornax.repository</id>
<name>Fornax Repository</name>
<url>http: </repository>
</repositories>
After this you must configure the dependencies (artifacts):
<dependencies>
<dependency>
<groupdId>org.fornax.openarchitectureware</groupId>
<artifactId>oaw-uml2</artifactId>
<version>4.2.0</version>
<type>pom</type>
</dependency>
[...]
</dependencies>
Now all needed dependencies were resolved and added to your project.