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&content-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