let me rephrase my 1st question: is there a way to configure the generated
directory name when I run "mvn site:stage"? It seems to me that it uses the
"name" tag in pom.xml from the top directory. For example, if I have this
defined in the top level:

  <groupId>mycompany</groupId>
  <artifactId>myexample-pom</artifactId>
  <version>1.0-SNAPSHOT</version>
  <name>Example POM</name>
  <packaging>pom</packaging>

When I run "mv site:stage", it create "Example POM" directory under the
specified stageDirectory location. Is there a way to use different name in
the run?

Thanks

On 9/25/07, Jim Sellers <[EMAIL PROTECTED]> wrote:
>
> 1) "auto generate" and modify it manually later?  Isn't the point not to
> manually edit any generated artifacts?  I'm assuming that I'm not
> understanding that question so I'm going to skip that...
>
> 2) I don't believe that you can skip any phases of the lifecycle.  I don't
> see how maven could use data from a previous run... I think that maven
> assumes any data from a previous run is "stale" data, if it exists.
>
> HTH
> Jim
>
>
> On 9/25/07, Yan Huang <[EMAIL PROTECTED]> wrote:
> >
> > Thanks, That works.
> >
> > Two more questions:)
> > 1. is there a way to auto-generate a site descriptor based on the info
> in
> > pom.xml? later, I can just alter that descriptor if needed.
> > 2. is there a way (on the command line) to skip all previous phases but
> > just
> > "site" one when I just want to get the report after previous successful
> > run?
> >
> > Thanks
> > Yan
> >
> > On 9/25/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
> > >
> > > Yan Huang wrote:
> > > > Hello,
> > > >
> > > > I have a bunch of modules under the top project. When I run the site
> > > report,
> > > > the report link to the modules are defined as
> > > > "target/site/module1/index.html". How do I configure project-info
> > > plug-in to
> > > > generate the link to "module1/target/site/index.html" instead?
> > >
> > > The short answer is: You can't.
> > >
> > > The slightly longer answer is: In a normal of the site-plugin, i.e.
> 'mvn
> > > site:site' the plugin will not try to create links between the
> different
> > > modules' target directories. When you deploy your site with 'mvn
> > > site:deploy' the links will be correct. If you want to check the links
> > > prior to deployment, you can use 'mvn site:stage' which deploys the
> > > complete site to a (local) staging place.
> > >
> > > >
> > > > Thanks
> > > > Yan
> > > >
> > >
> > >
> > > --
> > > Dennis Lundberg
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>

Reply via email to