You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <ol...@accor.com> on 2006/05/04 12:54:23 UTC
RE : Configuring path for picking submodule site
Hi,
As I understand you have a structure as
Root
pom.xml
Module A
pom.xml
Site
pom.xml
src/site/site.xml
Just try to move Site/src/site/site.xml to the root
Root
pom.xml
src/site/site.xml (with ${modules})
Module A
pom.xml
src/site/site.xml (with ${parentProject} )
-Olivier
-----Message d'origine-----
De : RobJac [mailto:robin.jacob@caritor.com]
Envoyé : jeudi 4 mai 2006 12:31
À : users@maven.apache.org
Objet : Configuring path for picking submodule site
I have created a multiproject web site from the parent project where in
it
has a menu that list all the sub modules. When i click on a particular
sub
module menu say ,SubModule_A link. It tries to look for the SubModule_A
index.html from some default path like
C:\parentProject\target\site\SubModule_A\index.html.
But the index.hml for the SubModule_A lies under the following path
C:\parentProject\SubModule_A\target\site\index.html.
Where do I configure to pickup the SubModule_A index.html from a path
specified by me. This subModule Menu comes in my parent site when i
provide
<menu ref="modules" /> in my parent site.xml. I dont exactly know how
the
path is getting set for each of the subModule menu link. If some one has
faced this issue could you pls let me know how this path can be
configured?
An example would really help.
--
View this message in context:
http://www.nabble.com/Configuring-path-for-picking-submodule-site-t15559
73.html#a4226523
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RE : RE : Configuring path for picking submodule site
Posted by RobJac <ro...@caritor.com>.
I am using 2.0_SNAPSHOT version of maven-site-plugin. But its the same case,
how does taking this version of maven-site-plugin help? Do i have an option
to configure my submodule site location if this version is used? If yes,
where can it be configured?
--
View this message in context: http://www.nabble.com/Configuring-path-for-picking-submodule-site-t1555973.html#a4278961
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE : RE : Configuring path for picking submodule site
Posted by Olivier Lamy <ol...@accor.com>.
Which version maven-site-plugin you use ?
AFAIK, this is only in the snapshot version.
Solutions :
- build it from svn
- add http://cvs.apache.org/maven-snapshot-repository/ in your plugin
repositories
- Olivier
-----Message d'origine-----
De : RobJac [mailto:robin.jacob@caritor.com]
Envoyé : vendredi 5 mai 2006 10:41
À : users@maven.apache.org
Objet : Re: RE : Configuring path for picking submodule site
My structure is as you had mentioned
Root
pom.xml
src/site/site.xml (with ${modules})
Module A
pom.xml
src/site/site.xml (with ${parentProject} )
the missing part was ${modules} & ${parentProject} which i have added
and
removed
<menu ref="modules" /> from my root site.xml, but its still showing some
default path.
--
View this message in context:
http://www.nabble.com/Configuring-path-for-picking-submodule-site-t15559
73.html#a4243591
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RE : Configuring path for picking submodule site
Posted by RobJac <ro...@caritor.com>.
My structure is as you had mentioned
Root
pom.xml
src/site/site.xml (with ${modules})
Module A
pom.xml
src/site/site.xml (with ${parentProject} )
the missing part was ${modules} & ${parentProject} which i have added and
removed
<menu ref="modules" /> from my root site.xml, but its still showing some
default path.
--
View this message in context: http://www.nabble.com/Configuring-path-for-picking-submodule-site-t1555973.html#a4243591
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org