Re: Multi-module site generation?

2010-01-06 Thread Blimey

Hi,

just wondering if you were successful in the end as I'm facing a similar
problem,

cheers
 

newton.dave wrote:
> 
> --- On Fri, 9/12/08, Dave Newton lied:
>> Running site-deploy works, as long as I define a file URI
>> that isn't broken. Which I couldn't.
>> 
>> Turns out site:deploy works just fine too (once the sites
>> have been generated, I mean).
> 
> Spoke too soon; I thought it had worked at one point but now the module
> links it's creating point to the parent POM directory + parent artifactId.
> 
> Ah; removing *all* the  elements seems to have fixed it; I think my
> root POM's  messed up all the others. Curious; I'll look into it
> again tomorrow.
> 
> Thanks again,
> Dave
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Multi-module-site-generation--tp19466376p27026924.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Multi-module site generation?

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, Dave Newton lied:
> Running site-deploy works, as long as I define a file URI
> that isn't broken. Which I couldn't.
> 
> Turns out site:deploy works just fine too (once the sites
> have been generated, I mean).

Spoke too soon; I thought it had worked at one point but now the module links 
it's creating point to the parent POM directory + parent artifactId.

Ah; removing *all* the  elements seems to have fixed it; I think my root 
POM's  messed up all the others. Curious; I'll look into it again tomorrow.

Thanks again,
Dave


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



Re: Multi-module site generation?

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, Wendy Smoak wrote:
> http://maven.apache.org/guides/mini/guide-site.html
> 
> (site-deploy is a lifecycle phase, while site:deploy means
> to run one specific goal of the site plugin.)

Oh. Hrm. Something new every day, and all that.

Running site-deploy works, as long as I define a file URI that isn't broken. 
Which I couldn't.

Turns out site:deploy works just fine too (once the sites have been generated, 
I mean).

Sheesh :/

Thanks much,
Dave


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



Re: Multi-module site generation?

2008-09-12 Thread Wendy Smoak
On Fri, Sep 12, 2008 at 7:17 PM, Dave Newton <[EMAIL PROTECTED]> wrote:

> I've tried site:deploy with the following  in the 
> top-level POM in the hopes it would all get dumped to a directory in the 
> parent site, but so far no joy; only the parent shows up.

Try 'mvn site-deploy' instead, from a parent which has modules
defined.  It should work.

http://maven.apache.org/guides/mini/guide-site.html

(site-deploy is a lifecycle phase, while site:deploy means to run one
specific goal of the site plugin.)

(You may need an  for the site in distribution management.  Wagon
complained when I didn't have one...)

-- 
Wendy

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



Re: Multi-module site generation?

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, Wendy Smoak wrote:
> What are you trying to do by setting those values?  
> Preview it locally before deploying it?

That was the initial goal, but it's likely the final site will be deployed to a 
local directory location on the CI machine.

I've tried site:deploy with the following  in the 
top-level POM in the hopes it would all get dumped to a directory in the parent 
site, but so far no joy; only the parent shows up.


  
file://deployed-site
  


The parent and two module POMs are at http://pastebin.com/m1c8573cc.

I'm assuming that there are multiple things wrong with what I'm doing (finally 
trying to figure out Maven) so any advice/criticisms/etc. are welcome.

I also tried site:stage-deploy, which created the following hierarchy:

target/staging/localhost/MultiModCli/...
 .../MultiModCore/...
 .../deployed-site/(the parent project)

So I'd guess I'm just doing (one of many :) things all cow's legs up, 'cuz it's 
close.

Thanks,
Dave


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



Re: Multi-module site generation?

2008-09-12 Thread Wendy Smoak
On Fri, Sep 12, 2008 at 5:52 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> Where should I look in TFM/TFW to find a canonical way for a multi-module 
> project to create a complete website including the modules?
>
> Right now I've configured each module's site plugin's  to 
> point at "../target/site/${artifactId}" and set each modules's  to 
> ${artifactId} but this feels hokey and wrong and makes me feel bad about 
> myself.
>
> Should I just assemble the disparate module sites and get them to the final 
> site directory somehow?

What are you trying to do by setting those values?  Preview it locally
before deploying it?

The site plugin builds each piece of the site under the module's
'target' directory, but the links won't work from there.  You'll need
to deploy it somewhere for it to all work together.  (I'd say stage
it, but I think some links are still broken using the stage-deploy
goal.)

-- 
Wendy

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



Re: multi module site generation - module links not showing in index.html

2006-08-12 Thread Jonathan S. Anderson

Seconded.

mvn site:stage generates a site where the submodule links work, but all
the javadoc/jxr reports have blank index.html

mvn site:deploy generates a site where the submodules are listed with
 tags, but no links, around them, however the actual submodule
site content is properly generated.

JA

--
Jonathan S. Anderson -- [EMAIL PROTECTED]
tel: 540.961.0229 (H)  540.818.2896 (C)
www: http://andersoj.org/oddments
pgp key: http://andersoj.org/personal/0xF0BE7EF8-pub.asc

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