You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ra...@jpmchase.com on 2006/02/21 21:56:45 UTC
How add url link to dependencies
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
Re: How add url link to dependencies
Posted by Yann Le Du <le...@gmail.com>.
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, raghurajan.x.gurunathan@jpmchase.com <
raghurajan.x.gurunathan@jpmchase.com>:
>
> 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
>
>