You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brian E. Fox" <br...@reply.infinity.nu> on 2007/03/15 01:15:08 UTC

site failures using -Preporting

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.


Re: site failures using -Preporting

Posted by Dennis Lundberg <de...@apache.org>.
Dan,

I have tried the latest version of maven-checkstyle-plugin built from 
SVN and now it is working. Thanks, nice job!

Daniel Kulp wrote:
> Dennis, 
> 
> Can you give it another try?   I think I understand what's happening with 
> the ResourceManager now and it should work.
> 
> Dan
> 
> 
> 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.
>>
>> 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.
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: site failures using -Preporting

Posted by Daniel Kulp <da...@iona.com>.
Dennis, 

Can you give it another try?   I think I understand what's happening with 
the ResourceManager now and it should work.

Dan


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.
>
> 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
daniel.kulp@iona.com
http://www.dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: site failures using -Preporting

Posted by Daniel Kulp <da...@iona.com>.
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
daniel.kulp@iona.com
http://www.dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: site failures using -Preporting

Posted by Daniel Kulp <da...@iona.com>.
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
daniel.kulp@iona.com
http://www.dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: site failures using -Preporting

Posted by Dennis Lundberg <de...@apache.org>.
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.


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.
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


RE: site failures using -Preporting

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Bingo, clearing my repo did the trick. Thanks.

-----Original Message-----
From: Daniel Kulp [mailto:daniel.kulp@iona.com] 
Sent: Wednesday, March 14, 2007 8:46 PM
To: dev@maven.apache.org
Subject: Re: site failures using -Preporting


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
daniel.kulp@iona.com
http://www.dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: site failures using -Preporting

Posted by Daniel Kulp <da...@iona.com>.
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
daniel.kulp@iona.com
http://www.dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org