You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Felipe Leme <ma...@felipeal.net> on 2004/08/23 20:05:40 UTC

[BUG] javadoc:jar fails if project doesn't have source files

Here is another bug I was going to report (before Jira boicotted me :-):

If your project doesn't have source files, javadoc:jar (and goals that 
depends on it, like javadoc:deploy) fails, even though javadoc itself  
suceeds.
You can reproduce this bug on the maven-plugins root:

$ maven javadoc
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-cpqd-1.0.0

BUILD SUCCESSFUL
Total time: 26 seconds
Finished at: Mon Aug 23 14:53:19 BRT 2004

$ maven javadoc:jar
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-cpqd-1.0.0

build:start:

xdoc:init:
    [mkdir] Created dir: D:\cvs\maven-plugins\target\generated-xdocs
    [mkdir] Created dir: D:\cvs\maven-plugins\target\docs

maven-javadoc-plugin:report:
    [mkdir] Created dir: D:\cvs\maven-plugins\target\javadoc
    [mkdir] Created dir: D:\cvs\maven-plugins\target\javadoc\src

BUILD FAILED
File...... C:\Documents and 
Settings\t_fl01\.maven\cache\maven-javadoc-plugin-1.7-snapshot-cpqd\plugin.jelly
Element... ant:jar
Line...... 464
Column.... 24
D:\cvs\maven-plugins\target\docs\apidocs not found.
Total time: 38 seconds
Finished at: Mon Aug 23 14:51:35 BRT 2004


It shouldn't be hard to fix this one - I will try a patch once I'm  back 
from my 'break' :-)

-- Felipe

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


RE: [BUG] javadoc:jar fails if project doesn't have source files

Posted by Arnaud HERITIER <ah...@gmail.com>.
Hi Felipe,

	I succeeded to open an issue: MPJAVADOC-40

Arnaud

> -----Message d'origine-----
> De : Felipe Leme [mailto:maven@felipeal.net]
> Envoyé : lundi 23 août 2004 20:06
> À : Maven Developers List
> Objet : [BUG] javadoc:jar fails if project doesn't have source files
> 
> Here is another bug I was going to report (before Jira boicotted me :-):
> 
> If your project doesn't have source files, javadoc:jar (and goals that
> depends on it, like javadoc:deploy) fails, even though javadoc itself
> suceeds.
> You can reproduce this bug on the maven-plugins root:
> 
> $ maven javadoc
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-cpqd-1.0.0
> 
> BUILD SUCCESSFUL
> Total time: 26 seconds
> Finished at: Mon Aug 23 14:53:19 BRT 2004
> 
> $ maven javadoc:jar
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-cpqd-1.0.0
> 
> build:start:
> 
> xdoc:init:
>     [mkdir] Created dir: D:\cvs\maven-plugins\target\generated-xdocs
>     [mkdir] Created dir: D:\cvs\maven-plugins\target\docs
> 
> maven-javadoc-plugin:report:
>     [mkdir] Created dir: D:\cvs\maven-plugins\target\javadoc
>     [mkdir] Created dir: D:\cvs\maven-plugins\target\javadoc\src
> 
> BUILD FAILED
> File...... C:\Documents and
> Settings\t_fl01\.maven\cache\maven-javadoc-plugin-1.7-snapshot-cpqd\plugin.jelly
> Element... ant:jar
> Line...... 464
> Column.... 24
> D:\cvs\maven-plugins\target\docs\apidocs not found.
> Total time: 38 seconds
> Finished at: Mon Aug 23 14:51:35 BRT 2004
> 
> 
> It shouldn't be hard to fix this one - I will try a patch once I'm  back
> from my 'break' :-)
> 
> -- Felipe
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> 
> #================== gPopper Menu ===================#
> Delete from Gmail inbox:   mailto:del|fe8cd6402d51c86@gPopper
> Mark message as unread:    mailto:unr|fe8cd6402d51c86@gPopper
> Mark message as read:      mailto:rea|fe8cd6402d51c86@gPopper



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