|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
[m1.1-rc1] javadoc does not generate anything...Hi *,
Sorry to disturb... I cannot see what is wrong with my project.xml... why is this not generating any javadoc? I am using the conventional directory structure: project |- projectA |- src |- main |- java I've run with javadoc 1.8, and I get this: [echo] sourceModifications not used. [echo] internal_javadoc_needed is false [echo] ******************************************* [echo] * No sources found. Javadoc not created ! * [echo] ******************************************* the maven.compile.src.set does point correctly to the top of my source directory. Why am I am getting this??? Any suggestion most welcomed! (Also how could I generate a CONSOLIDATED set of javadoc given 3 sub-projects) THANKS! Benoit. -------------- DEBUG OUTPUT: ### Debug mode is on ### ================================== === java plugin properties === ================================== maven.compile.encoding = [] maven.compile.src.set = [C:\project\objectlabkit\datecalc-common\src\main\java] ================================== === docs properties === ================================== maven.docs.outputencoding = [ISO-8859-1] ================================== === javadoc plugin properties === ================================== -------------------- Javadoc properties : -------------------- maven.javadoc.additionalparam = ["-breakiterator"] maven.javadoc.extrasourcepath = [] maven.javadoc.debug = [true] maven.javadoc.doclet = [] maven.javadoc.docletpath = [] maven.javadoc.usestandardparameters = [] maven.javadoc.excludepackagenames = [] maven.javadoc.locale = [] maven.javadoc.maxmemory = [512m] maven.javadoc.overview = [] maven.javadoc.package = [] maven.javadoc.private = [] maven.javadoc.public = [] maven.javadoc.source = [] maven.javadoc.useexternalfile = [yes] maven.javadoc.failonerror = [false] maven.javadoc.javadocreport = [true] maven.javadoc.warningsreport = [true] ---------------------------- Standard doclet properties : ---------------------------- maven.javadoc.author = [true] maven.javadoc.bottom = [Copyright © ObjectLab Financial Ltd. All Rights Reserved.] maven.javadoc.customtags = [] maven.javadoc.destdir = [C:\project\objectlabkit\datecalc-common/target/docs/apidocs] maven.javadoc.footer = [] maven.javadoc.header = [] maven.javadoc.links = [] maven.javadoc.offlineLinks = [] maven.javadoc.mode.online = [] maven.javadoc.stylesheet = [C:\Documents and Settings\xhensevb\.maven\cache\maven-javadoc-plugin-1.8\plugin-res ources/stylesheet.css] maven.javadoc.tagletpath = [] maven.javadoc.taglets = [] maven.javadoc.use = [true] maven.javadoc.version = [true] maven.javadoc.windowtitle = [DateCalc Common 1.0 API] ================================== === Project descriptor === ================================== pom.package = [net.objectlab.kit.common] ================================== === javadoc internal variables === ================================== internal_javadoc_jar = [C:\project\objectlabkit\datecalc-common/target/datecalc-common-1.0_javadoc.jar] internal_javadoc_needed = [] internal_javadoc_working_dir = [C:\project\objectlabkit\datecalc-common/target/javadoc] [echo] sourceModifications not used. [echo] internal_javadoc_needed is false [echo] ******************************************* [echo] * No sources found. Javadoc not created ! * [echo] ******************************************* BUILD SUCCESSFUL Total time : 4 seconds Finished at : 05 September 2006 14:27:24 BST ---------------------- project.xml <project> <extend>../common-build/project.xml</extend> ... <reports> ... <report>maven-javadoc-plugin</report> </reports> and the common-build/project.xml is very basic, nothing defined with regards to directory structure... |
|
|
Re: [m1.1-rc1] javadoc does not generate anything...Do you have classes in the package net.objectlab.kit.common ?
Can you try to comment the package in the pom ? You can use dist:multiproject-bin to generate a consolidated javadoc for all your projects. I don't know why this feature isn't in the javadoc plugin. Arnaud On 9/5/06, Benoit Xhenseval <benoitx@...> wrote: > > Hi *, > > Sorry to disturb... I cannot see what is wrong with my project.xml... why > is this not generating any javadoc? > I am using the conventional directory structure: > project > |- projectA > |- src > |- main > |- java > > I've run with javadoc 1.8, > > and I get this: > [echo] sourceModifications not used. > [echo] internal_javadoc_needed is false > [echo] ******************************************* > [echo] * No sources found. Javadoc not created ! * > [echo] ******************************************* > > the maven.compile.src.set does point correctly to the top of my source > directory. > > Why am I am getting this??? > > Any suggestion most welcomed! > (Also how could I generate a CONSOLIDATED set of javadoc given 3 > sub-projects) THANKS! > > Benoit. > > -------------- > DEBUG OUTPUT: > > ### Debug mode is on ### > ================================== > === java plugin properties === > ================================== > maven.compile.encoding = [] > maven.compile.src.set = > [C:\project\objectlabkit\datecalc-common\src\main\java] > ================================== > === docs properties === > ================================== > maven.docs.outputencoding = [ISO-8859-1] > ================================== > === javadoc plugin properties === > ================================== > -------------------- > Javadoc properties : > -------------------- > maven.javadoc.additionalparam = ["-breakiterator"] > maven.javadoc.extrasourcepath = [] > maven.javadoc.debug = [true] > maven.javadoc.doclet = [] > maven.javadoc.docletpath = [] > maven.javadoc.usestandardparameters = [] > maven.javadoc.excludepackagenames = [] > maven.javadoc.locale = [] > maven.javadoc.maxmemory = [512m] > maven.javadoc.overview = [] > maven.javadoc.package = [] > maven.javadoc.private = [] > maven.javadoc.public = [] > maven.javadoc.source = [] > maven.javadoc.useexternalfile = [yes] > maven.javadoc.failonerror = [false] > maven.javadoc.javadocreport = [true] > maven.javadoc.warningsreport = [true] > ---------------------------- > Standard doclet properties : > ---------------------------- > maven.javadoc.author = [true] > maven.javadoc.bottom = [Copyright © ObjectLab Financial > Ltd. All Rights Reserved.] > maven.javadoc.customtags = [] > maven.javadoc.destdir = > [C:\project\objectlabkit\datecalc-common/target/docs/apidocs] > maven.javadoc.footer = [] > maven.javadoc.header = [] > maven.javadoc.links = [] > maven.javadoc.offlineLinks = [] > maven.javadoc.mode.online = [] > maven.javadoc.stylesheet = [C:\Documents and > Settings\xhensevb\.maven\cache\maven-javadoc-plugin-1.8\plugin-res > ources/stylesheet.css] > maven.javadoc.tagletpath = [] > maven.javadoc.taglets = [] > maven.javadoc.use = [true] > maven.javadoc.version = [true] > maven.javadoc.windowtitle = [DateCalc Common 1.0 API] > ================================== > === Project descriptor === > ================================== > pom.package = [net.objectlab.kit.common] > ================================== > === javadoc internal variables === > ================================== > internal_javadoc_jar = > [C:\project\objectlabkit\datecalc-common/target/datecalc- > common-1.0_javadoc.jar] > internal_javadoc_needed = [] > internal_javadoc_working_dir = > [C:\project\objectlabkit\datecalc-common/target/javadoc] > > [echo] sourceModifications not used. > [echo] internal_javadoc_needed is false > [echo] ******************************************* > [echo] * No sources found. Javadoc not created ! * > [echo] ******************************************* > BUILD SUCCESSFUL > Total time : 4 seconds > Finished at : 05 September 2006 14:27:24 BST > > ---------------------- > project.xml > <project> > <extend>../common-build/project.xml</extend> > ... > <reports> > ... > <report>maven-javadoc-plugin</report> > </reports> > > > and the common-build/project.xml is very basic, nothing defined with > regards to directory structure... > > > > |
|
|
Re: [m1.1-rc1] javadoc does not generate anything...Did you set the <package> tag?
Quoting Benoit Xhenseval <benoitx@...>: > Hi *, > > Sorry to disturb... I cannot see what is wrong with my project.xml... why is > this not generating any javadoc? > I am using the conventional directory structure: > project > |- projectA > |- src > |- main > |- java > > I've run with javadoc 1.8, > > and I get this: > [echo] sourceModifications not used. > [echo] internal_javadoc_needed is false > [echo] ******************************************* > [echo] * No sources found. Javadoc not created ! * > [echo] ******************************************* > > the maven.compile.src.set does point correctly to the top of my source > directory. > > Why am I am getting this??? > > Any suggestion most welcomed! > (Also how could I generate a CONSOLIDATED set of javadoc given 3 > sub-projects) THANKS! > > Benoit. > > -------------- > DEBUG OUTPUT: > > ### Debug mode is on ### > ================================== > === java plugin properties === > ================================== > maven.compile.encoding = [] > maven.compile.src.set = > [C:\project\objectlabkit\datecalc-common\src\main\java] > ================================== > === docs properties === > ================================== > maven.docs.outputencoding = [ISO-8859-1] > ================================== > === javadoc plugin properties === > ================================== > -------------------- > Javadoc properties : > -------------------- > maven.javadoc.additionalparam = ["-breakiterator"] > maven.javadoc.extrasourcepath = [] > maven.javadoc.debug = [true] > maven.javadoc.doclet = [] > maven.javadoc.docletpath = [] > maven.javadoc.usestandardparameters = [] > maven.javadoc.excludepackagenames = [] > maven.javadoc.locale = [] > maven.javadoc.maxmemory = [512m] > maven.javadoc.overview = [] > maven.javadoc.package = [] > maven.javadoc.private = [] > maven.javadoc.public = [] > maven.javadoc.source = [] > maven.javadoc.useexternalfile = [yes] > maven.javadoc.failonerror = [false] > maven.javadoc.javadocreport = [true] > maven.javadoc.warningsreport = [true] > ---------------------------- > Standard doclet properties : > ---------------------------- > maven.javadoc.author = [true] > maven.javadoc.bottom = [Copyright © ObjectLab > Financial Ltd. All Rights Reserved.] > maven.javadoc.customtags = [] > maven.javadoc.destdir = > [C:\project\objectlabkit\datecalc-common/target/docs/apidocs] > maven.javadoc.footer = [] > maven.javadoc.header = [] > maven.javadoc.links = [] > maven.javadoc.offlineLinks = [] > maven.javadoc.mode.online = [] > maven.javadoc.stylesheet = [C:\Documents and > Settings\xhensevb\.maven\cache\maven-javadoc-plugin-1.8\plugin-res > ources/stylesheet.css] > maven.javadoc.tagletpath = [] > maven.javadoc.taglets = [] > maven.javadoc.use = [true] > maven.javadoc.version = [true] > maven.javadoc.windowtitle = [DateCalc Common 1.0 API] > ================================== > === Project descriptor === > ================================== > pom.package = [net.objectlab.kit.common] > ================================== > === javadoc internal variables === > ================================== > internal_javadoc_jar = > > internal_javadoc_needed = [] > internal_javadoc_working_dir = > [C:\project\objectlabkit\datecalc-common/target/javadoc] > > [echo] sourceModifications not used. > [echo] internal_javadoc_needed is false > [echo] ******************************************* > [echo] * No sources found. Javadoc not created ! * > [echo] ******************************************* > BUILD SUCCESSFUL > Total time : 4 seconds > Finished at : 05 September 2006 14:27:24 BST > > ---------------------- > project.xml > <project> > <extend>../common-build/project.xml</extend> > ... > <reports> > ... > <report>maven-javadoc-plugin</report> > </reports> > > > and the common-build/project.xml is very basic, nothing defined with regards > to directory structure... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: [m1.1-rc1] javadoc does not generate anything...Hi
Thanks for your replies, You both were right... the package was incorrect (thank Arnaud/Jeff). It was pointing to an old package that has been refactored... from net.objectlab.kit.common to net.objectlab.kit.datecalc.common (the error code is a bit cryptic...) I am trtying to use the dist:multiproject-bin and it looks promising but also fails on the same issue that I have with the xdoc plugin. I have done a clean install of both the 1.1.RC1 (29 Aug), and cache... Any suggestion? maven-junit-report-plugin:report: [echo] Generating the Source Xref... maven-jxr-plugin:report: [echo] [echo] Generating the Test Xref... maven-jxr-plugin:report: [echo] [echo] Generating the Task List... xdoc:init-i18n: xdoc:init: [echo] Generates the directory structure required for xdocs maven-tasklist-plugin:report: [echo] Generating tasklist ... xdoc:init-i18n: xdoc:init: [echo] Generates the directory structure required for xdocs xdoc:i18n-validation: [echo] Validation of the locale entries BUILD FAILED File...... file:/C:/Documents and Settings/xhensevb/.maven/cache/maven-multiproject-plugin-1.5/plugin.jelly Element... maven:reactor Line...... 103 Column.... 9 Unable to obtain goal [site] -- file:/C:/Documents and Settings/xhensevb/.maven/cache/maven-xdoc-plugin-1.10.1-SNAPSHOT/ plugin.jelly:666:70: <j:arg> [Ljava.lang.Object; Total time : 1 minutes 4 seconds Finished at : 05 September 2006 16:24:55 BST Thanks a lot Benoit. ----- Original Message ---- From: Arnaud HERITIER <aheritier@...> To: Maven Users List <users@...>; Benoit Xhenseval <benoitx@...> Sent: Tuesday, September 5, 2006 3:13:53 PM Subject: Re: [m1.1-rc1] javadoc does not generate anything... Do you have classes in the package net.objectlab.kit.common ? Can you try to comment the package in the pom ? You can use dist:multiproject-bin to generate a consolidated javadoc for all your projects. I don't know why this feature isn't in the javadoc plugin. Arnaud On 9/5/06, Benoit Xhenseval <benoitx@...> wrote: Hi *, Sorry to disturb... I cannot see what is wrong with my project.xml... why is this not generating any javadoc? I am using the conventional directory structure: project |- projectA |- src |- main |- java I've run with javadoc 1.8, and I get this: [echo] sourceModifications not used. [echo] internal_javadoc_needed is false [echo] ******************************************* [echo] * No sources found. Javadoc not created ! * [echo] ******************************************* the maven.compile.src.set does point correctly to the top of my source directory. Why am I am getting this??? Any suggestion most welcomed! (Also how could I generate a CONSOLIDATED set of javadoc given 3 sub-projects) THANKS! Benoit. -------------- DEBUG OUTPUT: ### Debug mode is on ### ================================== === java plugin properties === ================================== maven.compile.encoding = [] maven.compile.src.set = [C:\project\objectlabkit\datecalc-common\src\main\java] ================================== === docs properties === ================================== maven.docs.outputencoding = [ISO-8859-1] ================================== === javadoc plugin properties === ================================== -------------------- Javadoc properties : -------------------- maven.javadoc.additionalparam = ["-breakiterator"] maven.javadoc.extrasourcepath = [] maven.javadoc.debug = [true] maven.javadoc.doclet = [] maven.javadoc.docletpath = [] maven.javadoc.usestandardparameters = [] maven.javadoc.excludepackagenames = [] maven.javadoc.locale = [] maven.javadoc.maxmemory = [512m] maven.javadoc.overview = [] maven.javadoc.package = [] maven.javadoc.private = [] maven.javadoc.public = [] maven.javadoc.source = [] maven.javadoc.useexternalfile = [yes] maven.javadoc.failonerror = [false] maven.javadoc.javadocreport = [true] maven.javadoc.warningsreport = [true] ---------------------------- Standard doclet properties : ---------------------------- maven.javadoc.author = [true] maven.javadoc.bottom = [Copyright © ObjectLab Financial Ltd. All Rights Reserved.] maven.javadoc.customtags = [] maven.javadoc.destdir = [C:\project\objectlabkit\datecalc-common/target/docs/apidocs] maven.javadoc.footer = [] maven.javadoc.header = [] maven.javadoc.links = [] maven.javadoc.offlineLinks = [] maven.javadoc.mode.online = [] maven.javadoc.stylesheet = [C:\Documents and Settings\xhensevb\.maven\cache\maven-javadoc-plugin-1.8\plugin-res ources/stylesheet.css] maven.javadoc.tagletpath = [] maven.javadoc.taglets = [] maven.javadoc.use = [true] maven.javadoc.version = [true] maven.javadoc.windowtitle = [DateCalc Common 1.0 API] ================================== === Project descriptor === ================================== pom.package = [net.objectlab.kit.common] ================================== === javadoc internal variables === ================================== internal_javadoc_jar = [C:\project\objectlabkit\datecalc-common/target/datecalc-common-1.0_javadoc.jar] internal_javadoc_needed = [] internal_javadoc_working_dir = [C:\project\objectlabkit\datecalc-common/target/javadoc] [echo] sourceModifications not used. [echo] internal_javadoc_needed is false [echo] ******************************************* [echo] * No sources found. Javadoc not created ! * [echo] ******************************************* BUILD SUCCESSFUL Total time : 4 seconds Finished at : 05 September 2006 14:27:24 BST ---------------------- project.xml <project> <extend>../common-build/project.xml</extend> ... <reports> ... <report>maven-javadoc-plugin</report> </reports> and the common-build/project.xml is very basic, nothing defined with regards to directory structure... |
|
|
Re: [m1.1-rc1] javadoc does not generate anything...Do you have an internationalized site? There seems to be an issue with
determining the available locales. Please post the output of running maven with the -e parameter. Thanks, -Lukas Benoit Xhenseval wrote: > Hi > > Thanks for your replies, You both were right... the package was incorrect (thank Arnaud/Jeff). It was pointing to an old package that has been refactored... > from net.objectlab.kit.common to net.objectlab.kit.datecalc.common > (the error code is a bit cryptic...) > > I am trtying to use the dist:multiproject-bin and it looks promising but also fails on the same issue that I have with the xdoc plugin. I have done a clean install of both the 1.1.RC1 (29 Aug), and cache... Any suggestion? > > maven-junit-report-plugin:report: > > [echo] Generating the Source Xref... > maven-jxr-plugin:report: > [echo] > > [echo] Generating the Test Xref... > maven-jxr-plugin:report: > [echo] > > [echo] Generating the Task List... > xdoc:init-i18n: > > xdoc:init: > [echo] Generates the directory structure required for xdocs > > maven-tasklist-plugin:report: > [echo] Generating tasklist ... > > > xdoc:init-i18n: > > xdoc:init: > [echo] Generates the directory structure required for xdocs > > xdoc:i18n-validation: > [echo] Validation of the locale entries > > BUILD FAILED > File...... file:/C:/Documents and Settings/xhensevb/.maven/cache/maven-multiproject-plugin-1.5/plugin.jelly > Element... maven:reactor > Line...... 103 > Column.... 9 > Unable to obtain goal [site] -- file:/C:/Documents and Settings/xhensevb/.maven/cache/maven-xdoc-plugin-1.10.1-SNAPSHOT/ > plugin.jelly:666:70: <j:arg> [Ljava.lang.Object; > Total time : 1 minutes 4 seconds > Finished at : 05 September 2006 16:24:55 BST > > > Thanks a lot > > Benoit. > > ----- Original Message ---- > From: Arnaud HERITIER <aheritier@...> > To: Maven Users List <users@...>; Benoit Xhenseval <benoitx@...> > Sent: Tuesday, September 5, 2006 3:13:53 PM > Subject: Re: [m1.1-rc1] javadoc does not generate anything... > > Do you have classes in the package net.objectlab.kit.common ? > Can you try to comment the package in the pom ? > > You can use dist:multiproject-bin to generate a consolidated javadoc for all your projects. > I don't know why this feature isn't in the javadoc plugin. > > Arnaud > > On 9/5/06, Benoit Xhenseval <benoitx@...> wrote: Hi *, > > Sorry to disturb... I cannot see what is wrong with my project.xml... why is this not generating any javadoc? > I am using the conventional directory structure: > project > |- projectA > |- src > |- main > |- java > > I've run with javadoc 1.8, > > and I get this: > [echo] sourceModifications not used. > [echo] internal_javadoc_needed is false > [echo] ******************************************* > [echo] * No sources found. Javadoc not created ! * > [echo] ******************************************* > > the maven.compile.src.set does point correctly to the top of my source directory. > > Why am I am getting this??? > > Any suggestion most welcomed! > (Also how could I generate a CONSOLIDATED set of javadoc given 3 sub-projects) THANKS! > > Benoit. > > -------------- > DEBUG OUTPUT: > > ### Debug mode is on ### > ================================== > === java plugin properties === > ================================== > maven.compile.encoding = [] > maven.compile.src.set = [C:\project\objectlabkit\datecalc-common\src\main\java] > ================================== > === docs properties === > ================================== > maven.docs.outputencoding = [ISO-8859-1] > ================================== > === javadoc plugin properties === > ================================== > -------------------- > Javadoc properties : > -------------------- > maven.javadoc.additionalparam = ["-breakiterator"] > maven.javadoc.extrasourcepath = [] > maven.javadoc.debug = [true] > maven.javadoc.doclet = [] > maven.javadoc.docletpath = [] > maven.javadoc.usestandardparameters = [] > maven.javadoc.excludepackagenames = [] > maven.javadoc.locale = [] > maven.javadoc.maxmemory = [512m] > maven.javadoc.overview = [] > maven.javadoc.package = [] > maven.javadoc.private = [] > maven.javadoc.public = [] > maven.javadoc.source = [] > maven.javadoc.useexternalfile = [yes] > maven.javadoc.failonerror = [false] > maven.javadoc.javadocreport = [true] > maven.javadoc.warningsreport = [true] > ---------------------------- > Standard doclet properties : > ---------------------------- > maven.javadoc.author = [true] > maven.javadoc.bottom = [Copyright © ObjectLab Financial Ltd. All Rights Reserved.] > maven.javadoc.customtags = [] > maven.javadoc.destdir = [C:\project\objectlabkit\datecalc-common/target/docs/apidocs] > maven.javadoc.footer = [] > maven.javadoc.header = [] > maven.javadoc.links = [] > maven.javadoc.offlineLinks = [] > maven.javadoc.mode.online = [] > maven.javadoc.stylesheet = [C:\Documents and Settings\xhensevb\.maven\cache\maven-javadoc-plugin-1.8\plugin-res > ources/stylesheet.css] > maven.javadoc.tagletpath = [] > maven.javadoc.taglets = [] > maven.javadoc.use = [true] > maven.javadoc.version = [true] > maven.javadoc.windowtitle = [DateCalc Common 1.0 API] > ================================== > === Project descriptor === > ================================== > pom.package = [net.objectlab.kit.common] > ================================== > === javadoc internal variables === > ================================== > internal_javadoc_jar = [C:\project\objectlabkit\datecalc-common/target/datecalc-common-1.0_javadoc.jar] > internal_javadoc_needed = [] > internal_javadoc_working_dir = [C:\project\objectlabkit\datecalc-common/target/javadoc] > > [echo] sourceModifications not used. > [echo] internal_javadoc_needed is false > [echo] ******************************************* > [echo] * No sources found. Javadoc not created ! * > [echo] ******************************************* > BUILD SUCCESSFUL > Total time : 4 seconds > Finished at : 05 September 2006 14:27:24 BST > > ---------------------- > project.xml > <project> > <extend>../common-build/project.xml</extend> > ... > <reports> > ... > <report>maven-javadoc-plugin</report> > </reports> > > > and the common-build/project.xml is very basic, nothing defined with regards to directory structure... > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: [m1.1-rc1] javadoc does not generate anything...I though that the issue may be related to generics and calling this invokeStatic on java.util.Arrays
but this seems to work when I try at home with JDK 1.5.08 however, I'm having trouble with JDK 6-b2 May be the interface has changed or one cannot use the following jelly code: <j:invokeStatic method="getAvailableLocales" className="java.util.Locale" var="availableLocales"/> <j:invokeStatic className="java.util.Arrays" method="asList" var="availableLocalesAsList"> <j:arg value="${availableLocales}" type="[Ljava.lang.Object;"/> </j:invokeStatic> I have checked the API for JDK6 and it seems to be the same... Definitely something around this "asList" call... Benoit
|
|
|
Re: [m1.1-rc1] javadoc does not generate anything...Personnally I didn't test Maven 1.x with J2SE6. Only with 1.4 and 5.
We don't yet support it (and I'm not sure we'll do it). I suppose that m2 supports it ;-) Arnaud On 9/7/06, Benoitx <benoitx@...> wrote: > > > I though that the issue may be related to generics and calling this > invokeStatic on java.util.Arrays > but this seems to work when I try at home with JDK 1.5.08 however, I'm > having trouble with JDK 6-b2 > May be the interface has changed or one cannot use the following jelly > code: > > <j:invokeStatic method="getAvailableLocales" > className="java.util.Locale" var="availableLocales"/> > <j:invokeStatic className="java.util.Arrays" method="asList" > var="availableLocalesAsList"> > <j:arg value="${availableLocales}" type="[Ljava.lang.Object;"/> > </j:invokeStatic> > > I have checked the API for JDK6 and it seems to be the same... > > Definitely something around this "asList" call... > > Benoit > > > > Lukas Theussl-3 wrote: > > > > Do you have an internationalized site? There seems to be an issue with > > determining the available locales. Please post the output of running > > maven with the -e parameter. > > > > Thanks, > > -Lukas > > > > Benoit Xhenseval wrote: > >> Hi > >> > >> Thanks for your replies, You both were right... the package was > >> incorrect (thank Arnaud/Jeff). It was pointing to an old package that > has > >> been refactored... > >> from net.objectlab.kit.common to net.objectlab.kit.datecalc.common > >> (the error code is a bit cryptic...) > >> > >> I am trtying to use the dist:multiproject-bin and it looks promising > but > >> also fails on the same issue that I have with the xdoc plugin. I have > >> done a clean install of both the 1.1.RC1 (29 Aug), and cache... Any > >> suggestion? > >> > >> maven-junit-report-plugin:report: > >> > >> [echo] Generating the Source Xref... > >> maven-jxr-plugin:report: > >> [echo] > >> > >> [echo] Generating the Test Xref... > >> maven-jxr-plugin:report: > >> [echo] > >> > >> [echo] Generating the Task List... > >> xdoc:init-i18n: > >> > >> xdoc:init: > >> [echo] Generates the directory structure required for xdocs > >> > >> maven-tasklist-plugin:report: > >> [echo] Generating tasklist ... > >> > >> > >> xdoc:init-i18n: > >> > >> xdoc:init: > >> [echo] Generates the directory structure required for xdocs > >> > >> xdoc:i18n-validation: > >> [echo] Validation of the locale entries > >> > >> BUILD FAILED > >> File...... file:/C:/Documents and > >> Settings/xhensevb/.maven/cache/maven-multiproject-plugin-1.5 > /plugin.jelly > >> Element... maven:reactor > >> Line...... 103 > >> Column.... 9 > >> Unable to obtain goal [site] -- file:/C:/Documents and > >> Settings/xhensevb/.maven/cache/maven-xdoc-plugin-1.10.1-SNAPSHOT/ > >> plugin.jelly:666:70: <j:arg> [Ljava.lang.Object; > >> Total time : 1 minutes 4 seconds > >> Finished at : 05 September 2006 16:24:55 BST > >> > >> > >> Thanks a lot > >> > >> Benoit. > >> > >> ----- Original Message ---- > >> From: Arnaud HERITIER <aheritier@...> > >> To: Maven Users List <users@...>; Benoit Xhenseval > >> <benoitx@...> > >> Sent: Tuesday, September 5, 2006 3:13:53 PM > >> Subject: Re: [m1.1-rc1] javadoc does not generate anything... > >> > >> Do you have classes in the package net.objectlab.kit.common ? > >> Can you try to comment the package in the pom ? > >> > >> You can use dist:multiproject-bin to generate a consolidated javadoc > for > >> all your projects. > >> I don't know why this feature isn't in the javadoc plugin. > >> > >> Arnaud > >> > >> On 9/5/06, Benoit Xhenseval <benoitx@...> wrote: Hi *, > >> > >> Sorry to disturb... I cannot see what is wrong with my project.xml... > why > >> is this not generating any javadoc? > >> I am using the conventional directory structure: > >> project > >> |- projectA > >> |- src > >> |- main > >> |- java > >> > >> I've run with javadoc 1.8, > >> > >> and I get this: > >> [echo] sourceModifications not used. > >> [echo] internal_javadoc_needed is false > >> [echo] ******************************************* > >> [echo] * No sources found. Javadoc not created ! * > >> [echo] ******************************************* > >> > >> the maven.compile.src.set does point correctly to the top of my source > >> directory. > >> > >> Why am I am getting this??? > >> > >> Any suggestion most welcomed! > >> (Also how could I generate a CONSOLIDATED set of javadoc given 3 > >> sub-projects) THANKS! > >> > >> Benoit. > >> > >> -------------- > >> DEBUG OUTPUT: > >> > >> ### Debug mode is on ### > >> ================================== > >> === java plugin properties === > >> ================================== > >> maven.compile.encoding = [] > >> maven.compile.src.set = > >> [C:\project\objectlabkit\datecalc-common\src\main\java] > >> ================================== > >> === docs properties === > >> ================================== > >> maven.docs.outputencoding = [ISO-8859-1] > >> ================================== > >> === javadoc plugin properties === > >> ================================== > >> -------------------- > >> Javadoc properties : > >> -------------------- > >> maven.javadoc.additionalparam = ["-breakiterator"] > >> maven.javadoc.extrasourcepath = [] > >> maven.javadoc.debug = [true] > >> maven.javadoc.doclet = [] > >> maven.javadoc.docletpath = [] > >> maven.javadoc.usestandardparameters = [] > >> maven.javadoc.excludepackagenames = [] > >> maven.javadoc.locale = [] > >> maven.javadoc.maxmemory = [512m] > >> maven.javadoc.overview = [] > >> maven.javadoc.package = [] > >> maven.javadoc.private = [] > >> maven.javadoc.public = [] > >> maven.javadoc.source = [] > >> maven.javadoc.useexternalfile = [yes] > >> maven.javadoc.failonerror = [false] > >> maven.javadoc.javadocreport = [true] > >> maven.javadoc.warningsreport = [true] > >> ---------------------------- > >> Standard doclet properties : > >> ---------------------------- > >> maven.javadoc.author = [true] > >> maven.javadoc.bottom = [Copyright (c) ObjectLab > >> Financial Ltd. All Rights Reserved.] > >> maven.javadoc.customtags = [] > >> maven.javadoc.destdir = > >> [C:\project\objectlabkit\datecalc-common/target/docs/apidocs] > >> maven.javadoc.footer = [] > >> maven.javadoc.header = [] > >> maven.javadoc.links = [] > >> maven.javadoc.offlineLinks = [] > >> maven.javadoc.mode.online = [] > >> maven.javadoc.stylesheet = [C:\Documents and > >> Settings\xhensevb\.maven\cache\maven-javadoc-plugin-1.8\plugin-res > >> ources/stylesheet.css] > >> maven.javadoc.tagletpath = [] > >> maven.javadoc.taglets = [] > >> maven.javadoc.use = [true] > >> maven.javadoc.version = [true] > >> maven.javadoc.windowtitle = [DateCalc Common 1.0 API] > >> ================================== > >> === Project descriptor === > >> ================================== > >> pom.package = [net.objectlab.kit.common] > >> ================================== > >> === javadoc internal variables === > >> ================================== > >> internal_javadoc_jar = > >> [C:\project\objectlabkit\datecalc-common/target/datecalc- > common-1.0_javadoc.jar] > >> internal_javadoc_needed = [] > >> internal_javadoc_working_dir = > >> [C:\project\objectlabkit\datecalc-common/target/javadoc] > >> > >> [echo] sourceModifications not used. > >> [echo] internal_javadoc_needed is false > >> [echo] ******************************************* > >> [echo] * No sources found. Javadoc not created ! * > >> [echo] ******************************************* > >> BUILD SUCCESSFUL > >> Total time : 4 seconds > >> Finished at : 05 September 2006 14:27:24 BST > >> > >> ---------------------- > >> project.xml > >> <project> > >> <extend>../common-build/project.xml</extend> > >> ... > >> <reports> > >> ... > >> <report>maven-javadoc-plugin</report> > >> </reports> > >> > >> > >> and the common-build/project.xml is very basic, nothing defined with > >> regards to directory structure... > >> > >> > >> > >> > >> > >> > >> > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@... > > For additional commands, e-mail: users-help@... > > > > > > > > -- > View this message in context: > http://www.nabble.com/-m1.1-rc1--javadoc-does-not-generate-anything...-tf2220969.html#a6187017 > Sent from the Maven - Users forum at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > |
|
|
Re: [m1.1-rc1] javadoc does not generate anything...Hi Arnaud,
Thanks for your reply. Could somebody confirm that it is a JDK6 issue? Just maven multiproject:site or maven site should do it... Thanks Benoit
|
| Free embeddable forum powered by Nabble | Forum Help |