Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8032205

excludedocfilessubdir is ignored

    Details

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-b121)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b63, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [versie 6.1.7601]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200)
      Maven home: D:\apache-maven-3.1.1\bin\..
      Java version: 1.8.0-ea, vendor: Oracle Corporation
      Java home: c:\Program Files\Java\jdk1.8.0\jre
      Default locale: nl_NL, platform encoding: Cp1252
      OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"

      A DESCRIPTION OF THE PROBLEM :
      As part of https://jira.codehaus.org/browse/MNG-5551 I faced the following issue regarding javadoc:

      The excludedocfilessubdir is ignored

      This seems to be a Windows specific issue, since the Linux buildserver has no issues.

      REGRESSION. Last worked in version 7u45

      ADDITIONAL REGRESSION INFORMATION:
      java version "1.7.0_45"
      Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
      Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      The maven-javadoc-plugin generates the following files:
      [javadoc.bat]
      "C:\Program Files\Java\jdk1.8.0\jre\..\bin\javadoc.exe" @options @packages

      [options]
      -encoding
      'ISO-8859-1'
      -protected
      -quiet
      -sourcepath
      'C:/Temp/maven-javadoc-plugin/src/test/resources/unit/resources-with-excludes-test/src/main/java;C:/Temp/maven-javadoc-plugin/src/test/resources/unit/resources-with-excludes-test/src/main/javadoc'
      -charset
      'UTF-8'
      -d
      'C:/Temp/maven-javadoc-plugin/target/test/unit/resources-with-excludes-test/target/site/apidocs'
      -docencoding
      'UTF-8'
      -docfilessubdirs
      -excludedocfilessubdir
      'test'
      -windowtitle
      'Maven Javadoc Plugin resources 1.0-SNAPSHOT API'

      [packages]
      resources.test
      resources.test2
      ---

      Other required files can be found here: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-with-excludes-test/



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      assertFalse( new File( apidocs, "resources/test/doc-files/maven-feather.png" ).exists() );
      ACTUAL -
      previous assert fails, since the file does exist. However it shouldn't be there.

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            • Assignee:
              ksrini Kumar Srinivasan
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: