You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Roberto UserList <rc...@gmail.com> on 2007/04/04 16:11:21 UTC
[M2] Problens generation class diagram using UmlGraph-4.7
Hi, all ! I've been facing the problem below when I try to generate class
diagram using UmlGraph 4.7.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error during page generation
Embedded error: Error rendering Maven report: Exit code: 1 - javadoc: error
- Cannot find doclet class gr.spinellis.umlgraph.doclet.UmlGraph
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error during page
generation
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
But i created the dependency for UmlGraph 4.7 in the main pom.xml of my
project. Check it out!
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>${group.id}</groupId>
<artifactId>siscargas</artifactId>
<name>Sistema Elo da Variglog (${versao.sis})</name>
<packaging>pom</packaging>
<version>${versao.sis}</version>
<dependencies>
<dependency>
<groupId>umlgraph</groupId>
<artifactId>UMLGraph</artifactId>
<version>4.7</version>
</dependency>
</dependencies>
.
.
.
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<reportSets>
<reportSet>
<id>uml</id>
<configuration>
<doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
<!--<docletPath>/bea/rmanager/.m2/repository/umlgraph/UMLGraph/4.7/UmlGraph.jar</docletPath>-->
<docletArtifact>
<groupId>umlgraph</groupId>
<artifactId>UMLGraph</artifactId>
<version>4.7</version>
</docletArtifact>
<additionalparam>-views</additionalparam>
<destDir>target/uml</destDir>
<show>private</show>
</configuration>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
<reportSet>
<id>html</id>
<configuration>
<show>private</show>
</configuration>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
Thanks in advance for the help.
Regards,
Roberto.
Re: [M2] Problens generation class diagram using UmlGraph-4.7
Posted by Antonio Petrelli <an...@gmail.com>.
2007/4/4, Roberto UserList <rc...@gmail.com>:
> <dependency>
> <groupId>umlgraph</groupId>
> <artifactId>UMLGraph</artifactId>
> <version>4.7</version>
> </dependency>
Wrong! Remove it!
> <docletArtifact>
> <groupId>umlgraph</groupId>
> <artifactId>UMLGraph</artifactId>
> <version>4.7</version>
> </docletArtifact>
Wrong! change it to:
<docletArtifact>
<groupId>gr.spinellis</groupId>
<artifactId>UMLGraph</artifactId>
<version>4.7</version>
</docletArtifact>
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Problens generation class diagram using UmlGraph-4.7
Posted by Roberto UserList <rc...@gmail.com>.
It is Antonio. Check it out!
-bash-3.00$ ls -l .m2/repository/umlgraph/UMLGraph/4.7/
total 2034
-rw-r--r-- 1 rmanager rmanager 1029084 Apr 4 10:55 UMLGraph-4.7.jar
-rw-r--r-- 1 rmanager rmanager 342 Apr 4 10:55 UMLGraph-4.7.pom
-bash-3.00$
Regards,
Roberto.
On 4/4/07, Antonio Petrelli <an...@gmail.com> wrote:
>
> 2007/4/4, Roberto UserList <rc...@gmail.com>:
> > Hi, all ! I've been facing the problem below when I try to generate
> class
> > diagram using UmlGraph 4.7.
>
> UmlGraph 4.7 is not deployed in the main repository.
> To upload it see:
> http://maven.apache.org/guides/mini/guide-ibiblio-upload.html
> And, for an example:
> http://jira.codehaus.org/browse/MAVENUPLOAD-1396
>
> Ciao
> Antonio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: [M2] Problens generation class diagram using UmlGraph-4.7
Posted by Antonio Petrelli <an...@gmail.com>.
2007/4/4, Roberto UserList <rc...@gmail.com>:
> Hi, all ! I've been facing the problem below when I try to generate class
> diagram using UmlGraph 4.7.
UmlGraph 4.7 is not deployed in the main repository.
To upload it see:
http://maven.apache.org/guides/mini/guide-ibiblio-upload.html
And, for an example:
http://jira.codehaus.org/browse/MAVENUPLOAD-1396
Ciao
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Problens generation class diagram using UmlGraph-4.7
Posted by Antonio Petrelli <an...@gmail.com>.
2007/4/4, Roberto UserList <rc...@gmail.com>:
> <doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
This is the correct doclet class name:
gr.spinellis.umlgraph.doclet.UmlGraphDoc
And anyway UmlGraph 4.7 is deployed in your local repository, not in
the main one.
HTH
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Problens generation class diagram using UmlGraph-4.7
Posted by Roberto UserList <rc...@gmail.com>.
Hi, Jeff and Antonio! It doesn't make sense for me change the groupid from
"umlgraph" to "gr.spinellis". It depends how you've intalled the plugin,
but, I did what you've suggested and the result was the same.
Check my entire main pom.xml.
Thanks a log for the help.
Regards,
Roberto.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>${group.id}</groupId>
<artifactId>siscargas</artifactId>
<name>Sistema Elo da Variglog (${versao.sis})</name>
<packaging>pom</packaging>
<version>${versao.sis}</version>
<description>Projeto do Sistema Elo da Variglog (${versao.sis
})</description>
<!--<dependencies>
<dependency>
<groupId>umlgraph</groupId>
<artifactId>UMLGraph</artifactId>
<version>4.7</version>
</dependency>
</dependencies>-->
<!-- Repository Conventions -->
<!--
<pluginRepositories>
<pluginRepository>
<id>vlogMavenRepoRemoto</id>
<name>Repositorio de plugins Remoto do Maven da
Variglog</name>
<url>http://10.121.2.30/repos/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
-->
<developers>
<developer>
<name>Luiz Claudio Malanquini</name>
<id>lcmalanquini</id>
<email>luiz.malanquini.delhi@variglog.com</email>
<organization>Variglog</organization>
<roles>
<role>Development</role>
</roles>
<timezone>-3</timezone>
</developer>
<developer>
<name>Igor Couto</name>
<id>icouto</id>
<email>igor.couto.delhi@variglog.com</email>
<organization>Variglog</organization>
<roles>
<role>Analista</role>
</roles>
<timezone>-3</timezone>
</developer>
<developer>
<name>Bruno Miller</name>
<id>bmiller</id>
<email>bruno.miller.delhi@variglog.com</email>
<organization>Variglog</organization>
<roles>
<role>Analista</role>
</roles>
<timezone>-3</timezone>
</developer>
</developers>
<organization>
<name>Varig Logistica S/A</name>
<url>http://www.variglog.com/</url>
</organization>
<modules>
<module>Biblioteca</module>
<!--module>BibliotecaUtil</module>
<module>Model_lib</module>
<module>Model_proj</module>
<module>ViewController</module>
<module>ear</module-->
</modules>
<distributionManagement>
<repository>
<id>vlogMavenRepoRemoto</id>
<name>Repositorio Remoto da Variglog</name>
<url>scp://localhost/bea/rmanager/build/maven2</url>
</repository>
<site>
<id>vlogApacheDir</id>
<name>elo</name>
<url>scp://10.121.138.11/vol1/rmanager/html</url>
<!--url>file://vol1/maven2/site</url-->
</site>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>pt_BR</locales>
<!--locales>en,fr</locales-->
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<reportSets>
<reportSet>
<id>uml</id>
<configuration>
<doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc
</doclet>
<!--<docletPath>/bea/rmanager/.m2/repository/umlgraph/UMLGraph/4.7/UmlGraph.jar</docletPath>-->
<docletArtifact>
<groupId>gr.spinellis</groupId>
<artifactId>UMLGraph</artifactId>
<version>4.7</version>
</docletArtifact>
<additionalparam>-views</additionalparam>
<destDir>target/uml</destDir>
<show>private</show>
</configuration>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
<reportSet>
<id>html</id>
<configuration>
<show>private</show>
</configuration>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<aggregate>true</aggregate>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
<link>http://java.sun.com/javaee/5/docs/api</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
<linkJavadoc>true</linkJavadoc>
<javadocDir>reports/apidocs</javadocDir>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>dependencies</report>
<report>dependency-convergence</report>
<report>project-team</report>
<report>index</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>
On 4/4/07, Jeff Jensen <jj...@apache.org> wrote:
>
> The differences between yours and mine are:
> group id is "gr.spinellis"
> artifact id is "UmlGraph"
> version is 4.6
>
> While I use Maven 1 and you 2, I am unsure of the effect of
> capitalization.
> Additionally, I know 4.6 and that group id works, perhaps you should try
> making
> that work first.
>
>
> Quoting Roberto UserList <rc...@gmail.com>:
>
> > Hi, Jeff!
> > I've change the main pom.xml, but, it is not working yet.
> > Check it out!
> > Regards,
> > Roberto.
> >
> > <reportSet>
> > <id>uml</id>
> > <configuration>
> > <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc
> > </doclet>
> > <docletArtifact>
> > <groupId>umlgraph</groupId>
> > <artifactId>UMLGraph</artifactId>
> > <version>4.7</version>
> > </docletArtifact>
> > <additionalparam>-views</additionalparam>
> > <destDir>target/uml</destDir>
> > <show>private</show>
> > </configuration>
> > <reports>
> > <report>javadoc</report>
> > </reports>
> > </reportSet>
> >
> >
> > Check the error:
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error during page generation
> >
> > Embedded error: Error rendering Maven report: Exit code: 1 - javadoc:
> error
> > - Cannot find doclet class gr.spinellis.umlgraph.doclet.UmlGraphDoc
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [DEBUG] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: Error during
> page
> > generation
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > DefaultLifecycleExecutor.java:559)
> >
> >
> > On 4/4/07, Jeff Jensen <jj...@apache.org> wrote:
> > >
> > > Silly me - I had just seen the real cause when I did not want to hit
> send.
> > >
> > > The issue is the doclet name you have specified - it is UmlGraphDoc,
> not
> > > UmlGraph. So change to:
> > > <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
> > >
> > >
> > >
> > > Quoting Jeff Jensen <jj...@apache.org>:
> > >
> > > > The issue is that the doclet path param is a local path. This is a
> very
> > > > regretful thing...
> > > > In my testing, even if you guarantee you have UMLGraph jar on the
> > > classpath,
> > > > the
> > > > doclet is not found.
> > > >
> > > > The only solution I have found is to specify a fully-qualified path
> to
> > > the
> > > > UMLGraph jar.
> > > >
> > > > In Maven 1, this is the syntax:
> > > >
> > > >
> > >
> > >
> >
>
> maven.javadoc.docletpath=${maven.repo.local}/gr.spinellis/jars/UmlGraph-4.6.jar
> > > >
> > > > I am not sure of the syntax for Maven 2 to the repo like
> that. Please
> > > share
> > > > when you determine what it is.
> > > >
> > > > I have recently documented this in the Maven 1 Javadoc FAQ, but I
> have
> > > not
> > > > yet
> > > > published the site. You can read it in the source if necessary.
> > > >
> > > >
> > > > Quoting Roberto UserList <rc...@gmail.com>:
> > > >
> > > > > Hi, all ! I've been facing the problem below when I try to
> generate
> > > class
> > > > > diagram using UmlGraph 4.7.
> > > > >
> > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > [ERROR] BUILD ERROR
> > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > [INFO] Error during page generation
> > > > >
> > > > > Embedded error: Error rendering Maven report: Exit code: 1 -
> javadoc:
> > > error
> > > > > - Cannot find doclet class gr.spinellis.umlgraph.doclet.UmlGraph
> > > > >
> > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > [DEBUG] Trace
> > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Error
> during
> > > page
> > > > > generation
> > > > > at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > > DefaultLifecycleExecutor.java:559)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > > (DefaultLifecycleExecutor.java:475)
> > > > > at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > > DefaultLifecycleExecutor.java:454)
> > > > > at
> > > > >
> > > >
> > >
> > >
> >
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > > (DefaultLifecycleExecutor.java:306)
> > > > > But i created the dependency for UmlGraph 4.7 in the main pom.xmlof
> > > my
> > > > > project. Check it out!
> > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > <project xmlns="http://maven.apache.org/POM/4.0.0"
> > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > > > http://maven.apache.org/maven-v4_0_0.xsd">
> > > > > <modelVersion>4.0.0</modelVersion>
> > > > > <groupId>${group.id}</groupId>
> > > > > <artifactId>siscargas</artifactId>
> > > > > <name>Sistema Elo da Variglog (${versao.sis})</name>
> > > > > <packaging>pom</packaging>
> > > > > <version>${versao.sis}</version>
> > > > > <dependencies>
> > > > > <dependency>
> > > > > <groupId>umlgraph</groupId>
> > > > > <artifactId>UMLGraph</artifactId>
> > > > > <version>4.7</version>
> > > > > </dependency>
> > > > > </dependencies>
> > > > > .
> > > > > .
> > > > > .
> > > > > <reporting>
> > > > > <plugins>
> > > > > <plugin>
> > > > > <groupId>org.apache.maven.plugins</groupId>
> > > > > <artifactId>maven-javadoc-plugin</artifactId>
> > > > > <reportSets>
> > > > > <reportSet>
> > > > > <id>uml</id>
> > > > > <configuration>
> > > > >
> > > > <doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
> <!--<docletPath>/bea/rmanager/.m2/repository/umlgraph/UMLGraph/4.7/UmlGraph.jar</docletPath>-->
> > > > > <docletArtifact>
> > > > > <groupId>umlgraph</groupId>
> > > > > <artifactId>UMLGraph</artifactId>
> > > > > <version>4.7</version>
> > > > > </docletArtifact>
> > > > > <additionalparam>-views</additionalparam>
> > > > > <destDir>target/uml</destDir>
> > > > > <show>private</show>
> > > > > </configuration>
> > > > > <reports>
> > > > > <report>javadoc</report>
> > > > > </reports>
> > > > > </reportSet>
> > > > > <reportSet>
> > > > > <id>html</id>
> > > > > <configuration>
> > > > > <show>private</show>
> > > > > </configuration>
> > > > > <reports>
> > > > > <report>javadoc</report>
> > > > > </reports>
> > > > > </reportSet>
> > > > > </reportSets>
> > > > > Thanks in advance for the help.
> > > > > Regards,
> > > > > Roberto.
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Lost CSS/header? (was: Re: [M2] Problens generation class diagram using UmlGraph-4.7)
Posted by Jeff Jensen <jj...@apache.org>.
Sorry, can't help you further on the CSS. Perhaps someone else knows about
that...
Quoting Manos Batsis <ma...@geekologue.com>:
>
> Just made it work as well with the POM fragment below. However, my
> stylesheetfile and header are now ignored, any ideas?
>
>
>
> <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
> <docletArtifact>
> <groupId>gr.spinellis</groupId>
> <artifactId>UmlGraph</artifactId>
> <version>4.6</version>
> </docletArtifact>
> <additionalparam>
> -inferrel -inferdep -quiet -hide java.*
> -collpackages java.util.* -qualify
> -postfixpackage -nodefontsize 9
> -nodefontpackagesize 7
> </additionalparam>
> <links>
> <link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
> </links>
> <stylesheetfile>${basedir}/src/site/css/javadoc.css</stylesheetfile>
> <header><![CDATA[<img class="logo" src="../images/banner-logo-dev.gif"
> />]]></header>
> <linksource>true</linksource>
>
>
> Thanks,
>
> Manos
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Lost CSS/header? (was: Re: [M2] Problens generation class diagram
using UmlGraph-4.7)
Posted by Manos Batsis <ma...@geekologue.com>.
Just made it work as well with the POM fragment below. However, my
stylesheetfile and header are now ignored, any ideas?
<doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
<docletArtifact>
<groupId>gr.spinellis</groupId>
<artifactId>UmlGraph</artifactId>
<version>4.6</version>
</docletArtifact>
<additionalparam>
-inferrel -inferdep -quiet -hide java.*
-collpackages java.util.* -qualify
-postfixpackage -nodefontsize 9
-nodefontpackagesize 7
</additionalparam>
<links>
<link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
</links>
<stylesheetfile>${basedir}/src/site/css/javadoc.css</stylesheetfile>
<header><![CDATA[<img class="logo" src="../images/banner-logo-dev.gif"
/>]]></header>
<linksource>true</linksource>
Thanks,
Manos
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Problens generation class diagram using UmlGraph-4.7
Posted by Jeff Jensen <jj...@apache.org>.
The differences between yours and mine are:
group id is "gr.spinellis"
artifact id is "UmlGraph"
version is 4.6
While I use Maven 1 and you 2, I am unsure of the effect of capitalization.
Additionally, I know 4.6 and that group id works, perhaps you should try making
that work first.
Quoting Roberto UserList <rc...@gmail.com>:
> Hi, Jeff!
> I've change the main pom.xml, but, it is not working yet.
> Check it out!
> Regards,
> Roberto.
>
> <reportSet>
> <id>uml</id>
> <configuration>
> <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc
> </doclet>
> <docletArtifact>
> <groupId>umlgraph</groupId>
> <artifactId>UMLGraph</artifactId>
> <version>4.7</version>
> </docletArtifact>
> <additionalparam>-views</additionalparam>
> <destDir>target/uml</destDir>
> <show>private</show>
> </configuration>
> <reports>
> <report>javadoc</report>
> </reports>
> </reportSet>
>
>
> Check the error:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error during page generation
>
> Embedded error: Error rendering Maven report: Exit code: 1 - javadoc: error
> - Cannot find doclet class gr.spinellis.umlgraph.doclet.UmlGraphDoc
>
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error during page
> generation
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:559)
>
>
> On 4/4/07, Jeff Jensen <jj...@apache.org> wrote:
> >
> > Silly me - I had just seen the real cause when I did not want to hit send.
> >
> > The issue is the doclet name you have specified - it is UmlGraphDoc, not
> > UmlGraph. So change to:
> > <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
> >
> >
> >
> > Quoting Jeff Jensen <jj...@apache.org>:
> >
> > > The issue is that the doclet path param is a local path. This is a very
> > > regretful thing...
> > > In my testing, even if you guarantee you have UMLGraph jar on the
> > classpath,
> > > the
> > > doclet is not found.
> > >
> > > The only solution I have found is to specify a fully-qualified path to
> > the
> > > UMLGraph jar.
> > >
> > > In Maven 1, this is the syntax:
> > >
> > >
> >
> >
>
maven.javadoc.docletpath=${maven.repo.local}/gr.spinellis/jars/UmlGraph-4.6.jar
> > >
> > > I am not sure of the syntax for Maven 2 to the repo like that. Please
> > share
> > > when you determine what it is.
> > >
> > > I have recently documented this in the Maven 1 Javadoc FAQ, but I have
> > not
> > > yet
> > > published the site. You can read it in the source if necessary.
> > >
> > >
> > > Quoting Roberto UserList <rc...@gmail.com>:
> > >
> > > > Hi, all ! I've been facing the problem below when I try to generate
> > class
> > > > diagram using UmlGraph 4.7.
> > > >
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] Error during page generation
> > > >
> > > > Embedded error: Error rendering Maven report: Exit code: 1 - javadoc:
> > error
> > > > - Cannot find doclet class gr.spinellis.umlgraph.doclet.UmlGraph
> > > >
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [DEBUG] Trace
> > > > org.apache.maven.lifecycle.LifecycleExecutionException: Error during
> > page
> > > > generation
> > > > at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > DefaultLifecycleExecutor.java:559)
> > > > at
> > > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > (DefaultLifecycleExecutor.java:475)
> > > > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > DefaultLifecycleExecutor.java:454)
> > > > at
> > > >
> > >
> >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > (DefaultLifecycleExecutor.java:306)
> > > > But i created the dependency for UmlGraph 4.7 in the main pom.xml of
> > my
> > > > project. Check it out!
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <project xmlns="http://maven.apache.org/POM/4.0.0"
> > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > > http://maven.apache.org/maven-v4_0_0.xsd">
> > > > <modelVersion>4.0.0</modelVersion>
> > > > <groupId>${group.id}</groupId>
> > > > <artifactId>siscargas</artifactId>
> > > > <name>Sistema Elo da Variglog (${versao.sis})</name>
> > > > <packaging>pom</packaging>
> > > > <version>${versao.sis}</version>
> > > > <dependencies>
> > > > <dependency>
> > > > <groupId>umlgraph</groupId>
> > > > <artifactId>UMLGraph</artifactId>
> > > > <version>4.7</version>
> > > > </dependency>
> > > > </dependencies>
> > > > .
> > > > .
> > > > .
> > > > <reporting>
> > > > <plugins>
> > > > <plugin>
> > > > <groupId>org.apache.maven.plugins</groupId>
> > > > <artifactId>maven-javadoc-plugin</artifactId>
> > > > <reportSets>
> > > > <reportSet>
> > > > <id>uml</id>
> > > > <configuration>
> > > >
> > > <doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
> > > >
> > > >
> > >
> >
> >
>
<!--<docletPath>/bea/rmanager/.m2/repository/umlgraph/UMLGraph/4.7/UmlGraph.jar</docletPath>-->
> > > > <docletArtifact>
> > > > <groupId>umlgraph</groupId>
> > > > <artifactId>UMLGraph</artifactId>
> > > > <version>4.7</version>
> > > > </docletArtifact>
> > > > <additionalparam>-views</additionalparam>
> > > > <destDir>target/uml</destDir>
> > > > <show>private</show>
> > > > </configuration>
> > > > <reports>
> > > > <report>javadoc</report>
> > > > </reports>
> > > > </reportSet>
> > > > <reportSet>
> > > > <id>html</id>
> > > > <configuration>
> > > > <show>private</show>
> > > > </configuration>
> > > > <reports>
> > > > <report>javadoc</report>
> > > > </reports>
> > > > </reportSet>
> > > > </reportSets>
> > > > Thanks in advance for the help.
> > > > Regards,
> > > > Roberto.
> > > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Problens generation class diagram using UmlGraph-4.7
Posted by Roberto UserList <rc...@gmail.com>.
Hi, Jeff!
I've change the main pom.xml, but, it is not working yet.
Check it out!
Regards,
Roberto.
<reportSet>
<id>uml</id>
<configuration>
<doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc
</doclet>
<docletArtifact>
<groupId>umlgraph</groupId>
<artifactId>UMLGraph</artifactId>
<version>4.7</version>
</docletArtifact>
<additionalparam>-views</additionalparam>
<destDir>target/uml</destDir>
<show>private</show>
</configuration>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
Check the error:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error during page generation
Embedded error: Error rendering Maven report: Exit code: 1 - javadoc: error
- Cannot find doclet class gr.spinellis.umlgraph.doclet.UmlGraphDoc
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error during page
generation
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:559)
On 4/4/07, Jeff Jensen <jj...@apache.org> wrote:
>
> Silly me - I had just seen the real cause when I did not want to hit send.
>
> The issue is the doclet name you have specified - it is UmlGraphDoc, not
> UmlGraph. So change to:
> <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
>
>
>
> Quoting Jeff Jensen <jj...@apache.org>:
>
> > The issue is that the doclet path param is a local path. This is a very
> > regretful thing...
> > In my testing, even if you guarantee you have UMLGraph jar on the
> classpath,
> > the
> > doclet is not found.
> >
> > The only solution I have found is to specify a fully-qualified path to
> the
> > UMLGraph jar.
> >
> > In Maven 1, this is the syntax:
> >
> >
>
> maven.javadoc.docletpath=${maven.repo.local}/gr.spinellis/jars/UmlGraph-4.6.jar
> >
> > I am not sure of the syntax for Maven 2 to the repo like that. Please
> share
> > when you determine what it is.
> >
> > I have recently documented this in the Maven 1 Javadoc FAQ, but I have
> not
> > yet
> > published the site. You can read it in the source if necessary.
> >
> >
> > Quoting Roberto UserList <rc...@gmail.com>:
> >
> > > Hi, all ! I've been facing the problem below when I try to generate
> class
> > > diagram using UmlGraph 4.7.
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Error during page generation
> > >
> > > Embedded error: Error rendering Maven report: Exit code: 1 - javadoc:
> error
> > > - Cannot find doclet class gr.spinellis.umlgraph.doclet.UmlGraph
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [DEBUG] Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Error during
> page
> > > generation
> > > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java:559)
> > > at
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > (DefaultLifecycleExecutor.java:475)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > DefaultLifecycleExecutor.java:454)
> > > at
> > >
> >
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > (DefaultLifecycleExecutor.java:306)
> > > But i created the dependency for UmlGraph 4.7 in the main pom.xml of
> my
> > > project. Check it out!
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <project xmlns="http://maven.apache.org/POM/4.0.0"
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > http://maven.apache.org/maven-v4_0_0.xsd">
> > > <modelVersion>4.0.0</modelVersion>
> > > <groupId>${group.id}</groupId>
> > > <artifactId>siscargas</artifactId>
> > > <name>Sistema Elo da Variglog (${versao.sis})</name>
> > > <packaging>pom</packaging>
> > > <version>${versao.sis}</version>
> > > <dependencies>
> > > <dependency>
> > > <groupId>umlgraph</groupId>
> > > <artifactId>UMLGraph</artifactId>
> > > <version>4.7</version>
> > > </dependency>
> > > </dependencies>
> > > .
> > > .
> > > .
> > > <reporting>
> > > <plugins>
> > > <plugin>
> > > <groupId>org.apache.maven.plugins</groupId>
> > > <artifactId>maven-javadoc-plugin</artifactId>
> > > <reportSets>
> > > <reportSet>
> > > <id>uml</id>
> > > <configuration>
> > >
> > <doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
> > >
> > >
> >
>
> <!--<docletPath>/bea/rmanager/.m2/repository/umlgraph/UMLGraph/4.7/UmlGraph.jar</docletPath>-->
> > > <docletArtifact>
> > > <groupId>umlgraph</groupId>
> > > <artifactId>UMLGraph</artifactId>
> > > <version>4.7</version>
> > > </docletArtifact>
> > > <additionalparam>-views</additionalparam>
> > > <destDir>target/uml</destDir>
> > > <show>private</show>
> > > </configuration>
> > > <reports>
> > > <report>javadoc</report>
> > > </reports>
> > > </reportSet>
> > > <reportSet>
> > > <id>html</id>
> > > <configuration>
> > > <show>private</show>
> > > </configuration>
> > > <reports>
> > > <report>javadoc</report>
> > > </reports>
> > > </reportSet>
> > > </reportSets>
> > > Thanks in advance for the help.
> > > Regards,
> > > Roberto.
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: [M2] Problens generation class diagram using UmlGraph-4.7
Posted by Jeff Jensen <jj...@apache.org>.
Silly me - I had just seen the real cause when I did not want to hit send.
The issue is the doclet name you have specified - it is UmlGraphDoc, not
UmlGraph. So change to:
<doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
Quoting Jeff Jensen <jj...@apache.org>:
> The issue is that the doclet path param is a local path. This is a very
> regretful thing...
> In my testing, even if you guarantee you have UMLGraph jar on the classpath,
> the
> doclet is not found.
>
> The only solution I have found is to specify a fully-qualified path to the
> UMLGraph jar.
>
> In Maven 1, this is the syntax:
>
>
maven.javadoc.docletpath=${maven.repo.local}/gr.spinellis/jars/UmlGraph-4.6.jar
>
> I am not sure of the syntax for Maven 2 to the repo like that. Please share
> when you determine what it is.
>
> I have recently documented this in the Maven 1 Javadoc FAQ, but I have not
> yet
> published the site. You can read it in the source if necessary.
>
>
> Quoting Roberto UserList <rc...@gmail.com>:
>
> > Hi, all ! I've been facing the problem below when I try to generate class
> > diagram using UmlGraph 4.7.
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error during page generation
> >
> > Embedded error: Error rendering Maven report: Exit code: 1 - javadoc: error
> > - Cannot find doclet class gr.spinellis.umlgraph.doclet.UmlGraph
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [DEBUG] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: Error during page
> > generation
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > DefaultLifecycleExecutor.java:559)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > (DefaultLifecycleExecutor.java:475)
> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > DefaultLifecycleExecutor.java:454)
> > at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > (DefaultLifecycleExecutor.java:306)
> > But i created the dependency for UmlGraph 4.7 in the main pom.xml of my
> > project. Check it out!
> > <?xml version="1.0" encoding="UTF-8"?>
> > <project xmlns="http://maven.apache.org/POM/4.0.0"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > http://maven.apache.org/maven-v4_0_0.xsd">
> > <modelVersion>4.0.0</modelVersion>
> > <groupId>${group.id}</groupId>
> > <artifactId>siscargas</artifactId>
> > <name>Sistema Elo da Variglog (${versao.sis})</name>
> > <packaging>pom</packaging>
> > <version>${versao.sis}</version>
> > <dependencies>
> > <dependency>
> > <groupId>umlgraph</groupId>
> > <artifactId>UMLGraph</artifactId>
> > <version>4.7</version>
> > </dependency>
> > </dependencies>
> > .
> > .
> > .
> > <reporting>
> > <plugins>
> > <plugin>
> > <groupId>org.apache.maven.plugins</groupId>
> > <artifactId>maven-javadoc-plugin</artifactId>
> > <reportSets>
> > <reportSet>
> > <id>uml</id>
> > <configuration>
> >
> <doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
> >
> >
>
<!--<docletPath>/bea/rmanager/.m2/repository/umlgraph/UMLGraph/4.7/UmlGraph.jar</docletPath>-->
> > <docletArtifact>
> > <groupId>umlgraph</groupId>
> > <artifactId>UMLGraph</artifactId>
> > <version>4.7</version>
> > </docletArtifact>
> > <additionalparam>-views</additionalparam>
> > <destDir>target/uml</destDir>
> > <show>private</show>
> > </configuration>
> > <reports>
> > <report>javadoc</report>
> > </reports>
> > </reportSet>
> > <reportSet>
> > <id>html</id>
> > <configuration>
> > <show>private</show>
> > </configuration>
> > <reports>
> > <report>javadoc</report>
> > </reports>
> > </reportSet>
> > </reportSets>
> > Thanks in advance for the help.
> > Regards,
> > Roberto.
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Problens generation class diagram using UmlGraph-4.7
Posted by Jeff Jensen <jj...@apache.org>.
The issue is that the doclet path param is a local path. This is a very
regretful thing...
In my testing, even if you guarantee you have UMLGraph jar on the classpath, the
doclet is not found.
The only solution I have found is to specify a fully-qualified path to the
UMLGraph jar.
In Maven 1, this is the syntax:
maven.javadoc.docletpath=${maven.repo.local}/gr.spinellis/jars/UmlGraph-4.6.jar
I am not sure of the syntax for Maven 2 to the repo like that. Please share
when you determine what it is.
I have recently documented this in the Maven 1 Javadoc FAQ, but I have not yet
published the site. You can read it in the source if necessary.
Quoting Roberto UserList <rc...@gmail.com>:
> Hi, all ! I've been facing the problem below when I try to generate class
> diagram using UmlGraph 4.7.
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error during page generation
>
> Embedded error: Error rendering Maven report: Exit code: 1 - javadoc: error
> - Cannot find doclet class gr.spinellis.umlgraph.doclet.UmlGraph
>
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error during page
> generation
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:559)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:475)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:454)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:306)
> But i created the dependency for UmlGraph 4.7 in the main pom.xml of my
> project. Check it out!
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>${group.id}</groupId>
> <artifactId>siscargas</artifactId>
> <name>Sistema Elo da Variglog (${versao.sis})</name>
> <packaging>pom</packaging>
> <version>${versao.sis}</version>
> <dependencies>
> <dependency>
> <groupId>umlgraph</groupId>
> <artifactId>UMLGraph</artifactId>
> <version>4.7</version>
> </dependency>
> </dependencies>
> .
> .
> .
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <reportSets>
> <reportSet>
> <id>uml</id>
> <configuration>
> <doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
>
>
<!--<docletPath>/bea/rmanager/.m2/repository/umlgraph/UMLGraph/4.7/UmlGraph.jar</docletPath>-->
> <docletArtifact>
> <groupId>umlgraph</groupId>
> <artifactId>UMLGraph</artifactId>
> <version>4.7</version>
> </docletArtifact>
> <additionalparam>-views</additionalparam>
> <destDir>target/uml</destDir>
> <show>private</show>
> </configuration>
> <reports>
> <report>javadoc</report>
> </reports>
> </reportSet>
> <reportSet>
> <id>html</id>
> <configuration>
> <show>private</show>
> </configuration>
> <reports>
> <report>javadoc</report>
> </reports>
> </reportSet>
> </reportSets>
> Thanks in advance for the help.
> Regards,
> Roberto.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org