Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-434

Running javadoc:fix corrupts files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9.1, 2.10.3
    • 3.0.0
    • fix
    • None

    Description

      ~/neo/neo-test$ mvn clean javadoc:fix && mvn compile
      [INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building test 1
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ neo-test ---
      [INFO] 
      [INFO] >>> maven-javadoc-plugin:2.10.3:fix (default-cli) @ neo-test >>>
      [INFO] 
      [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ neo-test ---
      [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] skip non existing resourceDirectory /Users/dwinsor/neo/neo-test/src/main/resources
      [INFO] 
      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ neo-test ---
      [WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent!
      [INFO] Compiling 4 source files to /Users/dwinsor/neo/neo-test/target/classes
      [INFO] 
      [INFO] <<< maven-javadoc-plugin:2.10.3:fix (default-cli) @ neo-test <<<
      [INFO] 
      [INFO] --- maven-javadoc-plugin:2.10.3:fix (default-cli) @ neo-test ---
      [WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent!
      [WARNING] 
      [WARNING]     WARRANTY DISCLAIMER
      [WARNING] 
      [WARNING] All warranties with regard to this Maven goal are disclaimed!
      [WARNING] The changes will be done directly in the source code.
      [WARNING] The Maven Team strongly recommends the use of a SCM software BEFORE executing this goal.
      [WARNING] 
      [INFO] Are you sure to proceed? [Y]es [N]o
      y
      [INFO] OK, let's proceed...
      [WARNING] No previous artifact has been deployed, Clirr is ignored.
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 6.041s
      [INFO] Finished at: Mon Aug 31 18:33:42 PDT 2015
      [INFO] Final Memory: 17M/245M
      [INFO] ------------------------------------------------------------------------
      [INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building test 1
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ neo-test ---
      [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] skip non existing resourceDirectory /Users/dwinsor/neo/neo-test/src/main/resources
      [INFO] 
      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ neo-test ---
      [WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent!
      [INFO] Compiling 4 source files to /Users/dwinsor/neo/neo-test/target/classes
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /Users/dwinsor/neo/neo-test/src/main/java/test/B.java:[109,1] reached end of file while parsing
      [ERROR] /Users/dwinsor/neo/neo-test/src/main/java/test/C.java:[93,1] reached end of file while parsing
      [INFO] 2 errors 
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.660s
      [INFO] Finished at: Mon Aug 31 18:33:44 PDT 2015
      [INFO] Final Memory: 5M/245M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project neo-test: Compilation failure: Compilation failure:
      [ERROR] /Users/dwinsor/neo/neo-test/src/main/java/test/B.java:[109,1] reached end of file while parsing
      [ERROR] /Users/dwinsor/neo/neo-test/src/main/java/test/C.java:[93,1] reached end of file while parsing
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      ~/neo/neo-test$ 
      

      Attachments

        1. test.gz
          2 kB
          Daniel Winsor

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              danielkwinsor Daniel Winsor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: