34 Commits

Author SHA1 Message Date
bwalding
8618cf1f8d Refactoring SCM processing
PR: MAVEN-383


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113320 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 18:53:19 +00:00
bwalding
49ef9e2de4 Moved them to the core
PR: MAVEN-383


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113319 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 18:45:48 +00:00
bwalding
691d329f98 Added support for lserver connections - connection to a pserver on a local machine.
PR: MAVEN-305


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113306 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 10:48:30 +00:00
jvanzyl
f29424087c o Resolving all snapshots in plugins
o Bumping all plugin version to release status
o Validated all plugins to make sure all snapshots were removed.

  I had to manually insert the versions for:

  1) ashkelon
  2) commons-dbcp

  Not sure how either of these got up there without the timestamp
  mapping.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113303 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 01:06:49 +00:00
bwalding
3d9460cc15 An offshoot of 297 was looking at how the bogus info got parsed. Turns out the changelog parser
only looks to see if there is a minimum of 6 dividers.  Now it checks to make sure there is a max of 6 as well.
PR: MAVEN-297


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113266 13f79535-47bb-0310-9956-ffa450edef68
2003-04-05 14:09:55 +00:00
dion
0776ea0b21 detab
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113230 13f79535-47bb-0310-9956-ffa450edef68
2003-03-30 22:51:11 +00:00
dion
15eb486c03 Fix jelly taglib URLs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113219 13f79535-47bb-0310-9956-ffa450edef68
2003-03-29 12:36:22 +00:00
dion
80b4476c59 Explicity use ant name space. In prep for removal of jeez etc
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113201 13f79535-47bb-0310-9956-ffa450edef68
2003-03-26 23:27:44 +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
dion
b51fa7c5fa Fix URL
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113142 13f79535-47bb-0310-9956-ffa450edef68
2003-03-19 05:36:14 +00:00
dion
49b623b2b4 Update repository url to reflect new home
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113140 13f79535-47bb-0310-9956-ffa450edef68
2003-03-19 05:24:07 +00:00
dion
5c6fd0608a Update repository connection to reflect new home
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113139 13f79535-47bb-0310-9956-ffa450edef68
2003-03-19 05:17:10 +00:00
dion
3760087de1 Change site directory to maven.apache.org
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113138 13f79535-47bb-0310-9956-ffa450edef68
2003-03-19 05:09:58 +00:00
dion
cb770c9ae5 Add scm repo for reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113024 13f79535-47bb-0310-9956-ffa450edef68
2003-03-02 15:42:06 +00:00
evenisse
95ebcf3852 Apply patch from Jim Crossley. Thanks.
o patch for support whitespace in starteam connection string
o patch for support specific locale with Starteam


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113004 13f79535-47bb-0310-9956-ffa450edef68
2003-02-27 10:30:33 +00:00
evenisse
c10b4e20f7 Add -x parameter for bypass error messages
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112998 13f79535-47bb-0310-9956-ffa450edef68
2003-02-26 16:16:20 +00:00
bwalding
9873992dfe o Add new report deregister goal, modify register goal for slightly modified report method
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112977 13f79535-47bb-0310-9956-ffa450edef68
2003-02-23 15:57:06 +00:00
bwalding
574f0cbfae o MAVEN-289: Apply patch from Eric Weidner to handle local repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112967 13f79535-47bb-0310-9956-ffa450edef68
2003-02-21 22:00:51 +00:00
bwalding
bb57c2d925 o MAVEN-277: Delimiter is now changable.Get delim from character after scm eg
scm|cvs (delim is |)


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112947 13f79535-47bb-0310-9956-ffa450edef68
2003-02-17 20:53:42 +00:00
bwalding
390b6095ea o MAVEN-277: Delimiter is now changable
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112946 13f79535-47bb-0310-9956-ffa450edef68
2003-02-17 20:53:05 +00:00
bwalding
50206a3e2f o MAVEN-277: Improved string tokenizer that doesn't skip tokens
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112943 13f79535-47bb-0310-9956-ffa450edef68
2003-02-17 11:24:49 +00:00
bwalding
db74b969de o Make the logExecute function correctly number the log messages
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112942 13f79535-47bb-0310-9956-ffa450edef68
2003-02-17 09:59:07 +00:00
jvanzyl
49d0ed8dd9 o updating all plugin POMs.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112915 13f79535-47bb-0310-9956-ffa450edef68
2003-02-11 22:33:56 +00:00
jvanzyl
0bf42fda77 snapshot version resolved POM
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112907 13f79535-47bb-0310-9956-ffa450edef68
2003-02-11 16:37:11 +00:00
bwalding
60026fa127 Added license property
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112876 13f79535-47bb-0310-9956-ffa450edef68
2003-02-10 08:26:57 +00:00
bwalding
4fbbb87abb If you don't log the error thrown back here it gets lost in a sea of backtraces.
This should help let users diagnose changelog problems for themselves


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112862 13f79535-47bb-0310-9956-ffa450edef68
2003-02-08 23:53:13 +00:00
dion
825d9429af Rename jelly urls from sandbox to commons
PR:
Obtained from:
Submitted by:	
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112861 13f79535-47bb-0310-9956-ffa450edef68
2003-02-08 14:25:03 +00:00
evenisse
06515f23fe update to avoid FileNotFoundException if the parent directory does not exist .
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112850 13f79535-47bb-0310-9956-ffa450edef68
2003-02-07 11:47:14 +00:00
bwalding
1ab41a850c Added logging information as to what command line was being run
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112840 13f79535-47bb-0310-9956-ffa450edef68
2003-02-05 07:42:56 +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
kaz
eabbe63ba0 Fixing/cleaning up some of the plugins.
o Removed extraneous <mkdir>s
o Converted to new method of accessing properties


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112743 13f79535-47bb-0310-9956-ffa450edef68
2003-01-25 17:25:24 +00:00
kaz
65bcb86e61 Applying patch from Ben Walding (with slight modifications). Thanks
Ben!  Closing ticket MAVEN-210.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112732 13f79535-47bb-0310-9956-ffa450edef68
2003-01-25 03:24:31 +00:00
jvanzyl
1d343d7c0e o seemed to get ignored during import.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112728 13f79535-47bb-0310-9956-ffa450edef68
2003-01-24 03:49:24 +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