Hello!

Can we use Java 6, maybe just for tika-server component? Current version of 
Jersey requires it.

best wishes, Max

26.03.2012, в 17:30, Apache Jenkins Server написал(а):

> See <https://builds.apache.org/job/Tika-trunk/820/changes>
> 
> Changes:
> 
> [maxcom] tika-server: update java version because jersey-core requires java6
> 
> ------------------------------------------
> [...truncated 697 lines...]
> Downloading: 
> http://repo1.maven.org/maven2/com/sun/jersey/jersey-grizzly/1.7/jersey-grizzly-1.7.jar
> Downloaded: 
> http://repo1.maven.org/maven2/com/sun/grizzly/grizzly-lzma/1.9.31/grizzly-lzma-1.9.31.jar
>  (55 KB at 23.9 KB/sec)
> Downloading: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/8.0.0.M3/jetty-server-8.0.0.M3.jar
> Downloaded: 
> http://repo1.maven.org/maven2/com/sun/grizzly/grizzly-utils/1.9.31/grizzly-utils-1.9.31.jar
>  (490 KB at 164.2 KB/sec)
> Downloading: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-continuation/8.0.0.M3/jetty-continuation-8.0.0.M3.jar
> Downloaded: 
> http://repo1.maven.org/maven2/com/sun/grizzly/grizzly-http-servlet/1.9.31/grizzly-http-servlet-1.9.31.jar
>  (49 KB at 17.6 KB/sec)
> Downloading: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-http/8.0.0.M3/jetty-http-8.0.0.M3.jar
> Downloaded: 
> http://repo1.maven.org/maven2/com/sun/jersey/jersey-test-framework/jersey-test-framework-core/1.7/jersey-test-framework-core-1.7.jar
>  (28 KB at 12.1 KB/sec)
> Downloading: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-io/8.0.0.M3/jetty-io-8.0.0.M3.jar
> Downloaded: 
> http://repo1.maven.org/maven2/com/sun/jersey/jersey-grizzly/1.7/jersey-grizzly-1.7.jar
>  (18 KB at 8.6 KB/sec)
> Downloading: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-util/8.0.0.M3/jetty-util-8.0.0.M3.jar
> Downloaded: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-continuation/8.0.0.M3/jetty-continuation-8.0.0.M3.jar
>  (21 KB at 9.3 KB/sec)
> Downloading: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-servlet/8.0.0.M3/jetty-servlet-8.0.0.M3.jar
> Downloaded: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/8.0.0.M3/jetty-server-8.0.0.M3.jar
>  (307 KB at 110.9 KB/sec)
> Downloading: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-security/8.0.0.M3/jetty-security-8.0.0.M3.jar
> Downloaded: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-http/8.0.0.M3/jetty-http-8.0.0.M3.jar
>  (111 KB at 44.2 KB/sec)
> Downloading: 
> http://repo1.maven.org/maven2/net/sf/opencsv/opencsv/2.0/opencsv-2.0.jar
> Downloaded: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-io/8.0.0.M3/jetty-io-8.0.0.M3.jar
>  (92 KB at 33.5 KB/sec)
> Downloaded: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-util/8.0.0.M3/jetty-util-8.0.0.M3.jar
>  (222 KB at 80.5 KB/sec)
> Downloaded: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-servlet/8.0.0.M3/jetty-servlet-8.0.0.M3.jar
>  (85 KB at 37.5 KB/sec)
> Downloaded: 
> http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-security/8.0.0.M3/jetty-security-8.0.0.M3.jar
>  (85 KB at 37.9 KB/sec)
> Downloaded: 
> http://repo1.maven.org/maven2/net/sf/opencsv/opencsv/2.0/opencsv-2.0.jar (15 
> KB at 7.5 KB/sec)
> [INFO] Deleting 
> <https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-server/target>
> [INFO] 
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ tika-server ---
> [TASKS] Scanning folder 
> '<https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-server'> for files 
> matching the pattern '**/*.java' - excludes: 
> [TASKS] Found 11 files to scan for tasks
> Found 0 open tasks.
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ 
> tika-server ---
> [debug] execute contextualize
> [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 3 resources
> 
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
> tika-server ---
> [INFO] [INFO] Compiling 8 source files to 
> <https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-server/target/classes>
> 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
> tika-server ---
> [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] -------------------------------------------------------------
> [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/builds/2012-03-26_13-06-44/archive/org.apache.tika/tika-server/1.2-SNAPSHOT/tika-server-1.2-SNAPSHOT.pom
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Tika parent ................................ SUCCESS [1:07.852s]
> [INFO] Apache Tika core .................................. SUCCESS [1:19.353s]
> [INFO] Apache Tika parsers ............................... SUCCESS [1:54.020s]
> [INFO] Apache Tika application ........................... SUCCESS [49.644s]
> [INFO] Apache Tika OSGi bundle ........................... SUCCESS [1:19.796s]
> [INFO] Apache Tika server ................................ FAILURE [24.075s]
> [INFO] Apache Tika ....................................... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 23:11.721s
> [INFO] Finished at: Mon Mar 26 13:30:40 UTC 2012
> [INFO] Final Memory: 40M/375M
> [INFO] 
> ------------------------------------------------------------------------
> 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-server: 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-server: 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.java:213)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
>       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(DelegatingMethodAccessorImpl.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:239)
>       at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
>       at hudson.maven.Maven3Builder.call(Maven3Builder.java:104)
>       at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
>       at hudson.remoting.UserRequest.perform(UserRequest.java:118)
>       at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>       at hudson.remoting.Request$2.run(Request.java:287)
>       at 
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.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.java: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(DefaultBuildPluginManager.java:101)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>       ... 27 more
> [TASKS] Aggregating results of Apache Tika parent
> [TASKS] Using set difference to compute new warnings
> [TASKS] Aggregating results of Apache Tika core
> [TASKS] Using set difference to compute new warnings
> [TASKS] Aggregating results of Apache Tika parsers
> [TASKS] Using set difference to compute new warnings
> [TASKS] Aggregating results of Apache Tika application
> [TASKS] Using set difference to compute new warnings
> [TASKS] Aggregating results of Apache Tika OSGi bundle
> [TASKS] Using set difference to compute new warnings
> [TASKS] Aggregating results of Apache Tika server
> [TASKS] Using set difference to compute new warnings
> channel stopped

Reply via email to