Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

WorkspaceMojo

Andreas Schmitz edited this page Jan 7, 2013 · 1 revision

Workspace Mojo

The workspace mojo can be used to create .deegree-workspace artifacts. Workspace artifacts can be created using a maven packaging of deegree-workspace, or can be created from .war projects. In order to use the deegree-workspace packaging, you'll need to use the deegree maven plugin as an extension (it doesn't hurt to do this for .war projects as well):

<build>
  <plugins>
    <plugin>
      <groupId>org.deegree</groupId>
      <artifactId>deegree-maven-plugin</artifactId>
      <extensions>true</extensions>
      <executions>
        <execution>
          <goals>
            <goal>attach-workspace</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>

Please note that for deegree-workspace projects a couple of rules need to be kept in mind:

  • all immediate .jar dependencies are automatically included in the workspace modules directory (but no transitive dependencies!)
  • all .deegree-workspace dependencies are automatically extracted into the workspace
  • if the current project is of jar packaging, the resulting .jar will also be added to the workspace modules directory
Clone this wiki locally