Thanks for all your responses. I've made progress. It now looks like my problem is with Graphviz's dot.exe program. It crashes even from the command like when I do something as simple as "dot -V" . Says it failed to initialize properly..blah blah ...the usual Windows stuff :)
Will let you know what happens. On Thu, Jul 9, 2009 at 9:47 AM, Jason Chaffee <[email protected]>wrote: > see http://repo2.maven.org/maven2/org/umlgraph/ > > Jason > ________________________________________ > From: Jason Chaffee [[email protected]]hanks > Sent: Thursday, July 09, 2009 12:45 AM > To: Maven Users List > Subject: RE: Using UmlGraphDoc with Maven > > UmlGraph is in the central repo: > > <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> > <docletArtifact> > <groupId>org.umlgraph</groupId> > <artifactId>doclet</artifactId> > <version>5.1</version> > </docletArtifact> > > Jason > ________________________________________ > From: Mohan KR [[email protected]] > Sent: Thursday, July 09, 2009 12:27 AM > To: 'Maven Users List' > Subject: RE: Using UmlGraphDoc with Maven > > I have using both UMLGraph and Apiviz, at least with APIViz you don't need > to 'install' the > UMLgraph, it is available from jboss repo. Of course, both of them require > the "dot.exe" to > be available in the classpath. > > http://code.google.com/p/apiviz/ > > > Thanks, > mohan kr > > > -----Original Message----- > From: Jeff Mutonho [mailto:[email protected]] > Sent: Thursday, July 09, 2009 2:00 AM > To: Maven Users List > Subject: Re: Using UmlGraphDoc with Maven > > Thanks Paul , but I still seem out of luck. > I downloaded UmlGraph version 4.8 and installed it as > > mvn install:install-file -Dpackaging=jar -DartifactId=UmlGraph > -Dversion=4.8 -Dfile=C:/devenv/UMLGraph-4.8/lib/UmlGraph.jar > -DgroupId=gr.spinellis -DgeneratePom=true > > then reconfigured the javadoc plugin to match the working example : > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > <configuration> > <aggregate>true</aggregate> > <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet> > <docletArtifact> > <groupId>gr.spinellis</groupId> > <artifactId>UmlGraph</artifactId> > <version>4.8</version> > </docletArtifact> > <additionalparam> > -inferrel -inferdep -quiet -hide java.* -collpackages java.util.* > -qualify -postfixpackage -nodefontsize 9 -nodefontpackagesize 7 > </additionalparam> > </configuration> > </plugin> > > I still am not getting any ".dot" generated. I noticed the following in > from > my "mvn -X javadoc:javadoc" output : > > [DEBUG] (f) docletArtifact = groupId = 'null' > artifactId = 'null' > version = 'null' > [DEBUG] (f) docletArtifacts = [] > > Does this mean maven-javadoc-plugin isn't recognizing the UmlGraphDoc > doclet? Or is that output normal? > > > > On Thu, Jul 9, 2009 at 7:50 AM, Paul Benedict <[email protected]> > wrote: > > > Here is a real working example: > > > > > > http://svn.apache.org/viewvc/tiles/framework/trunk/pom.xml?revision=790631&c > ontent-type=text%2Fplain<http://svn.apache.org/viewvc/tiles/framework/trunk/pom.xml?revision=790631&c%0Aontent-type=text%2Fplain> > > > > Paul > > > > On Thu, Jul 9, 2009 at 12:44 AM, Jeff Mutonho<[email protected]> > wrote: > > > Hi > > > > > > After reading the article on this DZone article - Reverse Engineer > Source > > > Code <http://java.dzone.com/articles/reverse-engineer-source-code-u> > > > I configured my pom as follows: > > > > > > <plugin> > > > <groupId>org.apache.maven.plugins</groupId> > > > <artifactId>maven-javadoc-plugin</artifactId> > > > <configuration> > > > <aggregate>true</aggregate> > > > <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> > > > <docletArtifact> > > > <groupId>org.umlgraph</groupId> > > > <artifactId>umlGraph</artifactId> > > > <version>5.0</version> > > > </docletArtifact> > > > <additionalparam> > > > -inferrel -inferdep -quiet -hide java.* -collpackages > > java.util.* > > > -qualify -postfixpackage -nodefontsize 9 -nodefontpackagesize 7 > > > </additionalparam> > > > <destDir>target/uml</destDir> > > > <show>private</show> > > > </configuration> > > > </plugin> > > > > > > I installed Graphviz and C:\Graphviz2.24\bin is in my PATH. However > when > > I > > > run mvn javadoc:javadoc or even better still mvn site:deploy , there > > aren't > > > any UML image files(i.e ".dot") files being generated. > > > Any clues on how I can get this to work? > > > > > > Thanx > > > > > > > > > > > > -- > > > > > > "Don't take the name of root in vain." > > > > > > Jeff Mutonho > > > Cape Town > > > South Africa > > > > > > GoogleTalk : ejbengine > > > Skype : ejbengine > > > Registered Linux user number 366042 > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > -- > > "Don't take the name of root in vain." > > Jeff Mutonho > Cape Town > South Africa > > GoogleTalk : ejbengine > Skype : ejbengine > Registered Linux user number 366042 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- "Don't take the name of root in vain." Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype : ejbengine Registered Linux user number 366042
