You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rob Dickens (JIRA)" <ji...@codehaus.org> on 2006/05/31 09:27:44 UTC

[jira] Created: (MJAVADOC-76) doc-files/* not copied if project does not have modules

doc-files/* not copied if project does not have modules
-------------------------------------------------------

         Key: MJAVADOC-76
         URL: http://jira.codehaus.org/browse/MJAVADOC-76
     Project: Maven 2.x Javadoc Plugin
        Type: Bug

    Versions: 2.0    
 Environment: mvn 2.0.4, Java 1.5, OS X 10.4
    Reporter: Rob Dickens
    Priority: Critical


The summary about says it all. In an earlier project, involving modules, and with aggregate set to true, the contents of doc-files directectories does get copied. Now, where my project does not involve modules, it doesn't.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MJAVADOC-76) doc-files/* not copied if project does not have modules

Posted by "Nathan Beyer (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MJAVADOC-76?page=comments#action_66506 ] 

Nathan Beyer commented on MJAVADOC-76:
--------------------------------------

My 'doc-files' folder isn't getting copied either, but I'm only using a very simple and plain project setup (no modules). What I've deduced is that if the 'doc-files' folders are in the source folder (as defined) in the POM, they will get copied. If the 'doc-files' are in any of the resources folders, they will not get copied.

It seems the javadoc tool looks for the 'doc-files' based on what's passed in the "-sourcepath" option and the plugin is setting this to the source folder.

BTW: My environment is Maven 2.0.4, Sun JDK 5.0_7, Windows XP SP2

> doc-files/* not copied if project does not have modules
> -------------------------------------------------------
>
>          Key: MJAVADOC-76
>          URL: http://jira.codehaus.org/browse/MJAVADOC-76
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: mvn 2.0.4, Java 1.5, OS X 10.4
>     Reporter: Rob Dickens
>     Priority: Critical

>
>
> The summary about says it all. In an earlier project, involving modules, and with aggregate set to true, the contents of doc-files directectories does get copied. Now, where my project does not involve modules, it doesn't.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (MJAVADOC-76) doc-files/* not copied if project does not have modules

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAVADOC-76?page=all ]

Brett Porter updated MJAVADOC-76:
---------------------------------

        Version:     (was: 2.0)
    Fix Version:     (was: 2.0)

> doc-files/* not copied if project does not have modules
> -------------------------------------------------------
>
>          Key: MJAVADOC-76
>          URL: http://jira.codehaus.org/browse/MJAVADOC-76
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>  Environment: mvn 2.0.4, Java 1.5, OS X 10.4
>     Reporter: Rob Dickens
>     Priority: Critical

>
>
> The summary about says it all. In an earlier project, involving modules, and with aggregate set to true, the contents of doc-files directectories does get copied. Now, where my project does not involve modules, it doesn't.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MJAVADOC-76) doc-files/* not copied if project does not have modules

Posted by "Nathan Beyer (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MJAVADOC-76?page=comments#action_66510 ] 

Nathan Beyer commented on MJAVADOC-76:
--------------------------------------

According to the javadoc tool documentation, the 'sourcepath' paramter can be ommited and the source will be searched for in the 'classpath' parameter. Perhaps, the default setup should be to put the sourceDirectory in the 'classpath' parameter if the 'sourcepath' configuration is not set. This way, the source is found for javadoc to process and the doc-files and contents will be in outputDirectory, so the doc-files folder will be found.

> doc-files/* not copied if project does not have modules
> -------------------------------------------------------
>
>          Key: MJAVADOC-76
>          URL: http://jira.codehaus.org/browse/MJAVADOC-76
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: mvn 2.0.4, Java 1.5, OS X 10.4
>     Reporter: Rob Dickens
>     Priority: Critical

>
>
> The summary about says it all. In an earlier project, involving modules, and with aggregate set to true, the contents of doc-files directectories does get copied. Now, where my project does not involve modules, it doesn't.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MJAVADOC-76) doc-files/* not copied if project does not have modules

Posted by "Rob Dickens (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAVADOC-76?page=all ]
     
Rob Dickens closed MJAVADOC-76:
-------------------------------

     Resolution: Cannot Reproduce
    Fix Version: 2.0

It looks like the bug was confined to the version I had built from src--2.0 as of 2006-05-05. (Version 2.0 wasn't released until 2006-05-14.)

I just cleared this from my local repository, thereby forcing the released version to be downloaded, and the problem went away.

As a test, I rebuilt and installed the plugin from src once again, just to check that the problem came back. It didn't! However, certain things got downloaded this time.

Anyway, sorry for causing unnecessary concern.

Rob



> doc-files/* not copied if project does not have modules
> -------------------------------------------------------
>
>          Key: MJAVADOC-76
>          URL: http://jira.codehaus.org/browse/MJAVADOC-76
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: mvn 2.0.4, Java 1.5, OS X 10.4
>     Reporter: Rob Dickens
>     Priority: Critical
>      Fix For: 2.0

>
>
> The summary about says it all. In an earlier project, involving modules, and with aggregate set to true, the contents of doc-files directectories does get copied. Now, where my project does not involve modules, it doesn't.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira