Example setting URL only for Module A :

Module A/pom.xml :
~ <project>
~   <parent>
~     ...
~   </parent>
~   <groupId>...
~   <artifactId>...
~   <version>...
~   <!-- URL where Module A generated site is accessible -->
~   <url>http://host/maven/site/Module/Module A/</url>
~   ...
~ </project>


Example setting URL for parent and all modules (given that site follows the
same tree structure as projects) :

Module/pom.xml :
~ <project>
~   <groupId>...
~   <artifactId>...
~   <version>...
~   <!-- URL where Module generated site is accessible -->
~   <url>http://host/maven/site/Module/</url>
~   ...
~   <modules>
~     <module>Module A</module>
~     <module>Module B</module>
~     ...
~   </modules>
~   ...
~ </project>

2006/2/22, [EMAIL PROTECTED] <
[EMAIL PROTECTED]>:
>
> Thanks for your reply,
>
> Can u give some example for this? Please
>
>
>
>
>
>
> Thanks,
> Raghu
>
>
>
>
>
> "Yann Le Du" <[EMAIL PROTECTED]>
> 02/21/2006 07:31 PM
> Please respond to "Maven Users List"
>
>
>         To:     "Maven Users List" <[email protected]>
>         cc:
>         Subject:        Re: How add url link to dependencies
>
>
> Hi Raghu,
>
> Try to :
> 1. Add the <url> in Module A/pom.xml, but at top-level [1]
> 2. Run install on Module A
> 3. Run site-deploy on Module B
>
> The link to Module A should be included in Module B dependencies page.
>
> Moreover, if you use the same structure for your sites as for your
> projects,
> you need to add the <url> only once in the parent. It will then be
> inherited
> in modules as parentUrl/ModuleA, parentUrl/ModuleB and so on.
>
> - Yann
>
> [1] http://maven.apache.org/maven-model/maven.html
>
> 2006/2/21, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]>:
> >
> > Hi All
> >
> > I have multi module project
> >
> >      Module
> >           +  Module A
> >                           + pom.xml
> >                   + Module B
> >                           +pom.xml
> >          +pom.xml
> >
> > ModuleB depends on Module A so when i ran site:deploy, its created the
> > site but there is no link between Module A and Module B. at the url
> > section it just empty, when i tried to add <url> in dependencies section
> > then its threw error like
> >
> > " Reason: Parse error reading POM. Reason: Unrecognised tag: 'url' "
> >
> > Is there some way so we can give a link to all our dependencies, so i
> can
> > just click on that it will display informatin about those
> >
> > Thanks,
> > Raghu
> >
> >
> >
> >
> >
> > Thanks,
> > Raghu
> >
> >
>
>
>
>

Reply via email to