r1 - 06 Oct 2006 - 14:42:13 - VinubalajiGopalYou are here: OSAF >  Journal Web  > CosmoDotUML

Installation

$ maven plugin:download -DgroupId=maven-plugins -DartifactId=maven-dotuml-plugin -Dversion=1.0
 -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/maven/

The installation does not complete here since the dependency is resolved while running the command

maven maven-dotuml-plugin:report 

This command tries to download some of the dependencies and it fails to download UMLGraph version 2.8. UMLGraph can be manually downloaded from http://www.spinellis.gr/sw/umlgraph/. I had it working with the version 2.10. Download, unzip the archive and copy the UMLGraph.jar file into the maven repository directory.

 
$ mkdir -p {$HOME}/.maven/repository/umlgraph/jars
$ cp $UMLGRAPHHOME/UMLGraph.jar {$HOME}/.maven/repository/umlgraph/jars/UMLGraph-2.10

Usage

To generate the UML report, run the following command

$cd $COSMOSRC
$maven maven-dotuml-plugin:report 
You should see a build successful message and all the image files will be placed in $COSMOSRC/target/docs/dotuml.

One of the image file from that directory is shown below

UML diagram of the dao directory

dotuml also generates an index file in $COSMOSRC/target/docs/dotuml/index.html. This file is a big file containing links and the images generated by dotuml. It also links the images with the actual javadoc.

The goals and properties can be customized to your needs.

-- VinubalajiGopal - 06 Oct 2006

toggleopenShow attachmentstogglecloseHide attachments
Topic attachments
I Attachment Action Size Date Who Comment
pngpng org.osaf.cosmo.dao.png manage 38.9 K 06 Oct 2006 - 14:19 VinubalajiGopal UML diagram of the dao directory
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.