You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Peter Nabbefeld <Pe...@gmx.de> on 2004/07/31 13:10:16 UTC

Javadoc plugin / default package

Hello,

I've got the following error:

BUILD FAILED
File...... C:\Dokumente und 
Einstellungen\Administrator.TUCHOLA\.maven\cache\maven-javadoc-plugin-1.6.1\plugin.jelly
Element... ant:javadoc
Line...... 289
Column.... 10
No source files and no packages have been specified.
Total time: 7 seconds
Finished at: Sat Jul 31 12:24:13 CEST 2004

After some searching in the newsgroup I've found, that I'd specify the 
package in the POM. I've also tried to add more than one package 
definition. However, there remain some problems with this:
1. How can I specify all packages of one application? Do I have to 
insert a package definition for each of them?
2. How can I specify the default package?

Kind regards

Peter Nabbefeld


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Javadoc plugin / default package

Posted by Dion Gillard <di...@gmail.com>.
On Sat, 31 Jul 2004 13:10:16 +0200, Peter Nabbefeld
<pe...@gmx.de> wrote:

> 2. How can I specify the default package?
I don't believe you can
-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Javadoc plugin / default package

Posted by Peter Nabbefeld <Pe...@gmx.de>.
Arnaud HERITIER schrieb:
> It uses both of them.
> 
> I began to correct MPJAVADOC-36 in CVS.
> 

Could You please also fix documentation, so users would know what to 
specify? I've had problems blocking my site build, because javadoc is 
one of the standard reports - so IMO it is very important to have a good 
and complete documentation for it.

Kind regards

Peter Nabbefeld

> The package will be optional.
> 
> Arnaud
> 
> 
>>-----Message d'origine-----
>>De : news [mailto:news@sea.gmane.org] De la part de Peter Nabbefeld
>>Envoyé : samedi 31 juillet 2004 14:54
>>À : users@maven.apache.org
>>Objet : Re: Javadoc plugin / default package
>>
>>
>>Don't know why - this time it worked as expected. However, IMO it should
>>also work with the default package and with more than one package.
>>
>>Thank You for Your help.
>>
>>Kind regards
>>
>>Peter
>>
>>
>>NB: Why does the javadoc plugin use the package instead of the
>>sourceDirectory?
>>
>>
>>
>>
>>Dion Gillard schrieb:
>>
>>
>>>The last one would win. The POM would be invalid though.
>>>
>>>I routinely specify the package in the POM as au.com.multitask and get
>>>subpackages under that in the report....?
>>>
>>>On Sat, 31 Jul 2004 14:10:58 +0200, Peter Nabbefeld
>>><pe...@gmx.de> wrote:
>>>
>>>
>>>>Dion Gillard schrieb:
>>>>
>>>>
>>>>
>>>>>There is only one package in the pom.
>>>>>
>>>>
>>>>I didn't get the javadoc for a class in a sub-package, so I added a
>>>>second <package>-entry, that worked.
>>>>
>>>>Regards,
>>>>Peter
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>On Sat, 31 Jul 2004 13:10:16 +0200, Peter Nabbefeld
>>>>><pe...@gmx.de> wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Hello,
>>>>>>
>>>>>>I've got the following error:
>>>>>>
>>>>>>BUILD FAILED
>>>>>>File...... C:\Dokumente und
>>>>>>Einstellungen\Administrator.TUCHOLA\.maven\cache\maven-javadoc-plugin-1.6.1\plugin.jelly
>>>>>>Element... ant:javadoc
>>>>>>Line...... 289
>>>>>>Column.... 10
>>>>>>No source files and no packages have been specified.
>>>>>>Total time: 7 seconds
>>>>>>Finished at: Sat Jul 31 12:24:13 CEST 2004
>>>>>>
>>>>>>After some searching in the newsgroup I've found, that I'd specify the
>>>>>>package in the POM. I've also tried to add more than one package
>>>>>>definition. However, there remain some problems with this:
>>>>>>1. How can I specify all packages of one application? Do I have to
>>>>>>insert a package definition for each of them?
>>>>>>2. How can I specify the default package?
>>>>>>
>>>>>>Kind regards
>>>>>>
>>>>>>Peter Nabbefeld
>>>>>>
>>>>>>---------------------------------------------------------------------
>>>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>#================== PGtGM Menu ===================#
>>Delete from Gmail inbox:   mailto:del|fe15401f81eec3f@PGtGM
>>Mark message as unread:    mailto:unr|fe15401f81eec3f@PGtGM
>>Mark message as read:      mailto:rea|fe15401f81eec3f@PGtGM
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Javadoc plugin / default package

Posted by Arnaud HERITIER <ah...@gmail.com>.
It uses both of them.

I began to correct MPJAVADOC-36 in CVS.

The package will be optional.

Arnaud

> -----Message d'origine-----
> De : news [mailto:news@sea.gmane.org] De la part de Peter Nabbefeld
> Envoyé : samedi 31 juillet 2004 14:54
> À : users@maven.apache.org
> Objet : Re: Javadoc plugin / default package
> 
> 
> Don't know why - this time it worked as expected. However, IMO it should
> also work with the default package and with more than one package.
> 
> Thank You for Your help.
> 
> Kind regards
> 
> Peter
> 
> 
> NB: Why does the javadoc plugin use the package instead of the
> sourceDirectory?
> 
> 
> 
> 
> Dion Gillard schrieb:
> 
> > The last one would win. The POM would be invalid though.
> >
> > I routinely specify the package in the POM as au.com.multitask and get
> > subpackages under that in the report....?
> >
> > On Sat, 31 Jul 2004 14:10:58 +0200, Peter Nabbefeld
> > <pe...@gmx.de> wrote:
> >
> >>Dion Gillard schrieb:
> >>
> >>
> >>>There is only one package in the pom.
> >>>
> >>
> >>I didn't get the javadoc for a class in a sub-package, so I added a
> >>second <package>-entry, that worked.
> >>
> >>Regards,
> >>Peter
> >>
> >>
> >>
> >>
> >>
> >>>On Sat, 31 Jul 2004 13:10:16 +0200, Peter Nabbefeld
> >>><pe...@gmx.de> wrote:
> >>>
> >>>
> >>>>Hello,
> >>>>
> >>>>I've got the following error:
> >>>>
> >>>>BUILD FAILED
> >>>>File...... C:\Dokumente und
> >>>>Einstellungen\Administrator.TUCHOLA\.maven\cache\maven-javadoc-plugin-1.6.1\plugin.jelly
> >>>>Element... ant:javadoc
> >>>>Line...... 289
> >>>>Column.... 10
> >>>>No source files and no packages have been specified.
> >>>>Total time: 7 seconds
> >>>>Finished at: Sat Jul 31 12:24:13 CEST 2004
> >>>>
> >>>>After some searching in the newsgroup I've found, that I'd specify the
> >>>>package in the POM. I've also tried to add more than one package
> >>>>definition. However, there remain some problems with this:
> >>>>1. How can I specify all packages of one application? Do I have to
> >>>>insert a package definition for each of them?
> >>>>2. How can I specify the default package?
> >>>>
> >>>>Kind regards
> >>>>
> >>>>Peter Nabbefeld
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>>For additional commands, e-mail: users-help@maven.apache.org
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> #================== PGtGM Menu ===================#
> Delete from Gmail inbox:   mailto:del|fe15401f81eec3f@PGtGM
> Mark message as unread:    mailto:unr|fe15401f81eec3f@PGtGM
> Mark message as read:      mailto:rea|fe15401f81eec3f@PGtGM



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Javadoc plugin / default package

Posted by Peter Nabbefeld <Pe...@gmx.de>.
Don't know why - this time it worked as expected. However, IMO it should 
also work with the default package and with more than one package.

Thank You for Your help.

Kind regards

Peter


NB: Why does the javadoc plugin use the package instead of the 
sourceDirectory?




Dion Gillard schrieb:

> The last one would win. The POM would be invalid though.
> 
> I routinely specify the package in the POM as au.com.multitask and get
> subpackages under that in the report....?
> 
> On Sat, 31 Jul 2004 14:10:58 +0200, Peter Nabbefeld
> <pe...@gmx.de> wrote:
> 
>>Dion Gillard schrieb:
>>
>>
>>>There is only one package in the pom.
>>>
>>
>>I didn't get the javadoc for a class in a sub-package, so I added a
>>second <package>-entry, that worked.
>>
>>Regards,
>>Peter
>>
>>
>>
>>
>>
>>>On Sat, 31 Jul 2004 13:10:16 +0200, Peter Nabbefeld
>>><pe...@gmx.de> wrote:
>>>
>>>
>>>>Hello,
>>>>
>>>>I've got the following error:
>>>>
>>>>BUILD FAILED
>>>>File...... C:\Dokumente und
>>>>Einstellungen\Administrator.TUCHOLA\.maven\cache\maven-javadoc-plugin-1.6.1\plugin.jelly
>>>>Element... ant:javadoc
>>>>Line...... 289
>>>>Column.... 10
>>>>No source files and no packages have been specified.
>>>>Total time: 7 seconds
>>>>Finished at: Sat Jul 31 12:24:13 CEST 2004
>>>>
>>>>After some searching in the newsgroup I've found, that I'd specify the
>>>>package in the POM. I've also tried to add more than one package
>>>>definition. However, there remain some problems with this:
>>>>1. How can I specify all packages of one application? Do I have to
>>>>insert a package definition for each of them?
>>>>2. How can I specify the default package?
>>>>
>>>>Kind regards
>>>>
>>>>Peter Nabbefeld
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Javadoc plugin / default package

Posted by Dion Gillard <di...@gmail.com>.
The last one would win. The POM would be invalid though.

I routinely specify the package in the POM as au.com.multitask and get
subpackages under that in the report....?

On Sat, 31 Jul 2004 14:10:58 +0200, Peter Nabbefeld
<pe...@gmx.de> wrote:
> Dion Gillard schrieb:
> 
> > There is only one package in the pom.
> >
> 
> I didn't get the javadoc for a class in a sub-package, so I added a
> second <package>-entry, that worked.
> 
> Regards,
> Peter
> 
> 
> 
> 
> > On Sat, 31 Jul 2004 13:10:16 +0200, Peter Nabbefeld
> > <pe...@gmx.de> wrote:
> >
> >>Hello,
> >>
> >>I've got the following error:
> >>
> >>BUILD FAILED
> >>File...... C:\Dokumente und
> >>Einstellungen\Administrator.TUCHOLA\.maven\cache\maven-javadoc-plugin-1.6.1\plugin.jelly
> >>Element... ant:javadoc
> >>Line...... 289
> >>Column.... 10
> >>No source files and no packages have been specified.
> >>Total time: 7 seconds
> >>Finished at: Sat Jul 31 12:24:13 CEST 2004
> >>
> >>After some searching in the newsgroup I've found, that I'd specify the
> >>package in the POM. I've also tried to add more than one package
> >>definition. However, there remain some problems with this:
> >>1. How can I specify all packages of one application? Do I have to
> >>insert a package definition for each of them?
> >>2. How can I specify the default package?
> >>
> >>Kind regards
> >>
> >>Peter Nabbefeld
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Javadoc plugin / default package

Posted by Peter Nabbefeld <Pe...@gmx.de>.
Dion Gillard schrieb:

> There is only one package in the pom.
> 

I didn't get the javadoc for a class in a sub-package, so I added a 
second <package>-entry, that worked.

Regards,
Peter



> On Sat, 31 Jul 2004 13:10:16 +0200, Peter Nabbefeld
> <pe...@gmx.de> wrote:
> 
>>Hello,
>>
>>I've got the following error:
>>
>>BUILD FAILED
>>File...... C:\Dokumente und
>>Einstellungen\Administrator.TUCHOLA\.maven\cache\maven-javadoc-plugin-1.6.1\plugin.jelly
>>Element... ant:javadoc
>>Line...... 289
>>Column.... 10
>>No source files and no packages have been specified.
>>Total time: 7 seconds
>>Finished at: Sat Jul 31 12:24:13 CEST 2004
>>
>>After some searching in the newsgroup I've found, that I'd specify the
>>package in the POM. I've also tried to add more than one package
>>definition. However, there remain some problems with this:
>>1. How can I specify all packages of one application? Do I have to
>>insert a package definition for each of them?
>>2. How can I specify the default package?
>>
>>Kind regards
>>
>>Peter Nabbefeld
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Javadoc plugin / default package

Posted by Dion Gillard <di...@gmail.com>.
There is only one package in the pom.

On Sat, 31 Jul 2004 13:10:16 +0200, Peter Nabbefeld
<pe...@gmx.de> wrote:
> 
> Hello,
> 
> I've got the following error:
> 
> BUILD FAILED
> File...... C:\Dokumente und
> Einstellungen\Administrator.TUCHOLA\.maven\cache\maven-javadoc-plugin-1.6.1\plugin.jelly
> Element... ant:javadoc
> Line...... 289
> Column.... 10
> No source files and no packages have been specified.
> Total time: 7 seconds
> Finished at: Sat Jul 31 12:24:13 CEST 2004
> 
> After some searching in the newsgroup I've found, that I'd specify the
> package in the POM. I've also tried to add more than one package
> definition. However, there remain some problems with this:
> 1. How can I specify all packages of one application? Do I have to
> insert a package definition for each of them?
> 2. How can I specify the default package?
> 
> Kind regards
> 
> Peter Nabbefeld
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org