This repository was archived by the owner on Aug 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
WorkspaceMojo
Andreas Schmitz edited this page Jan 7, 2013
·
1 revision
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
.jardependencies are automatically included in the workspacemodulesdirectory (but no transitive dependencies!) - all
.deegree-workspacedependencies are automatically extracted into the workspace - if the current project is of
jarpackaging, the resulting.jarwill also be added to the workspacemodulesdirectory