You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Prasad Kashyap <go...@gmail.com> on 2006/02/22 21:16:31 UTC

Error generating site for plugin

I have a very simple pom with the reporting section set to

<reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
      </plugin>
    </plugins>
 </reporting>

I also generated the site using the site-archetype.

mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
-DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-site

Now when I run the mvn site goal, I get this error

[INFO] ---------------------------------
[INFO] Some files are duplicates in the site directory or in the
generated-site directory.
Review the following files for the "English" version:
index
        apt\index.apt
        xdoc\index.xml
[INFO] -------------------------------------------------------------------------


Can some please tell me how this should be fixed ?

Cheers
Prasad

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Error generating site for plugin

Posted by Brett Porter <br...@apache.org>.
This just means you got further.

A nulle pointer exception is a bug any way you look at it - normally you
should file it in JIRA. However, I think this was just fixed yesterday -
its because you have no mojos to document yet.

- Brett

Prasad Kashyap wrote:
> I had tried that. It throws a NPE.
> 
> [INFO] Generate "Plugin documentation" report.
> [INFO] ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] null
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> 	at org.apache.maven.tools.plugin.generator.PluginXdocGenerator.writeGoalParameterTable(PluginXdocGenerator.java:326)
> 	at org.apache.maven.tools.plugin.generator.PluginXdocGenerator.writeBody(PluginXdocGenerator.java:277)
> 	at org.apache.maven.tools.plugin.generator.PluginXdocGenerator.processMojoDescriptor(PluginXdocGenerator.java:59)
> 	at org.apache.maven.tools.plugin.generator.PluginXdocGenerator.execute(PluginXdocGenerator.java:47)
> 
> Cheers
> Prasad
> 
> 
> On 2/22/06, Emmanuel Venisse <em...@venisse.net> wrote:
>> Remove one of these txo index file
>>
>> Emmanuel
>>
>> Prasad Kashyap a écrit :
>>> I have a very simple pom with the reporting section set to
>>>
>>> <reporting>
>>>     <plugins>
>>>       <plugin>
>>>         <groupId>org.apache.maven.plugins</groupId>
>>>         <artifactId>maven-project-info-reports-plugin</artifactId>
>>>       </plugin>
>>>       <plugin>
>>>         <groupId>org.apache.maven.plugins</groupId>
>>>         <artifactId>maven-plugin-plugin</artifactId>
>>>       </plugin>
>>>     </plugins>
>>>  </reporting>
>>>
>>> I also generated the site using the site-archetype.
>>>
>>> mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
>>> -DarchetypeGroupId=org.apache.maven.archetypes
>>> -DarchetypeArtifactId=maven-archetype-site
>>>
>>> Now when I run the mvn site goal, I get this error
>>>
>>> [INFO] ---------------------------------
>>> [INFO] Some files are duplicates in the site directory or in the
>>> generated-site directory.
>>> Review the following files for the "English" version:
>>> index
>>>         apt\index.apt
>>>         xdoc\index.xml
>>> [INFO] -------------------------------------------------------------------------
>>>
>>>
>>> Can some please tell me how this should be fixed ?
>>>
>>> Cheers
>>> Prasad
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Error generating site for plugin

Posted by Prasad Kashyap <go...@gmail.com>.
I had tried that. It throws a NPE.

[INFO] Generate "Plugin documentation" report.
[INFO] ----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] null
[INFO] ----------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
	at org.apache.maven.tools.plugin.generator.PluginXdocGenerator.writeGoalParameterTable(PluginXdocGenerator.java:326)
	at org.apache.maven.tools.plugin.generator.PluginXdocGenerator.writeBody(PluginXdocGenerator.java:277)
	at org.apache.maven.tools.plugin.generator.PluginXdocGenerator.processMojoDescriptor(PluginXdocGenerator.java:59)
	at org.apache.maven.tools.plugin.generator.PluginXdocGenerator.execute(PluginXdocGenerator.java:47)

Cheers
Prasad


On 2/22/06, Emmanuel Venisse <em...@venisse.net> wrote:
> Remove one of these txo index file
>
> Emmanuel
>
> Prasad Kashyap a écrit :
> > I have a very simple pom with the reporting section set to
> >
> > <reporting>
> >     <plugins>
> >       <plugin>
> >         <groupId>org.apache.maven.plugins</groupId>
> >         <artifactId>maven-project-info-reports-plugin</artifactId>
> >       </plugin>
> >       <plugin>
> >         <groupId>org.apache.maven.plugins</groupId>
> >         <artifactId>maven-plugin-plugin</artifactId>
> >       </plugin>
> >     </plugins>
> >  </reporting>
> >
> > I also generated the site using the site-archetype.
> >
> > mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
> > -DarchetypeGroupId=org.apache.maven.archetypes
> > -DarchetypeArtifactId=maven-archetype-site
> >
> > Now when I run the mvn site goal, I get this error
> >
> > [INFO] ---------------------------------
> > [INFO] Some files are duplicates in the site directory or in the
> > generated-site directory.
> > Review the following files for the "English" version:
> > index
> >         apt\index.apt
> >         xdoc\index.xml
> > [INFO] -------------------------------------------------------------------------
> >
> >
> > Can some please tell me how this should be fixed ?
> >
> > Cheers
> > Prasad
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


Re: Error generating site for plugin

Posted by Emmanuel Venisse <em...@venisse.net>.
Remove one of these txo index file

Emmanuel

Prasad Kashyap a écrit :
> I have a very simple pom with the reporting section set to
> 
> <reporting>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-project-info-reports-plugin</artifactId>
>       </plugin>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-plugin-plugin</artifactId>
>       </plugin>
>     </plugins>
>  </reporting>
> 
> I also generated the site using the site-archetype.
> 
> mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
> -DarchetypeGroupId=org.apache.maven.archetypes
> -DarchetypeArtifactId=maven-archetype-site
> 
> Now when I run the mvn site goal, I get this error
> 
> [INFO] ---------------------------------
> [INFO] Some files are duplicates in the site directory or in the
> generated-site directory.
> Review the following files for the "English" version:
> index
>         apt\index.apt
>         xdoc\index.xml
> [INFO] -------------------------------------------------------------------------
> 
> 
> Can some please tell me how this should be fixed ?
> 
> Cheers
> Prasad
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org