Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8DEC918BAA for ; Mon, 17 Aug 2015 14:11:45 +0000 (UTC) Received: (qmail 61914 invoked by uid 500); 17 Aug 2015 14:11:45 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 61873 invoked by uid 500); 17 Aug 2015 14:11:45 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 61862 invoked by uid 99); 17 Aug 2015 14:11:45 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2015 14:11:45 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D69A3E0169; Mon, 17 Aug 2015 14:11:44 +0000 (UTC) From: ok2c To: dev@hc.apache.org Reply-To: dev@hc.apache.org References: In-Reply-To: Subject: [GitHub] httpclient pull request: HTTPCLIENT-1673: revert change, which was... Content-Type: text/plain Message-Id: <20150817141144.D69A3E0169@git1-us-west.apache.org> Date: Mon, 17 Aug 2015 14:11:44 +0000 (UTC) Github user ok2c commented on the pull request: https://github.com/apache/httpclient/pull/34#issuecomment-131831413 Hi Benson, There turned out to be a complication with the patch. It looks like some of the dependencies introduced by the patch required Java 1.7 or newer. Ideally HC 4.5 build should be fully Java 1.6 compatible. Is there any chance to downgrade those dependencies to older versions compatible with Java 1.6? ``` [JENKINS] Recording test results [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache HttpComponents Client ...................... SUCCESS [43.447s] [INFO] Apache HttpClient ................................. SUCCESS [2:58.957s] [INFO] Apache HttpClient Mime ............................ SUCCESS [26.083s] [INFO] Apache HttpClient Fluent API ...................... SUCCESS [22.008s] [INFO] Apache HttpClient Cache ........................... SUCCESS [1:03.547s] [INFO] Apache HttpClient Windows features ................ SUCCESS [39.280s] [INFO] Apache HttpClient OSGi bundle ..................... FAILURE [1:15.085s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8:02.812s [INFO] Finished at: Mon Aug 17 13:11:51 GMT+00:00 2015 [INFO] Final Memory: 63M/833M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:integration-test (default) on project httpclient-osgi: Execution default of goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:integration-test failed: There was an error in the forked process [ERROR] java.lang.UnsupportedClassVersionError: org/ops4j/pax/exam/Option : Unsupported major.minor version 51.0 [ERROR] at java.lang.ClassLoader.defineClass1(Native Method) [ERROR] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [ERROR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [ERROR] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [ERROR] at java.security.AccessController.doPrivileged(Native Method) [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [ERROR] at java.lang.Class.getDeclaredMethods0(Native Method) [ERROR] at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) [ERROR] at java.lang.Class.getMethod0(Class.java:2670) [ERROR] at java.lang.Class.getMethod(Class.java:1603) [ERROR] at org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:57) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54) [ERROR] at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:52) [ERROR] at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97) [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:222) [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:107) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [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/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :httpclient-osgi ``` --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org