Maven site for project with modules?

View: New views
11 Messages — Rating Filter:   Alert me  

Maven site for project with modules?

by Lewis, Eric-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I love the support that Hudson gives me for a multi-module project. I'm
now trying to generate the Maven site using the 'site' goal.
Hudson recognizes the generated site for the project, but I don't see
any 'Maven-generated site' in its modules.
Is this supported at all?

Best regards,
Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Maven site for project with modules?

by kohsuke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I thought site is always an aggregated report and so there's nothing
each module can link to.

Am I wrong?

2008/10/3 Lewis, Eric <Eric.Lewis@...>:

> Hi
>
> I love the support that Hudson gives me for a multi-module project. I'm
> now trying to generate the Maven site using the 'site' goal.
> Hudson recognizes the generated site for the project, but I don't see
> any 'Maven-generated site' in its modules.
> Is this supported at all?
>
> Best regards,
> Eric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


AW: Maven site for project with modules?

by Lewis, Eric-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Perhaps I wasn't clear enough... What I'm doing: I'm building my Maven2 project which has a couple of modules.
If I specify the 'site' goal for my build, Maven builds the site for the project and for all of its modules.
Hudson links to the project's site, and everything would be fine...

BUT the 'site' goal produces a site for the project that links to the sites of the modules, and the links are wrong.
For some reason, the Maven developers think that it's a feature, not a bug (see http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why_dont_the_links_between_parent_and_child_modules_work_when_I_run_mvn_site).

Since I can't solve Maven's problem, it would be great if Hudson would recognize for every module that it also has a Maven site and link to it. However, that doesn't happen.

The only "Maven" way that I see would be to use a 'site:deploy' which would have to deploy to Hudson's build directory of the project, effectively overwriting itself.
Or, as a better alternative, the module in Hudson would also recognize that it has a Maven site and link to it.

Best regards,
Eric

> -----Ursprüngliche Nachricht-----
> Von: kohsuke.kawaguchi@...
> [mailto:kohsuke.kawaguchi@...] Im Auftrag von Kohsuke Kawaguchi
> Gesendet: Samstag, 4. Oktober 2008 07:22
> An: users@...
> Betreff: Re: Maven site for project with modules?
>
> I thought site is always an aggregated report and so there's nothing
> each module can link to.
>
> Am I wrong?
>
> 2008/10/3 Lewis, Eric <Eric.Lewis@...>:
> > Hi
> >
> > I love the support that Hudson gives me for a multi-module
> project. I'm
> > now trying to generate the Maven site using the 'site' goal.
> > Hudson recognizes the generated site for the project, but I
> don't see
> > any 'Maven-generated site' in its modules.
> > Is this supported at all?
> >
> > Best regards,
> > Eric
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@...
> > For additional commands, e-mail: users-help@...
> >
> >
>
>
>
> --
> Kohsuke Kawaguchi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


AW: Maven site for project with modules?

by Lewis, Eric-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmmm... even worse: The link 'Maven-generated site' now points to the site of the last module that was built, instead of the project's Maven site. Does anyone have the same problem?

