Skip to content

Instantly share code, notes, and snippets.

@frsyuki
Created April 12, 2011 06:30
Show Gist options
  • Save frsyuki/915047 to your computer and use it in GitHub Desktop.
Save frsyuki/915047 to your computer and use it in GitHub Desktop.
compile error with JDK 5 #msgpack
Started by user frsyuki
Checkout:workspace / /var/lib/jenkins/jobs/msgpack-java-jdk5/workspace - hudson.remoting.LocalChannel@320817d6
Using strategy: Default
Last Built Revision: Revision 65ddd1a455eb975e6a88f87b4e89759e57289f10 (origin/master)
Checkout:workspace / /var/lib/jenkins/jobs/msgpack-java-jdk5/workspace - hudson.remoting.LocalChannel@320817d6
Fetching changes from the remote Git repository
Fetching upstream changes from git://github.com/msgpack/msgpack.git
Commencing build of Revision 65ddd1a455eb975e6a88f87b4e89759e57289f10 (origin/master)
Checking out Revision 65ddd1a455eb975e6a88f87b4e89759e57289f10 (origin/master)
[workspace] $ /var/lib/jenkins/tools/Maven_3.0.3/bin/mvn -f java/pom.xml test
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.msgpack:msgpack:jar:0.5.1-devel
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 63, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 85, column 15
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 105, column 15
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin is missing. @ line 116, column 15
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @ line 121, column 15
[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 MessagePack for Java 0.5.1-devel
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ msgpack ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ msgpack ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 104 source files to /var/lib/jenkins/jobs/msgpack-java-jdk5/workspace/java/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
javac: invalid flag: -s
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-cp <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-endorseddirs <dirs> Override location of endorsed standards path
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime system
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.295s
[INFO] Finished at: Tue Apr 12 15:24:19 GMT+09:00 2011
[INFO] Final Memory: 5M/12M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project msgpack: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] javac: invalid flag: -s
[ERROR] Usage: javac <options> <source files>
[ERROR] where possible options include:
[ERROR] -g Generate all debugging info
[ERROR] -g:none Generate no debugging info
[ERROR] -g:{lines,vars,source} Generate only some debugging info
[ERROR] -nowarn Generate no warnings
[ERROR] -verbose Output messages about what the compiler is doing
[ERROR] -deprecation Output source locations where deprecated APIs are used
[ERROR] -classpath <path> Specify where to find user class files
[ERROR] -cp <path> Specify where to find user class files
[ERROR] -sourcepath <path> Specify where to find input source files
[ERROR] -bootclasspath <path> Override location of bootstrap class files
[ERROR] -extdirs <dirs> Override location of installed extensions
[ERROR] -endorseddirs <dirs> Override location of endorsed standards path
[ERROR] -d <directory> Specify where to place generated class files
[ERROR] -encoding <encoding> Specify character encoding used by source files
[ERROR] -source <release> Provide source compatibility with specified release
[ERROR] -target <release> Generate class files for specific VM version
[ERROR] -version Version information
[ERROR] -help Print a synopsis of standard options
[ERROR] -X Print a synopsis of nonstandard options
[ERROR] -J<flag> Pass <flag> directly to the runtime system
[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
Recording test results
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment