32 Commits

Author SHA1 Message Date
bwalding
298248bd4c Developers must have entered their timezone to make this work
PR:MAVEN-387


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113324 13f79535-47bb-0310-9956-ffa450edef68
2003-04-12 02:37:34 +00:00
bwalding
1c70545373 Add head handling and copy attributes from xdoc body to html body
PR:MAVEN-387


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113322 13f79535-47bb-0310-9956-ffa450edef68
2003-04-12 01:56:01 +00:00
bwalding
5f2bfa3544 Add the timezone field
PR:MAVEN-387


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113321 13f79535-47bb-0310-9956-ffa450edef68
2003-04-12 01:55:30 +00:00
abarantsev
7c5a905da2 Pure jelly reimplementation of Project Info templates
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113315 13f79535-47bb-0310-9956-ffa450edef68
2003-04-10 10:51:44 +00:00
jvanzyl
58f313f82f o Rolling back a change that is preventing the content of a <source/>
element from being rendered. You get an empty box currently. There also
  seems to be a problem with '<' and '>'. General entity problem?


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113300 13f79535-47bb-0310-9956-ffa450edef68
2003-04-08 22:37:45 +00:00
bwalding
ee9478d58f Updating propaganda logos - Thanks Stephane!
PR: MAVEN-364


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113288 13f79535-47bb-0310-9956-ffa450edef68
2003-04-08 21:06:52 +00:00
bwalding
0d77487732 Updatingin propaganda logos - Thanks Stephane!
PR: MAVEN-364


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113287 13f79535-47bb-0310-9956-ffa450edef68
2003-04-08 21:06:34 +00:00
bwalding
62f5c157a5 Applied concept of project.css as listed in bug system.
PR: MAVEN-370
Submitted by:	Jose Gonzale Gomez


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113262 13f79535-47bb-0310-9956-ffa450edef68
2003-04-05 11:23:05 +00:00
bwalding
34d3f2b082 Add the powered by logo
PR: MAVEN-364


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113252 13f79535-47bb-0310-9956-ffa450edef68
2003-04-02 12:29:24 +00:00
bwalding
c33a72d75d Current logos
PR: MAVEN-364


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113247 13f79535-47bb-0310-9956-ffa450edef68
2003-04-02 11:50:01 +00:00
abarantsev
cab181e7d5 Allow using tags inside <source> (e.g. to colorize source code)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113238 13f79535-47bb-0310-9956-ffa450edef68
2003-03-31 06:19:01 +00:00
dion
e504d877b5 detab
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113231 13f79535-47bb-0310-9956-ffa450edef68
2003-03-30 22:59:57 +00:00
dion
4fc09ebeb4 allow use of &lt; and &gt; in name attribute of navigation.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113218 13f79535-47bb-0310-9956-ffa450edef68
2003-03-29 12:30:06 +00:00
dion
92efd14434 Add section about cvsgrab
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113199 13f79535-47bb-0310-9956-ffa450edef68
2003-03-26 20:45:14 +00:00
dion
80e3738620 jakarta.apache.org/turbine/maven -> maven.apache.org/
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113145 13f79535-47bb-0310-9956-ffa450edef68
2003-03-19 06:01:19 +00:00
dion
c1f8e6ea06 jakarta.apache.org/turbine/maven -> maven.apache.org/
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113144 13f79535-47bb-0310-9956-ffa450edef68
2003-03-19 05:54:20 +00:00
bwalding
c1a85aecdd o Add ability to use images in navigation bar
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113124 13f79535-47bb-0310-9956-ffa450edef68
2003-03-15 01:19:00 +00:00
bwalding
859bff9c13 o No longer fails with getText error if you don't have repo defined
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113093 13f79535-47bb-0310-9956-ffa450edef68
2003-03-10 14:14:08 +00:00
bwalding
e71545502d o MAVEN-283: Fix extraneous whitespace problems
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113053 13f79535-47bb-0310-9956-ffa450edef68
2003-03-06 10:42:26 +00:00
bwalding
dff505dcbf o Applied patch from Adam Murdoch (email title : "[patch] Fix maven.xdoc.date")
o Made slight mods to fix navigation-top not displaying
o Made inline css mods to make bottom-right actually display at bottom right


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112996 13f79535-47bb-0310-9956-ffa450edef68
2003-02-25 08:06:34 +00:00
bwalding
c6dc70ab19 o Consolidate reporting model
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112978 13f79535-47bb-0310-9956-ffa450edef68
2003-02-23 15:57:38 +00:00
kschrader
293ea5e04e Stephen McConnell <mcconnell@apache.org> writes:
The following patch corrects a number of bugs in the maven-report.xml.
The bugs include not checking for the existance of the tasks.xml and
changes.xml which results in links being added to the report summary
page that don't refer to anything.
Cheers, Steve.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112965 13f79535-47bb-0310-9956-ffa450edef68
2003-02-21 16:08:33 +00:00
kaz
c62c5c2576 Fixing mvdb's patch to make it actually work ;-)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112963 13f79535-47bb-0310-9956-ffa450edef68
2003-02-20 22:28:36 +00:00
kaz
96e68fd82d Applying patch from Martin van den Bemt <mllist@mvdb.net>. Adds a new
optionally footer section and corrects the copyright symbol.  Thanks
Martin.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112962 13f79535-47bb-0310-9956-ffa450edef68
2003-02-20 22:04:03 +00:00
jvanzyl
5b756361ae o fixing report name. Thanks to steve mconnell.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112961 13f79535-47bb-0310-9956-ffa450edef68
2003-02-20 20:10:23 +00:00
bwalding
4863f893d5 o MAVEN-282: <location> requirement removed. Now calculates at start of site.jsl
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112951 13f79535-47bb-0310-9956-ffa450edef68
2003-02-18 10:59:37 +00:00
bwalding
e1e560c2da o MAVEN-276: Initial checkin. Product is functional, but not optimised for simplicity / performance
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112940 13f79535-47bb-0310-9956-ffa450edef68
2003-02-16 23:05:23 +00:00
bwalding
26f339b125 MAVEN-248: Added xref-test to navigation menu. This will probably be removed shortly
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112843 13f79535-47bb-0310-9956-ffa450edef68
2003-02-05 11:36:50 +00:00
kaz
c940fa00ad Changed the name of that property to 'includeProjectDocumentation' as
its more descriptive.  The docs are always generated, this property is
just a little shortcut to have them not displayed in the navigation bar.

I've also updated the documentation to reflect this change.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112834 13f79535-47bb-0310-9956-ffa450edef68
2003-02-04 04:08:31 +00:00
kaz
2e549c0f09 Added a new property that enables a user to disable the inclusion of the
"Project Documentation" section of the navbar (i.e. the Maven generated
stuff).  This is useful for documentation sites only.  The new property
is:

    maven.xdoc.generateProjectDocumentation = yes

If you want to disable the generation, set this value to 'no' in your
project.properties.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112833 13f79535-47bb-0310-9956-ffa450edef68
2003-02-04 03:59:31 +00:00
kaz
2c9c349142 Here is a first pass to enable users to specify what reports should
appear in their published site's "Project Reports" section of the
navbar.  Users can now specify a <reports/> section in the POM that
specifies exactly which reports should be included in one's site.  For
example:

  <reports>
    <report>maven-changelog-plugin</report>
    <report>maven-junit-report-plugin</report>
    <report>maven-javadoc-plugin</report>
    <report>maven-jxr-plugin</report>
  </reports>

This would only run the above four plugins when 'maven site' is invoked.
In addition, the navbar and the maven-reports document that is generated
will only contain links to the above specified reports.  Please note,
that the order the reports are specified is the order in which they will
appear.  Note: if you do not have a <reports/> section in the POM, you
will fallback to the standard behavior (which is predefined reports).

Lets talk about how this all works now.  Previously, site.jsl in the
xdoc plugin contained a static set of reports that were included in the
navbar.  This could not be changed by end users.  In addition, we also
had a separate xdoc to maintain which contained a description of all of
the reports (this page is displayed when you click on 'Project Reports'
to expand that section of the navbar).  Again, this was a static page.
Finally, a developer writing their own plugin which generated a report,
would have to submit patches for both of these files for their report to
be included when a 'maven site' was executed.

All of the above deficiencies have been corrected when using the new
<reports/> mechansim.  There is a new protocol which plugin developers
should follow if their plugin generates a report.  Their plugin's
plugin.jelly file should contain a gool like this (don't forget to
include the 'xmlns:doc="doc"' declaration as well):

  <goal name="maven-changelog-plugin:register">
    <doc:registerReport
      name="Change Log"
      link="changelog-report"
      description="Report on the source control changelog."/>
  </goal>

The above should be pretty self explanatory.  The plugin developer
simply defines a 'name'.  The 'name' is used in the navbar and in the
first column of the table in the auto-generated maven-reports file.
'link' is the relative link from the doc directory to the generated
report (without the extension).  Finally, a 'description' should be used
to create a one line summary of the report's contents.  This is used
when auto-generating the maven-reports document.

A plugin may define multiple reports if needed.  For example, here is
the javadoc plugin example:

  <goal name="maven-javadoc-plugin:register">
    <j:if test="${sourcesPresent}">
      <doc:registerReport
        name="JavaDocs"
        link="apidocs/index"
        description="JavaDoc API documentation."/>
      <doc:registerReport
        name="JavaDoc Report"
        link="javadoc"
        description="Report on the generation of JavaDoc."/>
    </j:if>
  </goal>

Another important difference you'll notice above is that the conditional
tests of whether or not a report should appear is no longer part of
site.jsl.  The logic of determining whether the report appears now lies
within the plugin that generates the report.  Thus, in the above
example, only if sources are present, will the reports actually appear
in the navbar and maven-reports document.

So what happens when one types 'maven site'?  Basically, for each
<report/> defined, maven will try to <attainGoal> on that report.  The
goal runs as it normally does.  The magic kicks in when the 'xdoc'
plugin is run (after all of the <reports/> have been run).  The first
thing the xdoc plugin does is determine what reports should be included
in all of the documentation it generates.  The report list (its really a
set) is generated when xdoc calls its own 'xdoc:register-reports' goal.
This goal looks at each <report/> defined in the POM and then calls
<attainGoal name="xyz:register"/> where "xyz" corresponds to the name
defined in the <report/>.  This is where the new protocol is required.
If that goal does not exist, you will get an error from Jelly.

As each of the xyz:register goals are called, they invoke the
<doc:registerReport> tag (which is defined in the xdoc plugin), this tag
basically builds a set of hashtables.  Each hashtable corresponds to a
report and contains a 'name', 'link', and 'description' entry.  After
the completion of 'xdoc:register-reports' we now have a set in the xdoc
context called 'reports' which contains our descriptions of each report.
Site.jsl uses this to dynamically build up the navbar, and the
maven-reports document uses it to build the content of itself.

Phew!  That was a long one.  In summary, if you don't use <reports/>
nothing changes (at least it shouldn't), but in the future, if this
<reports/> thing works out, we will migrate users in this direction.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112789 13f79535-47bb-0310-9956-ffa450edef68
2003-01-31 18:25:28 +00:00
jvanzyl
530c640d4f Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112724 13f79535-47bb-0310-9956-ffa450edef68
2003-01-24 03:44:26 +00:00