You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/08/24 11:19:28 UTC

[jira] Created: (MPJAVADOC-40) javadoc:jar fails if project doesn't have source files

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVADOC-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-40
    Summary:  javadoc:jar fails if project doesn't have source files
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javadoc-plugin
   Versions:
             1.6
             1.6.1

   Assignee: Arnaud HERITIER
   Reporter: Arnaud HERITIER

    Created: Tue, 24 Aug 2004 5:17 AM
    Updated: Tue, 24 Aug 2004 5:17 AM

Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Reopened: (MPJAVADOC-40) javadoc:jar fails if project doesn't have source files

Posted by ji...@codehaus.org.
Message:

   The following issue has been reopened.

   Reopener: Felipe Leme
       Date: Wed, 1 Sep 2004 11:02 PM

Test case 07 is failing:
maven-javadoc-plugin:report:
    [mkdir] Created dir: /home/felipeal/cvs/maven/maven-plugins/javadoc/src/plugin-test/test07/target/javadoc
    [mkdir] Created dir: /home/felipeal/cvs/maven/maven-plugins/javadoc/src/plugin-test/test07/target/javadoc/src
 
BUILD FAILED
File...... /home/felipeal/.maven/cache/maven-javadoc-plugin-1.7-SNAPSHOT/plugin.jelly
Element... ant:copy
Line...... 115
Column.... 57
Specify at least one source - a file or a fileset.
Total time: 9 seconds
Finished at: Wed Sep 01 23:52:49 BRT 2004

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVADOC-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-40
    Summary:  javadoc:jar fails if project doesn't have source files
       Type: Bug

     Status: Reopened
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javadoc-plugin
   Fix Fors:
             1.7
   Versions:
             1.6
             1.6.1

   Assignee: Arnaud HERITIER
   Reporter: Arnaud HERITIER

    Created: Tue, 24 Aug 2004 5:17 AM
    Updated: Wed, 1 Sep 2004 11:02 PM

Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MPJAVADOC-40) javadoc:jar fails if project doesn't have source files

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Tue, 24 Aug 2004 8:45 AM
       Body:
Yes, it will.

But I think it's better then getting an exception. Anyway, the current behavior is not consistent, as javadoc:generate works. So we either change javadoc:jar to work too or change javadoc:generate to fail as well.

Another option would be enclosing the javadoc:install (and others) tags into a <util:available> tag. That way the jar won't be created and the goal won't fail. 

Anyway, it's just a matter of style (I, for instance, prefer a empty jar than nothing at all). So, whatever we decide, I can create a patch.

Felipe

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJAVADOC-40?page=comments#action_23383

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVADOC-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-40
    Summary:  javadoc:jar fails if project doesn't have source files
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javadoc-plugin
   Versions:
             1.6
             1.6.1

   Assignee: Arnaud HERITIER
   Reporter: Arnaud HERITIER

    Created: Tue, 24 Aug 2004 5:17 AM
    Updated: Tue, 24 Aug 2004 8:45 AM

Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MPJAVADOC-40) javadoc:jar fails if project doesn't have source files

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Arnaud HERITIER
    Created: Tue, 24 Aug 2004 9:05 AM
       Body:
Temporarly I commited the fix with the mkdir before the test.
I'll do somethink better with util:available to definitively close this issue.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJAVADOC-40?page=comments#action_23384

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVADOC-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-40
    Summary:  javadoc:jar fails if project doesn't have source files
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javadoc-plugin
   Versions:
             1.6
             1.6.1

   Assignee: Arnaud HERITIER
   Reporter: Arnaud HERITIER

    Created: Tue, 24 Aug 2004 5:17 AM
    Updated: Tue, 24 Aug 2004 9:05 AM

Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MPJAVADOC-40) javadoc:jar fails if project doesn't have source files

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Tue, 24 Aug 2004 7:47 AM
       Body:
Hi Arnaud,

Thanks for opening this issue (I couldn't, as Jira was bug).

Anyway, the fix is pretty simple: it's just a matter of callign mkdir before the <j:if> statement:

Before it was:
  <goal name="maven-javadoc-plugin:report"
        description="Generate API documentation" prereqs="xdoc:init">

    <javadoc:init/>
    <j:if test="${internal.javadoc.needed}">
      <ant:mkdir dir="${maven.javadoc.destdir}"/>

Now it should be:

    <ant:mkdir dir="${maven.javadoc.destdir}"/>
    <j:if test="${internal.javadoc.needed}">


I'll provide a patch...

Felipe



---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJAVADOC-40?page=comments#action_23377

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVADOC-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-40
    Summary:  javadoc:jar fails if project doesn't have source files
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javadoc-plugin
   Versions:
             1.6
             1.6.1

   Assignee: Arnaud HERITIER
   Reporter: Arnaud HERITIER

    Created: Tue, 24 Aug 2004 5:17 AM
    Updated: Tue, 24 Aug 2004 7:47 AM

Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (MPJAVADOC-40) javadoc:jar fails if project doesn't have source files

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Arnaud HERITIER
       Date: Fri, 3 Sep 2004 6:53 PM

it is the same problem as MPJAVADOC-43
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVADOC-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-40
    Summary:  javadoc:jar fails if project doesn't have source files
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javadoc-plugin
   Fix Fors:
             1.7
   Versions:
             1.6
             1.6.1

   Assignee: Arnaud HERITIER
   Reporter: Arnaud HERITIER

    Created: Tue, 24 Aug 2004 5:17 AM
    Updated: Fri, 3 Sep 2004 6:53 PM

Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MPJAVADOC-40) javadoc:jar fails if project doesn't have source files

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Arnaud HERITIER
    Created: Tue, 24 Aug 2004 8:05 AM
       Body:
If we do this, won't we create an empty jar ?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJAVADOC-40?page=comments#action_23378

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVADOC-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-40
    Summary:  javadoc:jar fails if project doesn't have source files
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javadoc-plugin
   Versions:
             1.6
             1.6.1

   Assignee: Arnaud HERITIER
   Reporter: Arnaud HERITIER

    Created: Tue, 24 Aug 2004 5:17 AM
    Updated: Tue, 24 Aug 2004 8:05 AM

Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (MPJAVADOC-40) javadoc:jar fails if project doesn't have source files

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVADOC-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-40
    Summary:  javadoc:jar fails if project doesn't have source files
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javadoc-plugin
   Fix Fors:
             1.7
   Versions:
             1.6
             1.6.1

   Assignee: Arnaud HERITIER
   Reporter: Arnaud HERITIER

    Created: Tue, 24 Aug 2004 5:17 AM
    Updated: Wed, 25 Aug 2004 3:56 PM

Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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