You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Fabio Uechi <fa...@alexandria.cc> on 2004/02/19 16:30:42 UTC
multiproject site generation - maven reports
Hi all,
I'm facing some problems when attempting to generate my project
site.
My project its comprised of 3 sub-projects.
I have a master project.xml which is extended by other 3.
When I execute:
maven multiproject:site
The reactor is properly activated and all sites are generated.
But it's not generating any of the maven-reports I'd defined in
the master pom.
After that I generated all reports manually:
maven multiproject:goal -Dgoal=checkstyle
maven multiproject:goal -Dgoal=javadoc
etc..
And then generated the site again.
What I've noticed is that all generated xml are properly
converted to html but the the links to them are missing.
Shouldn't the report plugins be automatically called by maven?
What about the links? What am I doing wrong?
Thanks in advance
Fabio
--------------------------------------------------------------------------------
Get your free 15 Mb POP3 email @alexandria.cc
Click here -> http://www.alexandria.cc/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: multiproject site generation - maven reports
Posted by Fabio Uechi <fa...@alexandria.cc>.
I had already tried this.
It didn't work.
The report plugins are not being automatically invoked and as a
consequence, the maven-reports page doesn't include any of them.
Another detail, I have some custom navigation.xml files.
I think that the aggregation problem could be due to their
existence but what about the report generation issue?
Hey Sebastien, are your reports being properly generated, aren't
they? Can you tell me the versions you're using?
Sebastien Sahuc writes:
> That's not true. Our report are described in the master project.xml and
> are properly inherited by the subproject when doing the multiroject:site
> goal.
>
> That being said, I'm suspecting a cache issue. Here is what I noticed:
> sometimes the site is not properly generated and aggregated, even though
> the build is reported to be successful. In that case I usually perform a
> multiproject:clean followed by a clean goal on the master project (b/c
> the multiporject:clean wouldn't clean the aggregated target !), and then
> everything works as expected.
> On Feb 19, 2004, at 7:39 AM, Charles N. Harvey III wrote:
>
>> I had the report definitions at the bottom of the master project.xml
>> thinking that it would be automatically included in each subproject.
>> That didn't seem to be the case. Make sure that the list of report
>> definitions is in each subproject's project.xml.
>>
>> You may already be doing that and I am completely wrong, but its what
>> I got. :)
>>
>>
>> Charlie
>>
>>
>> Fabio Uechi wrote:
>>
>>> Hi all,
>>>
>>> I'm facing some problems when attempting to generate my project
>>> site.
>>> My project its comprised of 3 sub-projects.
>>> I have a master project.xml which is extended by other 3.
>>> When I execute:
>>>
>>> maven multiproject:site
>>>
>>> The reactor is properly activated and all sites are generated.
>>> But it's not generating any of the maven-reports I'd defined in
>>> the master pom.
>>> After that I generated all reports manually:
>>>
>>> maven multiproject:goal -Dgoal=checkstyle
>>> maven multiproject:goal -Dgoal=javadoc
>>> etc..
>>>
>>> And then generated the site again.
>>> What I've noticed is that all generated xml are properly
>>> converted to html but the the links to them are missing.
>>>
>>> Shouldn't the report plugins be automatically called by maven?
>>> What about the links? What am I doing wrong?
>>>
>>>
>>> Thanks in advance
>>> Fabio
>>> ----------------------------------------------------------------------
>>> ----------
>>> Get your free 15 Mb POP3 email @alexandria.cc
>>> Click here -> http://www.alexandria.cc/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--------------------------------------------------------------------------------
Get your free 15 Mb POP3 email @alexandria.cc
Click here -> http://www.alexandria.cc/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: multiproject site generation - maven reports
Posted by Sebastien Sahuc <ss...@intalio.com>.
That's not true. Our report are described in the master project.xml and
are properly inherited by the subproject when doing the
multiroject:site goal.
That being said, I'm suspecting a cache issue. Here is what I noticed:
sometimes the site is not properly generated and aggregated, even
though the build is reported to be successful. In that case I usually
perform a multiproject:clean followed by a clean goal on the master
project (b/c the multiporject:clean wouldn't clean the aggregated
target !), and then everything works as expected.
On Feb 19, 2004, at 7:39 AM, Charles N. Harvey III wrote:
> I had the report definitions at the bottom of the master project.xml
> thinking that it would be automatically included in each subproject.
> That didn't seem to be the case. Make sure that the list of report
> definitions is in each subproject's project.xml.
>
> You may already be doing that and I am completely wrong, but its what
> I got. :)
>
>
> Charlie
>
>
> Fabio Uechi wrote:
>
>> Hi all,
>>
>> I'm facing some problems when attempting to generate my project
>> site.
>> My project its comprised of 3 sub-projects.
>> I have a master project.xml which is extended by other 3.
>> When I execute:
>>
>> maven multiproject:site
>>
>> The reactor is properly activated and all sites are generated.
>> But it's not generating any of the maven-reports I'd defined in
>> the master pom.
>> After that I generated all reports manually:
>>
>> maven multiproject:goal -Dgoal=checkstyle
>> maven multiproject:goal -Dgoal=javadoc
>> etc..
>>
>> And then generated the site again.
>> What I've noticed is that all generated xml are properly
>> converted to html but the the links to them are missing.
>>
>> Shouldn't the report plugins be automatically called by maven?
>> What about the links? What am I doing wrong?
>>
>>
>> Thanks in advance
>> Fabio
>> ----------------------------------------------------------------------
>> ----------
>> Get your free 15 Mb POP3 email @alexandria.cc
>> Click here -> http://www.alexandria.cc/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: multiproject site generation - maven reports
Posted by "Charles N. Harvey III" <ch...@alloy.com>.
I had the report definitions at the bottom of the master project.xml
thinking that it would be automatically included in each subproject.
That didn't seem to be the case. Make sure that the list of report
definitions is in each subproject's project.xml.
You may already be doing that and I am completely wrong, but its what
I got. :)
Charlie
Fabio Uechi wrote:
>Hi all,
>
>I'm facing some problems when attempting to generate my project
>site.
>My project its comprised of 3 sub-projects.
>I have a master project.xml which is extended by other 3.
>When I execute:
>
>maven multiproject:site
>
>The reactor is properly activated and all sites are generated.
>But it's not generating any of the maven-reports I'd defined in
>the master pom.
>After that I generated all reports manually:
>
>maven multiproject:goal -Dgoal=checkstyle
>maven multiproject:goal -Dgoal=javadoc
>etc..
>
>And then generated the site again.
>What I've noticed is that all generated xml are properly
>converted to html but the the links to them are missing.
>
>Shouldn't the report plugins be automatically called by maven?
>What about the links? What am I doing wrong?
>
>
>Thanks in advance
>Fabio
>--------------------------------------------------------------------------------
>Get your free 15 Mb POP3 email @alexandria.cc
>Click here -> http://www.alexandria.cc/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org