3556 Commits

Author SHA1 Message Date
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
jvanzyl
61be02576a o xml-apis dep
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112832 13f79535-47bb-0310-9956-ffa450edef68
2003-02-04 03:10:47 +00:00
bwalding
caebea39e4 Removed spurious log message I left in there
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112831 13f79535-47bb-0310-9956-ffa450edef68
2003-02-04 01:01:23 +00:00
bwalding
f2211e4a87 MAVEN-251: Oversight on my part. Measure twice, cut once.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112830 13f79535-47bb-0310-9956-ffa450edef68
2003-02-04 00:29:34 +00:00
bwalding
1c4df3de36 MAVEN-251: Oversight on my part
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112829 13f79535-47bb-0310-9956-ffa450edef68
2003-02-04 00:26:47 +00:00
bwalding
d4f2d33526 MAVEN-250: Created doc:jslFile to perform arbitrary jsl transformations. Old doc:jsl tag uses doc:jslFile internally
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112828 13f79535-47bb-0310-9956-ffa450edef68
2003-02-04 00:18:11 +00:00
bwalding
03efaf0c57 MAVEN-251: Removed jsl file as it isn't really required for a plugin this trivial. Now follows same pattern as eclipse plugin, merge opportunity?
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112827 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 23:58:10 +00:00
bwalding
60f1a81073 Upgrade to 2.3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112826 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 20:36:18 +00:00
brekke
a7cb80a670 Was failing to compile without this dependency. Plucked the version from what
Maven is currently using.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112825 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 17:09:42 +00:00
jvanzyl
619c4fab99 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112821 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 14:28:22 +00:00
bwalding
95e8a42f8c Coding conventions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112820 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 14:14:16 +00:00
dion
66116a6418 Patch 2 from Eric Pugh for Maven 235
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112819 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 14:08:02 +00:00
dion
670ec885a8 Fix braces 4 Ben
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112818 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 13:54:59 +00:00
dion
b68a190810 Part 1 of MAVEN-235.
Thanks to David Eric Pugh


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112817 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 13:30:42 +00:00
bwalding
f7d8433452 MAVEN-247: Add JUnit to classpath as required
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112816 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 09:21:58 +00:00
jvanzyl
aecbcaaba8 o Start release goal.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112815 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 16:47:08 +00:00
jvanzyl
e8420936e3 o Adding item of deploying the POM for a release.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112814 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 16:43:27 +00:00
jvanzyl
b6b6a50c35 o Start of snapshot converter.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112813 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 16:08:20 +00:00
jvanzyl
581940bc09 o Start of a POM validation procedure for a release.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112812 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 16:02:30 +00:00
jvanzyl
8cd4b0fb59 o When the jar:deploy-snapshot goal is run there will be a file generated in
the repository of the form ${pom.artifactId}-snapshot-version. This
  will contain the real snapshot version. So when we do releases we can
  collect all the real snapshot versions for any SNAPSHOT version identifiers
  in the POM.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112811 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 15:42:13 +00:00
