hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: httpcomponents-parent git commit: Add comment for version 10.
Date Tue, 24 Oct 2017 19:18:48 GMT
Running 'mvn clean install' for the httpcore 4.4.x branch I get:

[INFO] --- maven-failsafe-plugin:2.20:integration-test (it) @ httpcore-osgi
---
[WARNING] Error injecting:
org.apache.maven.plugin.failsafe.IntegrationTestMojo
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
        at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
        at
java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3110)
        at
java.base/java.lang.Class.getDeclaredConstructors(Class.java:2314)
        at
com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
        at
com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
        at
com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:658)
        at
com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:882)
        at
com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:805)
        at
com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:282)
        at
com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:214)
        at
com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:1006)
        at
com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1038)
        at
com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1001)
        at
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
        at
org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
        at
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
        at
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
        at
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
        at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
        at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)
        at
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
        at
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
        at
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
        at
com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
        at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
        at
com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
        at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
        at
org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
        at
org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
        at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:519)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
        at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
        at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
        at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
        at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
        at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
        ... 54 more
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache HttpComponents Core ......................... SUCCESS [
7.883 s]
[INFO] Apache HttpCore .................................... SUCCESS [
49.150 s]
[INFO] Apache HttpCore NIO ................................ SUCCESS [01:01
min]
[INFO] Apache HttpCore OSGi bundle ........................ FAILURE [
22.761 s]
[INFO] Apache HttpCore Benchmarking Tool .................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:23 min
[INFO] Finished at: 2017-10-24T13:11:10-06:00
[INFO] Final Memory: 50M/167M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-failsafe-plugin:2.20:integration-test (it)
on project httpcore-osgi: Execution it of goal
org.apache.maven.plugins:maven-failsafe-plugin:2.20:integration-test
failed: A required class was missing while executing
org.apache.maven.plugins:maven-failsafe-plugin:2.20:integration-test:
javax/xml/bind/JAXBException
[ERROR] -----------------------------------------------------
[ERROR] realm =
plugin>org.apache.maven.plugins:maven-failsafe-plugin:2.20
[ERROR] strategy =
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/C:/Users/ggregory/.m2/repository/org/apache/maven/plugins/maven-failsafe-plugin/2.20/maven-failsafe-plugin-2.20.jar
[ERROR] urls[1] =
file:/C:/Users/ggregory/.m2/repository/org/apache/maven/surefire/maven-surefire-common/2.20/maven-surefire-common-2.20.jar
[ERROR] urls[2] =
file:/C:/Users/ggregory/.m2/repository/org/apache/maven/surefire/surefire-booter/2.20/surefire-booter-2.20.jar
[ERROR] urls[3] =
file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
[ERROR] urls[4] =
file:/C:/Users/ggregory/.m2/repository/junit/junit/4.12/junit-4.12.jar
[ERROR] urls[5] =
file:/C:/Users/ggregory/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[ERROR] urls[6] =
file:/C:/Users/ggregory/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[ERROR] urls[7] =
file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
[ERROR] urls[8] =
file:/C:/Users/ggregory/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
[ERROR] urls[9] =
file:/C:/Users/ggregory/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
[ERROR] urls[10] =
file:/C:/Users/ggregory/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
[ERROR] urls[11] =
file:/C:/Users/ggregory/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[12] =
file:/C:/Users/ggregory/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[13] =
file:/C:/Users/ggregory/.m2/repository/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
[ERROR] urls[14] =
file:/C:/Users/ggregory/.m2/repository/org/apache/maven/surefire/surefire-api/2.20/surefire-api-2.20.jar
[ERROR] urls[15] =
file:/C:/Users/ggregory/.m2/repository/org/apache/maven/surefire/surefire-logger-api/2.20/surefire-logger-api-2.20.jar
[ERROR] urls[16] =
file:/C:/Users/ggregory/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm
ClassRealm[project>org.apache.httpcomponents:httpcore-osgi:4.4.9-SNAPSHOT,
parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : javax.xml.bind.JAXBException
[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/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :httpcore-osgi

Using:

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T13:39:06-06:00)
Maven home: C:\Java\apache-maven-3.5.0\bin\..
Java version: 9.0.1, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk-9.0.1
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Running 'mvn site' passed!

Gary

On Fri, Oct 20, 2017 at 7:05 AM, Oleg Kalnichevski <olegk@apache.org> wrote:

> On Mon, 2017-10-09 at 10:34 -0600, Gary Gregory wrote:
> > On Mon, Oct 9, 2017 at 8:05 AM, Oleg Kalnichevski <olegk@apache.org>
> > wrote:
> >
> > > On Sun, 2017-10-08 at 15:13 -0600, Gary Gregory wrote:
> > > > On Oct 8, 2017 14:54, "Oleg Kalnichevski" <olegk@apache.org>
> > > > wrote:
> > > >
> > > > On Sun, 2017-10-08 at 11:19 -0600, Gary Gregory wrote:
> > > > > Oleg,
> > > > >
> > > > > Should we release version 10 now or wait for the latest Maven
> > > > > Site
> > > > > Plugin
> > > > > (to support Java 9)?
> > > > >
> > > >
>
> Gary
>
> How does the incompatibility of the Maven Site Plugin with Java 9
> manifest itself?
>
> I have no encountered any issues with generating website content with
> JDK 9.0.1.
>
> Oleg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message