Re: M2.0.2 Source Xref and JavaDocs
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 tags. In my POM it has locations like "../child1" The children POMs reference the master with the 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
Réf. : M2.0.2 Source Xref and JavaDocs
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 - [EMAIL PROTECTED] javed mandary <[EMAIL PROTECTED] m> Pour Maven Users List 06/02/2006 08:05 cc VeuillezObjet répondre à M2.0.2 Source Xref and JavaDocs Maven Users List <[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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