bwalding
37f9b19dba MAVEN-244: Register the report and fix it's output location to be under the target/docs area
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112810 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 13:45:31 +00:00
bwalding
4877b4c2c0 Put the template file in the correct directory
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112809 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 13:44:55 +00:00
bwalding
fd9baa60e2 Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112808 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 08:04:31 +00:00
bwalding
97ed93c054 MAVEN-240: JDepend dependency being refactored away from core
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112807 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 07:51:11 +00:00
plynch
5295fadd5c o adding trim="false" on all log:info tags or else it be fugly
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112806 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 07:39:26 +00:00
plynch
fa39b3a03c o rearranged the props, added required and optional notes and changed maven.webserver.url to maven.webserver.test.url
o added maven.webserver.test.socket property which we use to test for a tcp listener


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112805 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 07:29:36 +00:00
plynch
fbf4aff7ef o adding the last of the property checks
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112804 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 07:26:11 +00:00
bwalding
61f6ab62b6 MAVEN-241: Licence plugin can be on by default
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112803 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 06:49:46 +00:00
bwalding
75f4b51bf8 MAVEN-241: This is the text that is shown if the license plugin is run, but no license file exists.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112802 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 06:48:57 +00:00
bwalding
d1d6c9e8f5 MAVEN-241: Integrated into new build process. Fixed some bugs with encoding on the way.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112801 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 06:48:22 +00:00
bwalding
09de2f3a44 MAVEN-239: Once the patches for JDepend go through, there will be a new attribute
on Class items - sourceFile.  This patch lets the report understand and more correctly report
with the new attributes. (link to xref for inner classes is more correct).


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112800 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 02:08:46 +00:00
bwalding
4567fe9f94 MAVEN-239: Once MAVEN-240 is fixed (jdepend.jar in root classloader), this will
be mandatory.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112799 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 02:07:37 +00:00
dion
edb669dc69 apply patch...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112798 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 00:36:21 +00:00
plynch
7115590e31 o started adding checks for required properties and user messages - at some point investigate a way to make the messages locale specific - jelly tag library???
o more hacks around dot property names and flaky expression handling when negative logic is used in expressions or testing for properties that should be null or not defined yet props


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112797 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 12:38:39 +00:00
evenisse
334a737454 Thanks to Tobias Rademacher for this plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112796 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 08:27:47 +00:00
bwalding
563e56c792 Added standard report plugin goals
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112795 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 02:17:39 +00:00
bwalding
66242366d5 Register linkcheck report
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112794 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 02:09:17 +00:00
bwalding
91baa04ff7 MAVEN-75: Add maven.compile.verbose property.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112793 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 00:43:49 +00:00
bwalding
cab8627425 MAVEN-75: Add maven.compile.verbose property.
Also changed references to jakarta.apache.org/ant to ant.apache.org


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112792 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 00:43:35 +00:00
bwalding
6d16058524 MAVEN-237: Fix property test to check correct property
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112791 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 00:37:54 +00:00
kaz
cbd81d7e9c Follow up to my last commit. The HashSet wasn't preserving order, so we
should use a LinkedHashSet, but that isn't part of 1.3.  So we'll just
use an ArrayList and create a new list each time this goal is invoked
which will prevent duplicates from being added.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112790 13f79535-47bb-0310-9956-ffa450edef68
2003-01-31 18:58:49 +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
bwalding
2fedb7e06d MAVEN-148: Apply patch to javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112788 13f79535-47bb-0310-9956-ffa450edef68
2003-01-31 12:53:00 +00:00
bwalding
4802326d37 MAVEN-229: Fix inconsistent use of / and \. Now uses / exclusively.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112787 13f79535-47bb-0310-9956-ffa450edef68
2003-01-31 12:41:05 +00:00
plynch
4ae9f1f594 o cleaning the log statements
o trying to work around how I think jexl should work but it seems to not. Time to look up touchstone


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112786 13f79535-47bb-0310-9956-ffa450edef68
2003-01-31 05:04:50 +00:00
dion
440c0a5698 Apply patch (had to manually do some pieces) from Eric Pugh.
Needs testing


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112785 13f79535-47bb-0310-9956-ffa450edef68
2003-01-31 00:28:32 +00:00
kaz
3482c527cf Applying patch from Brian Leonard <brian@brainslug.org> which fixes the
j2ee plugin which was crapping out today.  Thanks Brian!


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112784 13f79535-47bb-0310-9956-ffa450edef68
2003-01-30 22:58:06 +00:00
plynch
fe9fa51601 o removing unused property and filterset
There is no need to have a user filterset as the user can just use the ant replace task to do that work instead of copy.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112783 13f79535-47bb-0310-9956-ffa450edef68
2003-01-30 22:06:28 +00:00
bwalding
af3dca2410 MAVEN-214: Changed XML generation method
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112782 13f79535-47bb-0310-9956-ffa450edef68
2003-01-30 15:49:43 +00:00