Re: Site plugin and modules

2009-02-07 Thread Dennis Lundberg
There are a number of issues reported about site.xml inheritance in
JIRA. I think that most of them has been solved in the upcoming 2.0
version of the Site Plugin. You could try to use Maven Site Plugin
version 2.0-SNAPSHOT to see if it solves your problem.

More info on testing development versions of plugins can be found on
this page

http://maven.apache.org/guides/development/guide-testing-development-plugins.html

Tim McGinnis wrote:
> Yep.  It creates the pages for the modules but they have the left nav of
> the top project site.xml.
> 
> Dennis Lundberg wrote:
>> Hi
>>
>> Have you specified the sub-projects in a  element in the parent
>> POM?
>>
>> Tim McGinnis wrote:
>>  
>>> Why doesn't the Site plugin respect submodule site.xml files?  Or am I
>>> doing something wrong?
>>>
>>> I run Maven 2.09 with RSA 7.0.0.7.  I have a project that has several
>>> sub-projects (modules).  The project has its own site.xml and the
>>> modules have their own site.xml.
>>>
>>> When I run "mvn site-deploy" on the project the resulting site has only
>>> the contents from the project site.xml and not the individual module
>>> site.xml files.  To get the proper html pages for the modules I have to
>>> run "mvn site-deploy" on each individual module.  Shouldn't I just be
>>> able to run site-deploy on the project and the plugin works for the
>>> modules?
>>>
>>> Also I notice if I just run "mvn site" on the project the site is only
>>> created for the project, not the modules.
>>>
>>> Thanks,
>>>
>>> Tim M.
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>>
>>> 
>>
>>
>>   
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 


-- 
Dennis Lundberg

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



Re: Site plugin and modules

2009-02-07 Thread Tim McGinnis
Yep.  It creates the pages for the modules but they have the left nav of 
the top project site.xml.


Dennis Lundberg wrote:

Hi

Have you specified the sub-projects in a  element in the parent
POM?

Tim McGinnis wrote:
  

Why doesn't the Site plugin respect submodule site.xml files?  Or am I
doing something wrong?

I run Maven 2.09 with RSA 7.0.0.7.  I have a project that has several
sub-projects (modules).  The project has its own site.xml and the
modules have their own site.xml.

When I run "mvn site-deploy" on the project the resulting site has only
the contents from the project site.xml and not the individual module
site.xml files.  To get the proper html pages for the modules I have to
run "mvn site-deploy" on each individual module.  Shouldn't I just be
able to run site-deploy on the project and the plugin works for the
modules?

Also I notice if I just run "mvn site" on the project the site is only
created for the project, not the modules.

Thanks,

Tim M.

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






  



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



Re: Site plugin and modules

2009-02-07 Thread Dennis Lundberg
Hi

Have you specified the sub-projects in a  element in the parent
POM?

Tim McGinnis wrote:
> 
> Why doesn't the Site plugin respect submodule site.xml files?  Or am I
> doing something wrong?
> 
> I run Maven 2.09 with RSA 7.0.0.7.  I have a project that has several
> sub-projects (modules).  The project has its own site.xml and the
> modules have their own site.xml.
> 
> When I run "mvn site-deploy" on the project the resulting site has only
> the contents from the project site.xml and not the individual module
> site.xml files.  To get the proper html pages for the modules I have to
> run "mvn site-deploy" on each individual module.  Shouldn't I just be
> able to run site-deploy on the project and the plugin works for the
> modules?
> 
> Also I notice if I just run "mvn site" on the project the site is only
> created for the project, not the modules.
> 
> Thanks,
> 
> Tim M.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 


-- 
Dennis Lundberg

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



Site plugin and modules

2009-02-06 Thread Tim McGinnis


Why doesn't the Site plugin respect submodule site.xml files?  Or am I 
doing something wrong?


I run Maven 2.09 with RSA 7.0.0.7.  I have a project that has several 
sub-projects (modules).  The project has its own site.xml and the 
modules have their own site.xml.


When I run "mvn site-deploy" on the project the resulting site has only 
the contents from the project site.xml and not the individual module 
site.xml files.  To get the proper html pages for the modules I have to 
run "mvn site-deploy" on each individual module.  Shouldn't I just be 
able to run site-deploy on the project and the plugin works for the 
modules?


Also I notice if I just run "mvn site" on the project the site is only 
created for the project, not the modules.


Thanks,

Tim M.

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



Re: Site plugin and modules

2006-07-13 Thread Lukasz Szelag

I have a similar problem where individual projects' POMs inherit from the
top-level not from the agregator. To be precise I have a top-level POM and a
number of parent POMs (that inherit from the top-level one). These parent
POMs correspond to various types of modules, i.e. EAR, WEB, JAR etc. which
in turn are inherited by projects' POMs. Parent POMs cannot be merged into
the top-level since they operate on different types of projects.


-- 
View this message in context: 
http://www.nabble.com/Site-plugin-and-modules-tf1928090.html#a5313303
Sent from the Maven - Users forum at Nabble.com.


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



Re: Site plugin and modules

2006-07-12 Thread Andrew Williams
I think the question is really why are the modules not inheriting from 
the aggregator, that is certainly normal.


The aggregator can inherit from the parent (or what you sometimes seem 
to call super) if it is defaults that you are woried about inheriting.


The site plugin will always (if I observe correctly)  follow the 
heirarchy of inheritance, not the heirarchy of your file system.


Andy

[EMAIL PROTECTED] wrote:

I have a multi-module project. The modules POMs are inheriting from a
super-POM ( which is different from the aggregator POM ).
 
When I run the site plugin, the sites for aggregator POM does not list the

modules under the Modules section. If I change the module POMs to inherit
from the project POM, the modules show up.
 
Also, when the module POMs inherit from the super-POM, the module site is

deployed under the parent site and not the aggregator project site.
 
So, how do I get the modules to be deployed correctly, is there anything in

the project POM that needs to be configured differently?
 
Or, is this a practice that is frowned on?
 
 
 +-Parent

+-pom.xml
 +-project
   +- module 1
+-pom.xml  ( derives from parent\pom.xml )
   +- module 2
+-pom.xml  ( derives from parent\pom.xml )
   +- pom.xml( the aggregator pom )
 
-Moiz


  



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



Site plugin and modules

2006-07-11 Thread dohadwala_moiz
I have a multi-module project. The modules POMs are inheriting from a
super-POM ( which is different from the aggregator POM ).
 
When I run the site plugin, the sites for aggregator POM does not list the
modules under the Modules section. If I change the module POMs to inherit
from the project POM, the modules show up.
 
Also, when the module POMs inherit from the super-POM, the module site is
deployed under the parent site and not the aggregator project site.
 
So, how do I get the modules to be deployed correctly, is there anything in
the project POM that needs to be configured differently?
 
Or, is this a practice that is frowned on?
 
 
 +-Parent
+-pom.xml
 +-project
   +- module 1
+-pom.xml  ( derives from parent\pom.xml )
   +- module 2
+-pom.xml  ( derives from parent\pom.xml )
   +- pom.xml( the aggregator pom )
 
-Moiz