Mick,
are you sure you're not getting what you want?
AFAICT it makes no difference having the index and summary elements in
my pom. With or without them I get the project summary report.
I do see this:
[INFO] [site:site]
[WARNING] Error loading report org.apache.maven.changes.ChangesMojo -
AbstractMethodError: canGenerateReport()
[WARNING] Error loading report org.apache.maven.jira.JiraMojo -
AbstractMethodError: canGenerateReport()
[WARNING] Error loading report
org.apache.maven.plugin.taglist.TagListReport - AbstractMethodError:
canGenerateReport()
[WARNING] No URL defined for the project - decoration links will not be
resolved
[INFO] Skipped "About" report, file "index.html" already exists for the
English version.
Also my 'About' report is actually the site welcome page, index.html
which contains the text 'There is currently no description associated
with this project.'
Plus there is another page, 'project-info.html' which is a kind of
summary too.
I also get an index.html page in my submodules which contains is derived
from my site.xml files.
Rgds
Adam
Mick Knutson wrote:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>summary</report>
<report>dependencies</report>
<report>dependency-convergence</report>
<report>project-team</report>
<report>cim</report>
<report>mailing-list</report>
<!--<report>issue-tracking</report>-->
<!--<report>license</report>-->
<!--<report>scm</report>-->
</reports>
</reportSet>
</reportSets>
</plugin>
And still no index or summary....
[INFO] [site:site]
[WARNING] The file 'C:\opt\npi\common/src/main/javadoc' doesn't exists
or it
is not a directory.
[WARNING] The file 'C:\opt\npi\common/src/main/javadoc' doesn't exists
or it
is not a directory.
[WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport -
AbstractMethodError: canGenerateReport()
Downloading:
http://myfaces.zones.apache.org/dist/maven-repository/org/delta/npi/${default.project.version}/npi-${default.project.version}.pom
[WARNING] Unable to get resource from repository myfaces.staging (
http://myfaces.zones.apache.org/dist/maven-repository)
Downloading:
http://www.ibiblio.org/maven2/org/delta/npi/${default.project.version}/npi-${default.project.version}.pom
[WARNING] Unable to get resource from repository ibiblio (
http://www.ibiblio.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/delta/npi/${default.project.version}/npi-${default.project.version}.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
[INFO] Generate "Continuous Integration" report.
[INFO] Generate "Dependencies" report.
[INFO] Generate "Mailing Lists" report.
[INFO] Generate "Project Team" report.
[INFO] Generate "JDepend" report.
[INFO] Generate "Source Xref" report.
On 10/5/06, Sokolova, Galina <[EMAIL PROTECTED]> wrote:
Case sensitive:
<report>index</report>
<report>summary</report>
-----Original Message-----
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 3:27 PM
To: Maven Users List
Subject: Re: mvn site does NOT create index files for any of my
modules!!!!!!
Well, here is my plugin declaration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>Index</report>
<report>Summary</report>
<report>dependencies</report>
<report>dependency-convergence</report>
<report>project-team</report>
<report>cim</report>
<report>mailing-list</report>
<!--<report>issue-tracking</report>-->
<!--<report>license</report>-->
<!--<report>scm</report>-->
</reports>
</reportSet>
</reportSets>
</plugin>
And there is still no summary or index created, but there are some
warnings:
[INFO] [xdoclet:xdoclet {execution: default}]
[INFO] Initializing DocletTasks!!!
[INFO] Executing tasks
Oct 5, 2006 12:23:16 PM xdoclet.XDocletMain start
INFO: Running <hibernate/>
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [junitdoclet:junitdoclet {execution: default}]
Constructing Javadoc information...
Generating TestSuites and TestCases.
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] No tests to run.
[WARNING] While downloading ehcache:ehcache:1.2
This artifact has been relocated to net.sf.ehcache:ehcache:1.2.
[INFO] [site:site]
[WARNING] The file 'C:\opt\npi\common\services/src/main/javadoc' doesn't
exists or it is not a directory.
[WARNING] The file 'C:\opt\npi\common\services/src/main/javadoc' doesn't
exists or it is not a directory.
[WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport -
AbstractMethodError: canGenerateReport()
[INFO] Generate "Checkstyle" report.
[INFO] Generate "CPD Report" report.
[INFO] Generate "PMD Report" report.
[INFO] Generate "Continuous Integration" report.
[INFO] Generate "Dependencies" report.
[INFO] Generate "Mailing Lists" report.
[INFO] Generate "Project Team" report.
[INFO] Generate "Source Xref" report.
[INFO] Generate "Maven Surefire Report" report.
[INFO] Generate "Tag List" report.
[INFO]
[INFO]
On 10/5/06, Sokolova, Galina <[EMAIL PROTECTED]> wrote:
>
> Can't tell you why without seeing your poms, but in any way, you should
be
> able to enforce creating index by setting "<report>index</report>" in
the
> reports section like this:
>
> <reporting>
> <plugins>
> <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>cim</report>
> <report>mailing-list</report>
> <report>issue-tracking</report>
> <report>license</report>
> <report>scm</report>
> <report>index</report>
> <report>summary</report>
> </reports>
> </reportSet>
> </reportSets>
> </plugin>
>
> -----Original Message-----
> From: Mick Knutson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 05, 2006 12:29 PM
> To: maven
> Subject: Re: mvn site does NOT create index files for any of my
> modules!!!!!!
>
>
> I really need to fix this please. Can someone please help me understand
> how
> to resolve this?
>
>
> On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > I get all the other files and documents created EXCEPT the
> index.htmlfiles. This applies for all my modules.
> > Can someone please help me to understand why the index would be
omitted
> > from creation?
> >
> > --
> >
> > Thanks
> >
> > DJ MICK
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
>
>
>
>
> --
>
> Thanks
>
> DJ MICK
> http://www.djmick.com
> http://www.myspace.com/mickknutson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Thanks
DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson
---------------------------------------------------------------------
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]