General
java -jar modi.jar -Dam=/path/to/am -Ddm=/path/to/dm
We have implemented a maven-jmd-plugin which generates a JMD Report. You can use it in your pom.xml by defining it in the reporting section:
... <reporting> <plugins> <plugin> <groupId>net.sf.jmd</groupId> <artifactId>maven-jmd-plugin</artifactId> <version>0.1.0-SNAPSHOT</version> <configuration> <jmdConfigFile> src/arch/jmdConfig.properties </jmdConfigFile> <amRoot>src/arch/java</amRoot> <dmRoot>src/main/java</dmRoot> </configuration> </plugin> ...
As the maven-jmd-plugin is currently not in the maven central repository, you can either use the repository provided here at sf.net (see below) or check it out from svn and build it yourself (see below).
... <activeProfiles> <activeProfile>withJmdRepo</activeProfile> </activeProfiles> <profiles> <profile> <id>withJmdRepo</id> <repositories> <repository> <id>central</id> <name>Maven Repository Switchboard</name> <layout>default</layout> <url>http://repo1.maven.org/maven2</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>central</id> <name>Maven Plugin Repository</name> <url>http://repo1.maven.org/maven2</url> <layout>default</layout> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>jmd.sf.net</id> <url>http://jmd.sf.net/m2repository</url> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> ...
Use Maven and the following goals:
mvn clean test-compile site
... when its done.
... when its done.