You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by javed mandary <ja...@gmail.com> on 2006/02/06 08:05:40 UTC
M2.0.2 Source Xref and JavaDocs
Hi ,
am currently using Maven 2.0.2 to generate a site out of the main POM
of my multiple-project . There are many sub poms which describe the
sub-modules within my project .
However when i generate site , the report for Source Xref says:
------------------------------------------
Project sources
No project sources were found.
Test sources
No test sources were found.
---------------------------------------
Is there a place where the source directory needs to be defined in the main
master POM ?
Also when i try to open the index.html file in the main target directory at
the top of the project structure and try to click on JavaDoc , the page is
missing , it seems that it cant find the source directories within the sub
modules.
Anyone has an example of how to handle multiple-project dependencies and
have the site generated properly?
kind regards,
Javed
Re: M2.0.2 Source Xref and JavaDocs
Posted by Lee Meador <le...@leemeador.com>.
My "master" POM has no source, per se, so there is not xref for the master
project. My children are in sibling folders from the parent.
The master POM references the children POMs with the <module/> tags. In my
POM it has locations like "../child1"
The children POMs reference the master with the <parent/> tags. In my POM
the locations are like "../parent"
"mvn site" should be issued in the folder for the master POM.
You can have deploy locations defined in the parent and in the children but
if you only put one in the parent, the children will be in folders right
under it. (But you didn't ask about mvn site:deploy.)
You might want to share some of the relevant POM sections with us.
Thanks.
On 2/6/06, javed mandary <ja...@gmail.com> wrote:
>
> Hi ,
> am currently using Maven 2.0.2 to generate a site out of the main POM
> of my multiple-project . There are many sub poms which describe the
> sub-modules within my project .
>
> However when i generate site , the report for Source Xref says:
>
> ------------------------------------------
> Project sources
>
> No project sources were found.
> Test sources
>
> No test sources were found.
> ---------------------------------------
>
> Is there a place where the source directory needs to be defined in the
> main
> master POM ?
>
> Also when i try to open the index.html file in the main target directory
> at
> the top of the project structure and try to click on JavaDoc , the page is
> missing , it seems that it cant find the source directories within the sub
> modules.
>
> Anyone has an example of how to handle multiple-project dependencies and
> have the site generated properly?
>
> kind regards,
> Javed
>
>
--
-- Lee Meador
Sent from gmail. My real email address is lee@leemeador.com
Réf. : M2.0.2 Source Xref and JavaDocs
Posted by fa...@mpsa.com.
Hi Javed,
if you're trying to find Xref sources of your sub-modules in the Source
Xref report of your master project, you will hardly find them for your
master project usually doesn't have any source. You have to go down into
the sub-module sites to find them.
Same thing for the Javadoc: you won't have Javadocs in the master site, but
only in sub-modules.
I guess that when the Javadoc and Xref plugins will be released, the links
in the report section won't appear if a project has no source (an API has
been introduced sometime ago for that purpose, but the modifications are
still in SVN for those plugins).
Best Regards / Cordialement,
Fabrice BELLINGARD
DINQ/DSIN/INSI/EATE/IDVS/AIDV
(+33) (01 61) 45 15 91 - fabrice.belingard@mpsa.com
javed mandary
<javed2@gmail.co
m> Pour
Maven Users List
06/02/2006 08:05 <us...@maven.apache.org>
cc
Veuillez Objet
répondre à M2.0.2 Source Xref and JavaDocs
Maven Users List
<users@maven.apa
che.org>
Hi ,
am currently using Maven 2.0.2 to generate a site out of the main POM
of my multiple-project . There are many sub poms which describe the
sub-modules within my project .
However when i generate site , the report for Source Xref says:
------------------------------------------
Project sources
No project sources were found.
Test sources
No test sources were found.
---------------------------------------
Is there a place where the source directory needs to be defined in the main
master POM ?
Also when i try to open the index.html file in the main target directory at
the top of the project structure and try to click on JavaDoc , the page is
missing , it seems that it cant find the source directories within the sub
modules.
Anyone has an example of how to handle multiple-project dependencies and
have the site generated properly?
kind regards,
Javed
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org