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>[EMAIL PROTECTED]</email>
                       <organization>Variglog</organization>
                       <roles>
                               <role>Development</role>
                       </roles>
                       <timezone>-3</timezone>
               </developer>
               <developer>
                       <name>Igor Couto</name>
                       <id>icouto</id>
                       <email>[EMAIL PROTECTED]</email>
                       <organization>Variglog</organization>
                       <roles>
                               <role>Analista</role>
                       </roles>
                       <timezone>-3</timezone>
               </developer>
               <developer>
                       <name>Bruno Miller</name>
                       <id>bmiller</id>
                       <email>[EMAIL PROTECTED]</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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>:

> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>:
> >
> > > 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 <[EMAIL PROTECTED]>:
> > >
> > > > 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: [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]


Reply via email to