Thanks Mike!

On 2/12/13 10:14 AM, "Michael McCandless" <luc...@mikemccandless.com>
wrote:

>Hmm, that didn't work.
>
>It looks like we have to fix our JAVA_HOME to point to a 1.6+ java:
>http://stackoverflow.com/questions/11328677/error-when-using-javac-javac-i
>nvalid-flag-s
>
>OK I managed to log in to builds.apache.org and change the JVM to 1.6
>latest (it was on 1.5 latest), then kicked off another build.
>
>Mike McCandless
>
>http://blog.mikemccandless.com
>
>On Tue, Feb 12, 2013 at 12:38 PM, Apache Jenkins Server
><jenk...@builds.apache.org> wrote:
>> See <https://builds.apache.org/job/Tika-trunk/980/changes>
>>
>> Changes:
>>
>> [mikemccand] change Tika to accept Java 1.6 source and write Java 1.6
>>bytecode
>>
>> ------------------------------------------
>> [...truncated 85 lines...]
>> Uploaded: 
>>https://repository.apache.org/content/repositories/snapshots/org/apache/t
>>ika/tika-parent/1.4-SNAPSHOT/tika-parent-1.4-20130212.173800-13.pom (10
>>KB at 31.9 KB/sec)
>> Downloading: 
>>https://repository.apache.org/content/repositories/snapshots/org/apache/t
>>ika/tika-parent/maven-metadata.xml
>> Downloaded: 
>>https://repository.apache.org/content/repositories/snapshots/org/apache/t
>>ika/tika-parent/maven-metadata.xml (342 B at 1.5 KB/sec)
>> Uploading: 
>>https://repository.apache.org/content/repositories/snapshots/org/apache/t
>>ika/tika-parent/1.4-SNAPSHOT/maven-metadata.xml
>> Uploaded: 
>>https://repository.apache.org/content/repositories/snapshots/org/apache/t
>>ika/tika-parent/1.4-SNAPSHOT/maven-metadata.xml (601 B at 1.8 KB/sec)
>> Uploading: 
>>https://repository.apache.org/content/repositories/snapshots/org/apache/t
>>ika/tika-parent/maven-metadata.xml
>> Uploaded: 
>>https://repository.apache.org/content/repositories/snapshots/org/apache/t
>>ika/tika-parent/maven-metadata.xml (342 B at 1.0 KB/sec)
>> mojoSucceeded 
>>org.apache.maven.plugins:maven-deploy-plugin:2.6(default-deploy)
>> projectSucceeded org.apache.tika:tika-parent:1.4-SNAPSHOT
>> projectStarted org.apache.tika:tika-core:1.4-SNAPSHOT
>> [INFO]
>> [INFO] 
>>------------------------------------------------------------------------
>> [INFO] Building Apache Tika core 1.4-SNAPSHOT
>> [INFO] 
>>------------------------------------------------------------------------
>> mojoStarted 
>>org.apache.maven.plugins:maven-clean-plugin:2.4.1(default-clean)[INFO]
>>Deleting 
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-core/target>
>>
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ tika-core
>>---
>> mojoSucceeded 
>>org.apache.maven.plugins:maven-clean-plugin:2.4.1(default-clean)
>> [TASKS] Scanning folder
>>'<https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-core'> for
>>files matching the pattern '**/*.java' - excludes:
>> [TASKS] Found 212 files to scan for tasks
>> Found 37 open tasks.
>> [TASKS] Computing warning deltas based on reference build #979
>> mojoStarted 
>>org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1(default)
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @
>>tika-core ---
>> mojoSucceeded 
>>org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1(default)
>> mojoStarted 
>>org.apache.maven.plugins:maven-resources-plugin:2.5(default-resources)
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
>>tika-core ---
>> [debug] execute contextualize
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 29 resources
>> [INFO] Copying 3 resources
>> mojoSucceeded 
>>org.apache.maven.plugins:maven-resources-plugin:2.5(default-resources)
>> mojoStarted 
>>org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile)
>> [INFO]
>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>>tika-core ---
>> [INFO] Compiling 176 source files to
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-core/target/class
>>es>
>> [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] -------------------------------------------------------------
>> mojoFailed 
>>org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile)
>> projectFailed org.apache.tika:tika-core:1.4-SNAPSHOT
>> sessionEnded
>> [INFO] 
>>------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Tika parent ................................ SUCCESS
>>[39.766s]
>> [INFO] Apache Tika core .................................. FAILURE
>>[9.672s]
>> [INFO] Apache Tika parsers ............................... SKIPPED
>> [INFO] Apache Tika XMP ................................... SKIPPED
>> [INFO] Apache Tika application ........................... SKIPPED
>> [INFO] Apache Tika OSGi bundle ........................... SKIPPED
>> [INFO] Apache Tika server ................................ SKIPPED
>> [INFO] Apache Tika ....................................... SKIPPED
>> [INFO] 
>>------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO] 
>>------------------------------------------------------------------------
>> [INFO] Total time: 52.608s
>> [INFO] Finished at: Tue Feb 12 17:38:12 UTC 2013
>> [INFO] Final Memory: 17M/248M
>> [INFO] 
>>------------------------------------------------------------------------
>> Projects to build: [MavenProject:
>>org.apache.tika:tika-parent:1.4-SNAPSHOT @
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-parent/pom.xml,>
>>MavenProject: org.apache.tika:tika-core:1.4-SNAPSHOT @
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-core/pom.xml,>
>>MavenProject: org.apache.tika:tika-parsers:1.4-SNAPSHOT @
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-parsers/pom.xml,>
>> MavenProject: org.apache.tika:tika-xmp:1.4-SNAPSHOT @
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-xmp/pom.xml,>
>>MavenProject: org.apache.tika:tika-app:1.4-SNAPSHOT @
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-app/pom.xml,>
>>MavenProject: org.apache.tika:tika-bundle:1.4-SNAPSHOT @
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-bundle/pom.xml,>
>>MavenProject: org.apache.tika:tika-server:1.4-SNAPSHOT @
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-server/pom.xml,>
>>MavenProject: org.apache.tika:tika:1.4-SNAPSHOT @
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/pom.xml]>
>> [JENKINS] Archiving
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/pom.xml> to
>>/home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika/builds/2
>>013-02-12_17-36-53/archive/org.apache.tika/tika/1.4-SNAPSHOT/tika-1.4-SNA
>>PSHOT.pom
>> [JENKINS] Archiving
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-parent/pom.xml>
>>to 
>>/home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika-parent/b
>>uilds/2013-02-12_17-36-53/archive/org.apache.tika/tika-parent/1.4-SNAPSHO
>>T/tika-parent-1.4-SNAPSHOT.pom
>> [JENKINS] Archiving
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-parsers/pom.xml>
>>to 
>>/home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika-parsers/
>>builds/2013-02-12_17-36-53/archive/org.apache.tika/tika-parsers/1.4-SNAPS
>>HOT/tika-parsers-1.4-SNAPSHOT.pom
>> [JENKINS] Archiving
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-xmp/pom.xml> to
>>/home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika-xmp/buil
>>ds/2013-02-12_17-36-53/archive/org.apache.tika/tika-xmp/1.4-SNAPSHOT/tika
>>-xmp-1.4-SNAPSHOT.pom
>> [JENKINS] Archiving
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-app/pom.xml> to
>>/home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika-app/buil
>>ds/2013-02-12_17-36-53/archive/org.apache.tika/tika-app/1.4-SNAPSHOT/tika
>>-app-1.4-SNAPSHOT.pom
>> [JENKINS] Archiving
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-server/pom.xml>
>>to 
>>/home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika-server/b
>>uilds/2013-02-12_17-36-53/archive/org.apache.tika/tika-server/1.4-SNAPSHO
>>T/tika-server-1.4-SNAPSHOT.pom
>> [JENKINS] Archiving
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-core/pom.xml> to
>>/home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika-core/bui
>>lds/2013-02-12_17-36-53/archive/org.apache.tika/tika-core/1.4-SNAPSHOT/ti
>>ka-core-1.4-SNAPSHOT.pom
>> [JENKINS] Archiving
>><https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-bundle/pom.xml>
>>to 
>>/home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika-bundle/b
>>uilds/2013-02-12_17-36-53/archive/org.apache.tika/tika-bundle/1.4-SNAPSHO
>>T/tika-bundle-1.4-SNAPSHOT.pom
>> Waiting for Jenkins to finish collecting data
>> mavenExecutionResult exceptions not empty
>> message : Failed to execute goal
>>org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>(default-compile) on project tika-core: Compilation failure
>> 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
>>
>>
>>
>> cause : Compilation failure
>> 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
>>
>>
>>
>> Stack trace :
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>execute goal 
>>org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>(default-compile) on project tika-core: Compilation failure
>> 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
>>
>>
>>
>>         at 
>>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav
>>a:213)
>>         at 
>>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav
>>a:153)
>>         at 
>>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav
>>a:145)
>>         at 
>>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L
>>ifecycleModuleBuilder.java:84)
>>         at 
>>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L
>>ifecycleModuleBuilder.java:59)
>>         at 
>>org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(
>>LifecycleStarter.java:183)
>>         at 
>>org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSta
>>rter.java:161)
>>         at 
>>org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>         at 
>>org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:
>>79)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at 
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>:39)
>>         at 
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
>>mpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:592)
>>         at 
>>org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher
>>.java:329)
>>         at 
>>org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:23
>>9)
>>         at 
>>org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
>>         at hudson.maven.Maven3Builder.call(Maven3Builder.java:100)
>>         at hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
>>         at hudson.remoting.UserRequest.perform(UserRequest.java:118)
>>         at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>>         at hudson.remoting.Request$2.run(Request.java:326)
>>         at 
>>hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorSe
>>rvice.java:72)
>>         at 
>>java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>         at 
>>java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor
>>.java:651)
>>         at 
>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
>>a:676)
>>         at java.lang.Thread.run(Thread.java:595)
>> Caused by: org.apache.maven.plugin.CompilationFailureException:
>>Compilation failure
>> 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
>>
>>
>>
>>         at 
>>org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo
>>.java:656)
>>         at 
>>org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
>>         at 
>>org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuil
>>dPluginManager.java:101)
>>         at 
>>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav
>>a:209)
>>         ... 27 more
>> channel stopped

Reply via email to