> -----Ursprüngliche Nachricht-----
> Von: Lewis, Eric [mailto:Eric.Lewis@...]
> Gesendet: Dienstag, 7. Oktober 2008 11:16
> An: users@...
> Betreff: AW: Maven site for project with modules?
>
> Perhaps I wasn't clear enough... What I'm doing: I'm building
> my Maven2 project which has a couple of modules.
> If I specify the 'site' goal for my build, Maven builds the
> site for the project and for all of its modules.
> Hudson links to the project's site, and everything would be fine...
>
> BUT the 'site' goal produces a site for the project that
> links to the sites of the modules, and the links are wrong.
> For some reason, the Maven developers think that it's a
> feature, not a bug (see
> http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why
> _dont_the_links_between_parent_and_child_modules_work_when_I_r
> un_mvn_site).
>
> Since I can't solve Maven's problem, it would be great if
> Hudson would recognize for every module that it also has a
> Maven site and link to it. However, that doesn't happen.
>
> The only "Maven" way that I see would be to use a
> 'site:deploy' which would have to deploy to Hudson's build
> directory of the project, effectively overwriting itself.
> Or, as a better alternative, the module in Hudson would also
> recognize that it has a Maven site and link to it.
>
> Best regards,
> Eric
>
> > -----Ursprüngliche Nachricht-----
> > Von: kohsuke.kawaguchi@...
> > [mailto:kohsuke.kawaguchi@...] Im Auftrag von Kohsuke
> Kawaguchi
> > Gesendet: Samstag, 4. Oktober 2008 07:22
> > An: users@...
> > Betreff: Re: Maven site for project with modules?
> >
> > I thought site is always an aggregated report and so there's nothing
> > each module can link to.
> >
> > Am I wrong?
> >
> > 2008/10/3 Lewis, Eric <Eric.Lewis@...>:
> > > Hi
> > >
> > > I love the support that Hudson gives me for a multi-module
> > project. I'm
> > > now trying to generate the Maven site using the 'site' goal.
> > > Hudson recognizes the generated site for the project, but I
> > don't see
> > > any 'Maven-generated site' in its modules.
> > > Is this supported at all?
> > >
> > > Best regards,
> > > Eric
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@...
> > > For additional commands, e-mail: users-help@...
> > >
> > >
> >
> >
> >
> > --
> > Kohsuke Kawaguchi
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@...
> > For additional commands, e-mail: users-help@...
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Maven site for project with modules?

by Robert Dale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I see it this way too.

--
Robert Dale

On Tue, Oct 7, 2008 at 7:38 AM, Lewis, Eric <Eric.Lewis@...> wrote:

> Hmmm... even worse: The link 'Maven-generated site' now points to the site of the last module that was built, instead of the project's Maven site. Does anyone have the same problem?
>
>> -----Ursprüngliche Nachricht-----
>> Von: Lewis, Eric [mailto:Eric.Lewis@...]
>> Gesendet: Dienstag, 7. Oktober 2008 11:16
>> An: users@...
>> Betreff: AW: Maven site for project with modules?
>>
>> Perhaps I wasn't clear enough... What I'm doing: I'm building
>> my Maven2 project which has a couple of modules.
>> If I specify the 'site' goal for my build, Maven builds the
>> site for the project and for all of its modules.
>> Hudson links to the project's site, and everything would be fine...
>>
>> BUT the 'site' goal produces a site for the project that
>> links to the sites of the modules, and the links are wrong.
>> For some reason, the Maven developers think that it's a
>> feature, not a bug (see
>> http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why
>> _dont_the_links_between_parent_and_child_modules_work_when_I_r
>> un_mvn_site).
>>
>> Since I can't solve Maven's problem, it would be great if
>> Hudson would recognize for every module that it also has a
>> Maven site and link to it. However, that doesn't happen.
>>
>> The only "Maven" way that I see would be to use a
>> 'site:deploy' which would have to deploy to Hudson's build
>> directory of the project, effectively overwriting itself.
>> Or, as a better alternative, the module in Hudson would also
>> recognize that it has a Maven site and link to it.
>>
>> Best regards,
>> Eric
>>
>> > -----Ursprüngliche Nachricht-----
>> > Von: kohsuke.kawaguchi@...
>> > [mailto:kohsuke.kawaguchi@...] Im Auftrag von Kohsuke
>> Kawaguchi
>> > Gesendet: Samstag, 4. Oktober 2008 07:22
>> > An: users@...
>> > Betreff: Re: Maven site for project with modules?
>> >
>> > I thought site is always an aggregated report and so there's nothing
>> > each module can link to.
>> >
>> > Am I wrong?
>> >
>> > 2008/10/3 Lewis, Eric <Eric.Lewis@...>:
>> > > Hi
>> > >
>> > > I love the support that Hudson gives me for a multi-module
>> > project. I'm
>> > > now trying to generate the Maven site using the 'site' goal.
>> > > Hudson recognizes the generated site for the project, but I
>> > don't see
>> > > any 'Maven-generated site' in its modules.
>> > > Is this supported at all?
>> > >
>> > > Best regards,
>> > > Eric
>> > >
>> > >
>> >
>> ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: users-unsubscribe@...
>> > > For additional commands, e-mail: users-help@...
>> > >
>> > >
>> >
>> >
>> >
>> > --
>> > Kohsuke Kawaguchi
>> >
>> >
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@...
>> > For additional commands, e-mail: users-help@...
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

Re: Maven site for project with modules?

by Hugo Visser-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm seeing this too on our builds. Not sure if there's an issue for  
this already?

Hugo

On Oct 7, 2008, at 2:11 PM, Robert Dale wrote:

> Yes, I see it this way too.
>
> --
> Robert Dale
>
> On Tue, Oct 7, 2008 at 7:38 AM, Lewis, Eric <Eric.Lewis@...> wrote:
>> Hmmm... even worse: The link 'Maven-generated site' now points to  
>> the site of the last module that was built, instead of the  
>> project's Maven site. Does anyone have the same problem?
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Lewis, Eric [mailto:Eric.Lewis@...]
>>> Gesendet: Dienstag, 7. Oktober 2008 11:16
>>> An: users@...
>>> Betreff: AW: Maven site for project with modules?
>>>
>>> Perhaps I wasn't clear enough... What I'm doing: I'm building
>>> my Maven2 project which has a couple of modules.
>>> If I specify the 'site' goal for my build, Maven builds the
>>> site for the project and for all of its modules.
>>> Hudson links to the project's site, and everything would be fine...
>>>
>>> BUT the 'site' goal produces a site for the project that
>>> links to the sites of the modules, and the links are wrong.
>>> For some reason, the Maven developers think that it's a
>>> feature, not a bug (see
>>> http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why
>>> _dont_the_links_between_parent_and_child_modules_work_when_I_r
>>> un_mvn_site).
>>>
>>> Since I can't solve Maven's problem, it would be great if
>>> Hudson would recognize for every module that it also has a
>>> Maven site and link to it. However, that doesn't happen.
>>>
>>> The only "Maven" way that I see would be to use a
>>> 'site:deploy' which would have to deploy to Hudson's build
>>> directory of the project, effectively overwriting itself.
>>> Or, as a better alternative, the module in Hudson would also
>>> recognize that it has a Maven site and link to it.
>>>
>>> Best regards,
>>> Eric
>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: kohsuke.kawaguchi@...
>>>> [mailto:kohsuke.kawaguchi@...] Im Auftrag von Kohsuke
>>> Kawaguchi
>>>> Gesendet: Samstag, 4. Oktober 2008 07:22
>>>> An: users@...
>>>> Betreff: Re: Maven site for project with modules?
>>>>
>>>> I thought site is always an aggregated report and so there's  
>>>> nothing
>>>> each module can link to.
>>>>
>>>> Am I wrong?
>>>>
>>>> 2008/10/3 Lewis, Eric <Eric.Lewis@...>:
>>>>> Hi
>>>>>
>>>>> I love the support that Hudson gives me for a multi-module
>>>> project. I'm
>>>>> now trying to generate the Maven site using the 'site' goal.
>>>>> Hudson recognizes the generated site for the project, but I
>>>> don't see
>>>>> any 'Maven-generated site' in its modules.
>>>>> Is this supported at all?
>>>>>
>>>>> Best regards,
>>>>> Eric
>>>>>
>>>>>
>>>>
>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>> For additional commands, e-mail: users-help@...
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Kohsuke Kawaguchi
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>> For additional commands, e-mail: users-help@...
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@...
>>> For additional commands, e-mail: users-help@...
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Maven site for project with modules?

by Stephen Connolly-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

have you considered site:stage

Sent from my iPod

On 7 Oct 2008, at 20:50, Hugo Visser <lists@...> wrote:

> I'm seeing this too on our builds. Not sure if there's an issue for  
> this already?
>
> Hugo
>
> On Oct 7, 2008, at 2:11 PM, Robert Dale wrote:
>
>> Yes, I see it this way too.
>>
>> --
>> Robert Dale
>>
>> On Tue, Oct 7, 2008 at 7:38 AM, Lewis, Eric <Eric.Lewis@...>  
>> wrote:
>>> Hmmm... even worse: The link 'Maven-generated site' now points to  
>>> the site of the last module that was built, instead of the  
>>> project's Maven site. Does anyone have the same problem?
>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: Lewis, Eric [mailto:Eric.Lewis@...]
>>>> Gesendet: Dienstag, 7. Oktober 2008 11:16
>>>> An: users@...
>>>> Betreff: AW: Maven site for project with modules?
>>>>
>>>> Perhaps I wasn't clear enough... What I'm doing: I'm building
>>>> my Maven2 project which has a couple of modules.
>>>> If I specify the 'site' goal for my build, Maven builds the
>>>> site for the project and for all of its modules.
>>>> Hudson links to the project's site, and everything would be fine...
>>>>
>>>> BUT the 'site' goal produces a site for the project that
>>>> links to the sites of the modules, and the links are wrong.
>>>> For some reason, the Maven developers think that it's a
>>>> feature, not a bug (see
>>>> http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why
>>>> _dont_the_links_between_parent_and_child_modules_work_when_I_r
>>>> un_mvn_site).
>>>>
>>>> Since I can't solve Maven's problem, it would be great if
>>>> Hudson would recognize for every module that it also has a
>>>> Maven site and link to it. However, that doesn't happen.
>>>>
>>>> The only "Maven" way that I see would be to use a
>>>> 'site:deploy' which would have to deploy to Hudson's build
>>>> directory of the project, effectively overwriting itself.
>>>> Or, as a better alternative, the module in Hudson would also
>>>> recognize that it has a Maven site and link to it.
>>>>
>>>> Best regards,
>>>> Eric
>>>>
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: kohsuke.kawaguchi@...
>>>>> [mailto:kohsuke.kawaguchi@...] Im Auftrag von Kohsuke
>>>> Kawaguchi
>>>>> Gesendet: Samstag, 4. Oktober 2008 07:22
>>>>> An: users@...
>>>>> Betreff: Re: Maven site for project with modules?
>>>>>
>>>>> I thought site is always an aggregated report and so there's  
>>>>> nothing
>>>>> each module can link to.
>>>>>
>>>>> Am I wrong?
>>>>>
>>>>> 2008/10/3 Lewis, Eric <Eric.Lewis@...>:
>>>>>> Hi
>>>>>>
>>>>>> I love the support that Hudson gives me for a multi-module
>>>>> project. I'm
>>>>>> now trying to generate the Maven site using the 'site' goal.
>>>>>> Hudson recognizes the generated site for the project, but I
>>>>> don't see
>>>>>> any 'Maven-generated site' in its modules.
>>>>>> Is this supported at all?
>>>>>>
>>>>>> Best regards,
>>>>>> Eric
>>>>>>
>>>>>>
>>>>>
>>>> ---
>>>> ------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>>> For additional commands, e-mail: users-help@...
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Kohsuke Kawaguchi
>>>>>
>>>>>
>>>> ---
>>>> ------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>> For additional commands, e-mail: users-help@...
>>>>>
>>>>>
>>>>
>>>> ---
>>>> ------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>> For additional commands, e-mail: users-help@...
>>>>
>>>>
>>>
>>> ---
>>> ------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@...
>>> For additional commands, e-mail: users-help@...
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


AW: Maven site for project with modules?

by Lewis, Eric-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, just to be sure I ran site:stage on my project from the shell, but it doesn't help.
It just creates a site in the project and all of its modules, but again individually, and again the links from the project to the modules are wrong.
The only difference is that instead of creating it in '..../target/site/', it creates it in '..../target/staging/<web site URL>/<parent POM name>/<project name>/'
Basically, this is a Maven issue, not Hudson's fault. It would be nice, though, if Hudson could make it usable. Should I write an enhancement request?

@Hugo: I found the issue 2245 and voted on it. Please vote on it, too  :-)

Best regards,
Eric

> -----Ursprüngliche Nachricht-----
> Von: Stephen Connolly [mailto:stephen.alan.connolly@...]
> Gesendet: Dienstag, 7. Oktober 2008 22:30
> An: users@...
> Betreff: Re: Maven site for project with modules?
>
> have you considered site:stage
>
> Sent from my iPod
>
> On 7 Oct 2008, at 20:50, Hugo Visser <lists@...> wrote:
>
> > I'm seeing this too on our builds. Not sure if there's an
> issue for  
> > this already?
> >
> > Hugo
> >
> > On Oct 7, 2008, at 2:11 PM, Robert Dale wrote:
> >
> >> Yes, I see it this way too.
> >>
> >> --
> >> Robert Dale
> >>
> >> On Tue, Oct 7, 2008 at 7:38 AM, Lewis, Eric <Eric.Lewis@...>  
> >> wrote:
> >>> Hmmm... even worse: The link 'Maven-generated site' now
> points to  
> >>> the site of the last module that was built, instead of the  
> >>> project's Maven site. Does anyone have the same problem?
> >>>
> >>>> -----Ursprüngliche Nachricht-----
> >>>> Von: Lewis, Eric [mailto:Eric.Lewis@...]
> >>>> Gesendet: Dienstag, 7. Oktober 2008 11:16
> >>>> An: users@...
> >>>> Betreff: AW: Maven site for project with modules?
> >>>>
> >>>> Perhaps I wasn't clear enough... What I'm doing: I'm building
> >>>> my Maven2 project which has a couple of modules.
> >>>> If I specify the 'site' goal for my build, Maven builds the
> >>>> site for the project and for all of its modules.
> >>>> Hudson links to the project's site, and everything would
> be fine...
> >>>>
> >>>> BUT the 'site' goal produces a site for the project that
> >>>> links to the sites of the modules, and the links are wrong.
> >>>> For some reason, the Maven developers think that it's a
> >>>> feature, not a bug (see
> >>>> http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why
> >>>> _dont_the_links_between_parent_and_child_modules_work_when_I_r
> >>>> un_mvn_site).
> >>>>
> >>>> Since I can't solve Maven's problem, it would be great if
> >>>> Hudson would recognize for every module that it also has a
> >>>> Maven site and link to it. However, that doesn't happen.
> >>>>
> >>>> The only "Maven" way that I see would be to use a
> >>>> 'site:deploy' which would have to deploy to Hudson's build
> >>>> directory of the project, effectively overwriting itself.
> >>>> Or, as a better alternative, the module in Hudson would also
> >>>> recognize that it has a Maven site and link to it.
> >>>>
> >>>> Best regards,
> >>>> Eric
> >>>>
> >>>>> -----Ursprüngliche Nachricht-----
> >>>>> Von: kohsuke.kawaguchi@...
> >>>>> [mailto:kohsuke.kawaguchi@...] Im Auftrag von Kohsuke
> >>>> Kawaguchi
> >>>>> Gesendet: Samstag, 4. Oktober 2008 07:22
> >>>>> An: users@...
> >>>>> Betreff: Re: Maven site for project with modules?
> >>>>>
> >>>>> I thought site is always an aggregated report and so there's  
> >>>>> nothing
> >>>>> each module can link to.
> >>>>>
> >>>>> Am I wrong?
> >>>>>
> >>>>> 2008/10/3 Lewis, Eric <Eric.Lewis@...>:
> >>>>>> Hi
> >>>>>>
> >>>>>> I love the support that Hudson gives me for a multi-module
> >>>>> project. I'm
> >>>>>> now trying to generate the Maven site using the 'site' goal.
> >>>>>> Hudson recognizes the generated site for the project, but I
> >>>>> don't see
> >>>>>> any 'Maven-generated site' in its modules.
> >>>>>> Is this supported at all?
> >>>>>>
> >>>>>> Best regards,
> >>>>>> Eric
> >>>>>>
> >>>>>>
> >>>>>
> >>>> ---
> >>>>
> ------------------------------------------------------------------
> >>>>>> To unsubscribe, e-mail: users-unsubscribe@...
> >>>>>> For additional commands, e-mail: users-help@...
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Kohsuke Kawaguchi
> >>>>>
> >>>>>
> >>>> ---
> >>>>
> ------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: users-unsubscribe@...
> >>>>> For additional commands, e-mail: users-help@...
> >>>>>
> >>>>>
> >>>>
> >>>> ---
> >>>>
> ------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscribe@...
> >>>> For additional commands, e-mail: users-help@...
> >>>>
> >>>>
> >>>
> >>> ---
> >>> ------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@...
> >>> For additional commands, e-mail: users-help@...
> >>>
> >>>
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@...
> > For additional commands, e-mail: users-help@...
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: AW: Maven site for project with modules?

by Hugo Visser-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stephen, Eric,

I'm not that familiar with the maven site goal, so I'll have to check  
wat the behaviour should be on multi module projects and if site:stage  
does fix it. From the documentation it appears as if that would work  
in my situation but I haven't been able to test it yet.

If maven is doing the right thing and hudson isn't, I'll vote for the  
bug :)

Hugo

On Oct 8, 2008, at 10:05 AM, Lewis, Eric wrote:

> Well, just to be sure I ran site:stage on my project from the shell,  
> but it doesn't help.
> It just creates a site in the project and all of its modules, but  
> again individually, and again the links from the project to the  
> modules are wrong.
> The only difference is that instead of creating it in '..../target/
> site/', it creates it in '..../target/staging/<web site URL>/<parent  
> POM name>/<project name>/'
> Basically, this is a Maven issue, not Hudson's fault. It would be  
> nice, though, if Hudson could make it usable. Should I write an  
> enhancement request?
>
> @Hugo: I found the issue 2245 and voted on it. Please vote on it,  
> too  :-)
>
> Best regards,
> Eric
>
>> -----Ursprüngliche Nachricht-----
>> Von: Stephen Connolly [mailto:stephen.alan.connolly@...]
>> Gesendet: Dienstag, 7. Oktober 2008 22:30
>> An: users@...
>> Betreff: Re: Maven site for project with modules?
>>
>> have you considered site:stage
>>
>> Sent from my iPod
>>
>> On 7 Oct 2008, at 20:50, Hugo Visser <lists@...> wrote:
>>
>>> I'm seeing this too on our builds. Not sure if there's an
>> issue for
>>> this already?
>>>
>>> Hugo
>>>
>>> On Oct 7, 2008, at 2:11 PM, Robert Dale wrote:
>>>
>>>> Yes, I see it this way too.
>>>>
>>>> --
>>>> Robert Dale
>>>>
>>>> On Tue, Oct 7, 2008 at 7:38 AM, Lewis, Eric <Eric.Lewis@...>
>>>> wrote:
>>>>> Hmmm... even worse: The link 'Maven-generated site' now
>> points to
>>>>> the site of the last module that was built, instead of the
>>>>> project's Maven site. Does anyone have the same problem?
>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: Lewis, Eric [mailto:Eric.Lewis@...]
>>>>>> Gesendet: Dienstag, 7. Oktober 2008 11:16
>>>>>> An: users@...
>>>>>> Betreff: AW: Maven site for project with modules?
>>>>>>
>>>>>> Perhaps I wasn't clear enough... What I'm doing: I'm building
>>>>>> my Maven2 project which has a couple of modules.
>>>>>> If I specify the 'site' goal for my build, Maven builds the
>>>>>> site for the project and for all of its modules.
>>>>>> Hudson links to the project's site, and everything would
>> be fine...
>>>>>>
>>>>>> BUT the 'site' goal produces a site for the project that
>>>>>> links to the sites of the modules, and the links are wrong.
>>>>>> For some reason, the Maven developers think that it's a
>>>>>> feature, not a bug (see
>>>>>> http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why
>>>>>> _dont_the_links_between_parent_and_child_modules_work_when_I_r
>>>>>> un_mvn_site).
>>>>>>
>>>>>> Since I can't solve Maven's problem, it would be great if
>>>>>> Hudson would recognize for every module that it also has a
>>>>>> Maven site and link to it. However, that doesn't happen.
>>>>>>
>>>>>> The only "Maven" way that I see would be to use a
>>>>>> 'site:deploy' which would have to deploy to Hudson's build
>>>>>> directory of the project, effectively overwriting itself.
>>>>>> Or, as a better alternative, the module in Hudson would also
>>>>>> recognize that it has a Maven site and link to it.
>>>>>>
>>>>>> Best regards,
>>>>>> Eric
>>>>>>
>>>>>>> -----Ursprüngliche Nachricht-----
>>>>>>> Von: kohsuke.kawaguchi@...
>>>>>>> [mailto:kohsuke.kawaguchi@...] Im Auftrag von Kohsuke
>>>>>> Kawaguchi
>>>>>>> Gesendet: Samstag, 4. Oktober 2008 07:22
>>>>>>> An: users@...
>>>>>>> Betreff: Re: Maven site for project with modules?
>>>>>>>
>>>>>>> I thought site is always an aggregated report and so there's
>>>>>>> nothing
>>>>>>> each module can link to.
>>>>>>>
>>>>>>> Am I wrong?
>>>>>>>
>>>>>>> 2008/10/3 Lewis, Eric <Eric.Lewis@...>:
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> I love the support that Hudson gives me for a multi-module
>>>>>>> project. I'm
>>>>>>>> now trying to generate the Maven site using the 'site' goal.
>>>>>>>> Hudson recognizes the generated site for the project, but I
>>>>>>> don't see
>>>>>>>> any 'Maven-generated site' in its modules.
>>>>>>>> Is this supported at all?
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> Eric
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>> ---
>>>>>>
>> ------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>>>>> For additional commands, e-mail: users-help@...
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Kohsuke Kawaguchi
>>>>>>>
>>>>>>>
>>>>>> ---
>>>>>>
>> ------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>>>> For additional commands, e-mail: users-help@...
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>> ------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>>> For additional commands, e-mail: users-help@...
>>>>>>
>>>>>>
>>>>>
>>>>> ---
>>>>> ------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>> For additional commands, e-mail: users-help@...
>>>>>
>>>>>
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@...
>>> For additional commands, e-mail: users-help@...
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: AW: Maven site for project with modules?

by Hugo Visser-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK, a quick look at the source reveals that the site archiver is  
always copying any generated site in a maven build to the "site"  
directory, thus overwriting a previous generated site. I created a  
patch for it and attached it to the issue. Maybe you could give it a  
whirl. I only did some quick testing as I still have troubles to get  
hudson to build in Eclipse :(

Hugo

On Oct 8, 2008, at 10:05 AM, Lewis, Eric wrote:

> Well, just to be sure I ran site:stage on my project from the shell,  
> but it doesn't help.
> It just creates a site in the project and all of its modules, but  
> again individually, and again the links from the project to the  
> modules are wrong.
> The only difference is that instead of creating it in '..../target/
> site/', it creates it in '..../target/staging/<web site URL>/<parent  
> POM name>/<project name>/'
> Basically, this is a Maven issue, not Hudson's fault. It would be  
> nice, though, if Hudson could make it usable. Should I write an  
> enhancement request?
>
> @Hugo: I found the issue 2245 and voted on it. Please vote on it,  
> too  :-)
>
> Best regards,
> Eric
>
>> -----Ursprüngliche Nachricht-----
>> Von: Stephen Connolly [mailto:stephen.alan.connolly@...]
>> Gesendet: Dienstag, 7. Oktober 2008 22:30
>> An: users@...
>> Betreff: Re: Maven site for project with modules?
>>
>> have you considered site:stage
>>
>> Sent from my iPod
>>
>> On 7 Oct 2008, at 20:50, Hugo Visser <lists@...> wrote:
>>
>>> I'm seeing this too on our builds. Not sure if there's an
>> issue for
>>> this already?
>>>
>>> Hugo
>>>
>>> On Oct 7, 2008, at 2:11 PM, Robert Dale wrote:
>>>
>>>> Yes, I see it this way too.
>>>>
>>>> --
>>>> Robert Dale
>>>>
>>>> On Tue, Oct 7, 2008 at 7:38 AM, Lewis, Eric <Eric.Lewis@...>
>>>> wrote:
>>>>> Hmmm... even worse: The link 'Maven-generated site' now
>> points to
>>>>> the site of the last module that was built, instead of the
>>>>> project's Maven site. Does anyone have the same problem?
>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: Lewis, Eric [mailto:Eric.Lewis@...]
>>>>>> Gesendet: Dienstag, 7. Oktober 2008 11:16
>>>>>> An: users@...
>>>>>> Betreff: AW: Maven site for project with modules?
>>>>>>
>>>>>> Perhaps I wasn't clear enough... What I'm doing: I'm building
>>>>>> my Maven2 project which has a couple of modules.
>>>>>> If I specify the 'site' goal for my build, Maven builds the
>>>>>> site for the project and for all of its modules.
>>>>>> Hudson links to the project's site, and everything would
>> be fine...
>>>>>>
>>>>>> BUT the 'site' goal produces a site for the project that
>>>>>> links to the sites of the modules, and the links are wrong.
>>>>>> For some reason, the Maven developers think that it's a
>>>>>> feature, not a bug (see
>>>>>> http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why
>>>>>> _dont_the_links_between_parent_and_child_modules_work_when_I_r
>>>>>> un_mvn_site).
>>>>>>
>>>>>> Since I can't solve Maven's problem, it would be great if
>>>>>> Hudson would recognize for every module that it also has a
>>>>>> Maven site and link to it. However, that doesn't happen.
>>>>>>
>>>>>> The only "Maven" way that I see would be to use a
>>>>>> 'site:deploy' which would have to deploy to Hudson's build
>>>>>> directory of the project, effectively overwriting itself.
>>>>>> Or, as a better alternative, the module in Hudson would also
>>>>>> recognize that it has a Maven site and link to it.
>>>>>>
>>>>>> Best regards,
>>>>>> Eric
>>>>>>
>>>>>>> -----Ursprüngliche Nachricht-----
>>>>>>> Von: kohsuke.kawaguchi@...
>>>>>>> [mailto:kohsuke.kawaguchi@...] Im Auftrag von Kohsuke
>>>>>> Kawaguchi
>>>>>>> Gesendet: Samstag, 4. Oktober 2008 07:22
>>>>>>> An: users@...
>>>>>>> Betreff: Re: Maven site for project with modules?
>>>>>>>
>>>>>>> I thought site is always an aggregated report and so there's
>>>>>>> nothing
>>>>>>> each module can link to.
>>>>>>>
>>>>>>> Am I wrong?
>>>>>>>
>>>>>>> 2008/10/3 Lewis, Eric <Eric.Lewis@...>:
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> I love the support that Hudson gives me for a multi-module
>>>>>>> project. I'm
>>>>>>>> now trying to generate the Maven site using the 'site' goal.
>>>>>>>> Hudson recognizes the generated site for the project, but I
>>>>>>> don't see
>>>>>>>> any 'Maven-generated site' in its modules.
>>>>>>>> Is this supported at all?
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> Eric
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>> ---
>>>>>>
>> ------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>>>>> For additional commands, e-mail: users-help@...
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Kohsuke Kawaguchi
>>>>>>>
>>>>>>>
>>>>>> ---
>>>>>>
>> ------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>>>> For additional commands, e-mail: users-help@...
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>> ------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>>> For additional commands, e-mail: users-help@...
>>>>>>
>>>>>>
>>>>>
>>>>> ---
>>>>> ------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>> For additional commands, e-mail: users-help@...
>>>>>
>>>>>
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@...
>>> For additional commands, e-mail: users-help@...
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


AW: AW: Maven site for project with modules?

by Lewis, Eric-2 :: Rate this Message: