maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Vest Hansen (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MJAVADOC-259) Resource copying from javadoc dir is incomplete
Date Mon, 16 May 2011 13:26:28 GMT

    [ http://jira.codehaus.org/browse/MJAVADOC-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=267140#action_267140
] 

Christian Vest Hansen commented on MJAVADOC-259:
------------------------------------------------

It looks like this is not really fixed after all. I just tried generating javadocs for the
attached project with both version 2.6.1 and 2.8, and the files are not copied:

{noformat}
[cvh: jd]$ mvn -version
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /home/cvh/Apps/apache-maven-3.0.3
Java version: 1.6.0_20, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_DK, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-31-generic-pae", arch: "i386", family: "unix"
[cvh: jd]$ mvn javadoc:javadoc -Dquiet
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.simplx:simplx:jar:0.8.4
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: junit:junit:jar
-> duplicate declaration of version 4.5 @ line 49, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: junit:junit:jar
-> duplicate declaration of version 4.5 @ line 54, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: commons-io:commons-io:jar
-> duplicate declaration of version 1.4 @ line 59, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: junit:junit:jar
-> duplicate declaration of version 4.5 @ line 64, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: junit:junit:jar
-> duplicate declaration of version 4.5 @ line 74, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-idea-plugin is
missing. @ line 119, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ line 127, column 21
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ line 140, column 21
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin
is missing. @ line 182, column 21
[WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:cobertura-maven-plugin
is missing. @ line 186, column 21
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin
is missing. @ line 190, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability
of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed
projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building simplx 0.8.4
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> maven-javadoc-plugin:2.8:javadoc (default-cli) @ simplx >>>
[INFO] 
[INFO] <<< maven-javadoc-plugin:2.8:javadoc (default-cli) @ simplx <<<
[INFO] 
[INFO] --- maven-javadoc-plugin:2.8:javadoc (default-cli) @ simplx ---
[WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build
is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.932s
[INFO] Finished at: Mon May 16 15:24:47 CEST 2011
[INFO] Final Memory: 8M/94M
[INFO] ------------------------------------------------------------------------
[cvh: jd]$ ls target/site/apidocs/resources/
inherit.gif
[cvh: jd]$ ls src/main/javadoc/resources/
bg.jpg  bg.psd  inherit.gif
[cvh: jd]$
{noformat}

> Resource copying from javadoc dir is incomplete
> -----------------------------------------------
>
>                 Key: MJAVADOC-259
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-259
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.6
>         Environment: Mac OS X 10.5.7
>            Reporter: Ken Arnold
>            Assignee: Vincent Siveton
>             Fix For: 2.6.1
>
>         Attachments: jd.zip
>
>
> The plugin is ignoring my directory src/main/javadoc/resources
> I want to put in background images for my stylesheet to use, and I want to overwite inherit.gif
(to one with a transparent background, a Java problem since I started with Java back before
1.0, sigh).  So I put a bg.gif and a new inherit.gif in src/main/javadoc/resources.  It is
not copied.  I do have <docfilessubdirs> set to true.
> I have attached a subset of my project that demonstrates the problem.  Unzip and then
run mvn javadoc:javadoc.  If you look at target/site/apidocs/resources, the file contains
only one file, while src/main/javadoc/resources contains three.

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

        

Mime
View raw message