Ok.  eclipse:eclipse -DdownloadSources=true to the rescue.  :-)

Seriously, it looks like the ResourceManager has to be manually 
configured with "acceptable" paths to look at.   Thus, if I add:

            locator.addSearchPath( "url", "" );

then the URL form works fine.   I personally thing "" should be a default 
prefix for the URL locator, but at least I understand what's happening 
now.    I'll get this checked in.   I also will need to withdraw the PMD 
vote as I'll need to do the same there or it will be a regression from 
2.1.

Dan



On Thursday 15 March 2007 19:00, Daniel Kulp wrote:
> On Thursday 15 March 2007 18:21, Dennis Lundberg wrote:
> > Daniel,
> >
> > I can't get the trunk for the Checkstyle plugin to work. Downgrading
> > to a previous release like 2.1 or 2.0 works though.
>
> Ack..  This is a different but related issue.   The ResourceManager
> that is injected during site generation is just completely borked.   
> The fix I made allowed it to resolve config files that are in a jar in
> a dependency defined in your pluginManagement section.    However, the
> maven checkstyle config uses an http URL location for the
> configLocation.   The ResourceManager that is injected during site
> generation doesn't know anything about how to resolve http URL's.
>
> Anyone know where that ResourceManager is created and how to get it
> configured correctly?  This is something that will cause problems for
> all the reporting plugins if we don't get it fixed.
>
>
> Dan
>
> > Daniel Kulp wrote:
> > > Brian,
> > >
> > > Two things to try:
> > >
> > > 1) Remove your local copy of the checkstyle plugin and force it to
> > > re-download.
> > >
> > > 2) Rebuild checkstyle based on trunk.   I think I fixed this on
> > > Monday.
> > >
> > > Dan
> > >
> > > On Wednesday 14 March 2007 20:15, Brian E. Fox wrote:
> > >> I'm getting this on several plugins when generating the site with
> > >> -Preporting:
> > >>
> > >>
> > >>
> > >>  [INFO] Generate "Checkstyle" report.
> > >>
> > >> [INFO]
> > >> -----------------------------------------------------------------
> > >>-- --- --
> > >>
> > >> [ERROR] BUILD ERROR
> > >>
> > >> [INFO]
> > >> -----------------------------------------------------------------
> > >>-- --- --
> > >>
> > >> [INFO] Error during page generation
> > >>
> > >>
> > >>
> > >> Embedded error: Error rendering Maven report: Unable to process
> > >> null config loca
> > >>
> > >> tion.
> > >>
> > >> [INFO]
> > >> -----------------------------------------------------------------
> > >>-- --- --
> > >>
> > >> [INFO] For more information, run Maven with the -e switch
> > >>
> > >> [INFO]
> > >> -----------------------------------------------------------------
> > >>-- --- --
> > >>
> > >>
> > >>
> > >> I thought the -Preporting when away with the surrogate parent? If
> > >> I gen the site without it, most of the reports are not available.

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to