[JBoss JIRA] (MODCLUSTER-430) CreateBalancers behave the same with option 0 or 2
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-430?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-430:
--------------------------------------
Fix Version/s: 1.3.7.Final
(was: 1.3.6.Final)
> CreateBalancers behave the same with option 0 or 2
> --------------------------------------------------
>
> Key: MODCLUSTER-430
> URL: https://issues.jboss.org/browse/MODCLUSTER-430
> Project: mod_cluster
> Issue Type: Bug
> Components: Native (httpd modules)
> Affects Versions: 1.3.0.Final, 1.2.9.Final
> Environment: RHEL 6.4.0
> Apache HTTPD 2.4.10
> JBoss 6.1.1
> Mod_cluster 1.3.0 Final
> Reporter: John Jerome
> Assignee: Michal Karm Babacek
> Fix For: 1.2.14.Final, 1.3.7.Final
>
>
> The directive CreateBalancers with directive 0 or 2 creates the balancers on all httpd vhosts.
> With option 2, the balancers should be created on the main server only, not in the vhosts.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (MODCLUSTER-561) Upgrade maven-war-plugin to version compatible with JDK 9-ea+149
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-561?page=com.atlassian.jira.pl... ]
Work on MODCLUSTER-561 stopped by Radoslav Husar.
-------------------------------------------------
> Upgrade maven-war-plugin to version compatible with JDK 9-ea+149
> ----------------------------------------------------------------
>
> Key: MODCLUSTER-561
> URL: https://issues.jboss.org/browse/MODCLUSTER-561
> Project: mod_cluster
> Issue Type: Component Upgrade
> Components: Core & Container Integration (Java)
> Affects Versions: 2.0.0.Alpha1, 1.3.6.CR1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
>
> {noformat}
> [rhusar@syrah mod_cluster]$ mvn clean install -rf :mod_cluster-demo-server
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building mod_cluster: Demo - Server 2.0.0.Alpha1-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ mod_cluster-demo-server ---
> [INFO] Deleting /Users/rhusar/git/mod_cluster/demo/server/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-version) @ mod_cluster-demo-server ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ mod_cluster-demo-server ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ mod_cluster-demo-server ---
> [INFO] Executing: /bin/sh -c cd '/Users/rhusar/git/mod_cluster/demo/server' && 'git' 'rev-parse' '--verify' 'HEAD'
> [INFO] Working directory: /Users/rhusar/git/mod_cluster/demo/server
> [INFO] Storing buildNumber: 28c1db1f598fc45c51d4d0dee45bd9bc4f0788fc at timestamp: 1483363437598
> [INFO] Storing buildScmBranch: MODCLUSTER-560_mockito
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ mod_cluster-demo-server ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/rhusar/git/mod_cluster/demo/server/src/main/resources
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ mod_cluster-demo-server ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 9 source files to /Users/rhusar/git/mod_cluster/demo/server/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ mod_cluster-demo-server ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/rhusar/git/mod_cluster/demo/server/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ mod_cluster-demo-server ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ mod_cluster-demo-server ---
> [INFO] No tests to run.
> [INFO]
> [INFO] --- maven-war-plugin:3.0.0:war (default-war) @ mod_cluster-demo-server ---
> [WARNING] Error injecting: org.apache.maven.plugins.war.WarMojo
> com.google.inject.ProvisionException: Unable to provision, see the following errors:
> 1) Error injecting constructor, java.lang.ExceptionInInitializerError
> at org.apache.maven.plugins.war.WarMojo.<init>(Unknown Source)
> while locating org.apache.maven.plugins.war.WarMojo
> 1 error
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
> 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 org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
> at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
> 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:517)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 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:116)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 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:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 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:538)
> 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.ExceptionInInitializerError
> at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:832)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:574)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:496)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:465)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:411)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:378)
> at org.apache.maven.plugins.war.util.WebappStructureSerializer.<clinit>(WebappStructureSerializer.java:47)
> at org.apache.maven.plugins.war.AbstractWarMojo.<init>(AbstractWarMojo.java:344)
> at org.apache.maven.plugins.war.WarMojo.<init>(WarMojo.java:54)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:461)
> at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)
> at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
> at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
> at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)
> 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.ConstructorInjector.construct(ConstructorInjector.java:87)
> at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
> at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
> ... 42 more
> Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @6048e26a
> at java.base/jdk.internal.reflect.Reflection.throwInaccessibleObjectException(Reflection.java:427)
> at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:201)
> at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:171)
> at java.base/java.lang.reflect.Field.setAccessible(Field.java:165)
> at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)
> at com.thoughtworks.xstream.converters.collections.TreeMapConverter.<clinit>(TreeMapConverter.java:50)
> ... 67 more
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.314 s
> [INFO] Finished at: 2017-01-02T14:23:59+01:00
> [INFO] Final Memory: 21M/70M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war (default-war) on project mod_cluster-demo-server: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:3.0.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.maven.plugins:maven-war-plugin:3.0.0
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/Users/rhusar/.m2/repository/org/apache/maven/plugins/maven-war-plugin/3.0.0/maven-war-plugin-3.0.0.jar
> [ERROR] urls[1] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-archiver/3.3/plexus-archiver-3.3.jar
> [ERROR] urls[2] = file:/Users/rhusar/.m2/repository/org/apache/commons/commons-compress/1.11/commons-compress-1.11.jar
> [ERROR] urls[3] = file:/Users/rhusar/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
> [ERROR] urls[4] = file:/Users/rhusar/.m2/repository/org/tukaani/xz/1.5/xz-1.5.jar
> [ERROR] urls[5] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-io/2.7.1/plexus-io-2.7.1.jar
> [ERROR] urls[6] = file:/Users/rhusar/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> [ERROR] urls[7] = file:/Users/rhusar/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> [ERROR] urls[8] = file:/Users/rhusar/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
> [ERROR] urls[9] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
> [ERROR] urls[10] = file:/Users/rhusar/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[11] = file:/Users/rhusar/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[12] = file:/Users/rhusar/.m2/repository/org/apache/maven/maven-archiver/3.1.1/maven-archiver-3.1.1.jar
> [ERROR] urls[13] = file:/Users/rhusar/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.0.1/maven-shared-utils-3.0.1.jar
> [ERROR] urls[14] = file:/Users/rhusar/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
> [ERROR] urls[15] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.22/plexus-interpolation-1.22.jar
> [ERROR] urls[16] = file:/Users/rhusar/.m2/repository/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar
> [ERROR] urls[17] = file:/Users/rhusar/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar
> [ERROR] urls[18] = file:/Users/rhusar/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
> [ERROR] urls[19] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24/plexus-utils-3.0.24.jar
> [ERROR] urls[20] = file:/Users/rhusar/.m2/repository/org/apache/maven/shared/maven-filtering/3.1.1/maven-filtering-3.1.1.jar
> [ERROR] urls[21] = file:/Users/rhusar/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
> [ERROR] urls[22] = file:/Users/rhusar/.m2/repository/org/apache/maven/shared/maven-mapping/3.0.0/maven-mapping-3.0.0.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------: ExceptionInInitializerError: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @6048e26a
> [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
> {noformat}
> Upgrading xstream to upstream/master fails with
> {noformat}
> [WARNING] Error injecting: org.apache.maven.plugin.war.WarMojo
> com.google.inject.ProvisionException: Unable to provision, see the following errors:
> 1) Error injecting constructor, java.lang.ExceptionInInitializerError
> at org.apache.maven.plugin.war.WarMojo.<init>(Unknown Source)
> while locating org.apache.maven.plugin.war.WarMojo
> 1 error
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
> 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 org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
> at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
> 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:517)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 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:116)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 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:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 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:538)
> 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.ExceptionInInitializerError
> at org.apache.maven.plugin.war.AbstractWarMojo.<init>(AbstractWarMojo.java:329)
> at org.apache.maven.plugin.war.WarMojo.<init>(WarMojo.java:54)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:461)
> at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)
> at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
> at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
> at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)
> 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.ConstructorInjector.construct(ConstructorInjector.java:87)
> at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
> at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
> ... 42 more
> Caused by: java.lang.NullPointerException
> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.addClassAlias(ClassAliasingMapper.java:37)
> at com.thoughtworks.xstream.XStream.alias(XStream.java:1175)
> at com.thoughtworks.xstream.XStream.setupAliases(XStream.java:733)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:552)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:478)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:471)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:416)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:400)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:388)
> at org.apache.maven.plugin.war.util.WebappStructureSerializer.<clinit>(WebappStructureSerializer.java:47)
> ... 60 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 9 months
[JBoss JIRA] (MODCLUSTER-559) Support JDK9 build 9-ea+160
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-559?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-559:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Support JDK9 build 9-ea+160
> ---------------------------
>
> Key: MODCLUSTER-559
> URL: https://issues.jboss.org/browse/MODCLUSTER-559
> Project: mod_cluster
> Issue Type: Task
> Components: Core & Container Integration (Java)
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Labels: jdk9
> Fix For: 2.0.0.Alpha1, 1.3.6.CR3
>
>
> {noformat}
> defaultStrategy(org.jboss.modcluster.config.SessionDrainingStrategyTestCase) Time elapsed: 0.005 sec <<< ERROR!
> java.lang.ExceptionInInitializerError
> at org.jboss.modcluster.config.SessionDrainingStrategyTestCase.<init>(SessionDrainingStrategyTestCase.java:11)
> Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @6a28ffa4
> at org.jboss.modcluster.config.SessionDrainingStrategyTestCase.<init>(SessionDrainingStrategyTestCase.java:11)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 9 months
[JBoss JIRA] (MODCLUSTER-573) Excluded contexts on http://modcluster.io/documentation/
by Michal Karm Babacek (JIRA)
Michal Karm Babacek created MODCLUSTER-573:
----------------------------------------------
Summary: Excluded contexts on http://modcluster.io/documentation/
Key: MODCLUSTER-573
URL: https://issues.jboss.org/browse/MODCLUSTER-573
Project: mod_cluster
Issue Type: Bug
Components: Documentation & Demos
Reporter: Michal Karm Babacek
Assignee: Michal Karm Babacek
[~bsikora] reported:
{quote}
http://modcluster.io/documentation/
Excluded contexts
> Tomcat attributeAS7/Wildfly attributeWildfly DefaultTomcat/AS7 Default
> LocationScope
> excludedContexts excluded-contexts *None* ROOT, admin-console, invoker,
> bossws, jmx-console, juddi, web-console Worker Worker
>
> List of contexts to exclude from httpd registration, of the form: *host1*:
> *context1*,*host2*:*context2*,*host3*:*context3* If no host is indicated,
> it is assumed to be the default host of the server (e.g. localhost). “ROOT”
> indicates the root context. Using the default configuration, this property
> can by manipulated via the jboss.mod_cluster.excludedContexts system
> property.
>
IMHO conflict with JBEAP-5058
Cheers,
Bogdan Sikora
{quote}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 9 months
[JBoss JIRA] (MODCLUSTER-561) Upgrade maven-war-plugin to version compatible with JDK 9-ea+149
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-561?page=com.atlassian.jira.pl... ]
Work on MODCLUSTER-561 started by Radoslav Husar.
-------------------------------------------------
> Upgrade maven-war-plugin to version compatible with JDK 9-ea+149
> ----------------------------------------------------------------
>
> Key: MODCLUSTER-561
> URL: https://issues.jboss.org/browse/MODCLUSTER-561
> Project: mod_cluster
> Issue Type: Component Upgrade
> Components: Core & Container Integration (Java)
> Affects Versions: 2.0.0.Alpha1, 1.3.6.CR1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
>
> {noformat}
> [rhusar@syrah mod_cluster]$ mvn clean install -rf :mod_cluster-demo-server
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building mod_cluster: Demo - Server 2.0.0.Alpha1-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ mod_cluster-demo-server ---
> [INFO] Deleting /Users/rhusar/git/mod_cluster/demo/server/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-version) @ mod_cluster-demo-server ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ mod_cluster-demo-server ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ mod_cluster-demo-server ---
> [INFO] Executing: /bin/sh -c cd '/Users/rhusar/git/mod_cluster/demo/server' && 'git' 'rev-parse' '--verify' 'HEAD'
> [INFO] Working directory: /Users/rhusar/git/mod_cluster/demo/server
> [INFO] Storing buildNumber: 28c1db1f598fc45c51d4d0dee45bd9bc4f0788fc at timestamp: 1483363437598
> [INFO] Storing buildScmBranch: MODCLUSTER-560_mockito
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ mod_cluster-demo-server ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/rhusar/git/mod_cluster/demo/server/src/main/resources
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ mod_cluster-demo-server ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 9 source files to /Users/rhusar/git/mod_cluster/demo/server/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ mod_cluster-demo-server ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/rhusar/git/mod_cluster/demo/server/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ mod_cluster-demo-server ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ mod_cluster-demo-server ---
> [INFO] No tests to run.
> [INFO]
> [INFO] --- maven-war-plugin:3.0.0:war (default-war) @ mod_cluster-demo-server ---
> [WARNING] Error injecting: org.apache.maven.plugins.war.WarMojo
> com.google.inject.ProvisionException: Unable to provision, see the following errors:
> 1) Error injecting constructor, java.lang.ExceptionInInitializerError
> at org.apache.maven.plugins.war.WarMojo.<init>(Unknown Source)
> while locating org.apache.maven.plugins.war.WarMojo
> 1 error
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
> 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 org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
> at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
> 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:517)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 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:116)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 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:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 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:538)
> 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.ExceptionInInitializerError
> at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:832)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:574)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:496)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:465)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:411)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:378)
> at org.apache.maven.plugins.war.util.WebappStructureSerializer.<clinit>(WebappStructureSerializer.java:47)
> at org.apache.maven.plugins.war.AbstractWarMojo.<init>(AbstractWarMojo.java:344)
> at org.apache.maven.plugins.war.WarMojo.<init>(WarMojo.java:54)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:461)
> at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)
> at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
> at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
> at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)
> 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.ConstructorInjector.construct(ConstructorInjector.java:87)
> at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
> at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
> ... 42 more
> Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @6048e26a
> at java.base/jdk.internal.reflect.Reflection.throwInaccessibleObjectException(Reflection.java:427)
> at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:201)
> at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:171)
> at java.base/java.lang.reflect.Field.setAccessible(Field.java:165)
> at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)
> at com.thoughtworks.xstream.converters.collections.TreeMapConverter.<clinit>(TreeMapConverter.java:50)
> ... 67 more
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.314 s
> [INFO] Finished at: 2017-01-02T14:23:59+01:00
> [INFO] Final Memory: 21M/70M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war (default-war) on project mod_cluster-demo-server: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:3.0.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.maven.plugins:maven-war-plugin:3.0.0
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/Users/rhusar/.m2/repository/org/apache/maven/plugins/maven-war-plugin/3.0.0/maven-war-plugin-3.0.0.jar
> [ERROR] urls[1] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-archiver/3.3/plexus-archiver-3.3.jar
> [ERROR] urls[2] = file:/Users/rhusar/.m2/repository/org/apache/commons/commons-compress/1.11/commons-compress-1.11.jar
> [ERROR] urls[3] = file:/Users/rhusar/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
> [ERROR] urls[4] = file:/Users/rhusar/.m2/repository/org/tukaani/xz/1.5/xz-1.5.jar
> [ERROR] urls[5] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-io/2.7.1/plexus-io-2.7.1.jar
> [ERROR] urls[6] = file:/Users/rhusar/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> [ERROR] urls[7] = file:/Users/rhusar/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> [ERROR] urls[8] = file:/Users/rhusar/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
> [ERROR] urls[9] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
> [ERROR] urls[10] = file:/Users/rhusar/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[11] = file:/Users/rhusar/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[12] = file:/Users/rhusar/.m2/repository/org/apache/maven/maven-archiver/3.1.1/maven-archiver-3.1.1.jar
> [ERROR] urls[13] = file:/Users/rhusar/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.0.1/maven-shared-utils-3.0.1.jar
> [ERROR] urls[14] = file:/Users/rhusar/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
> [ERROR] urls[15] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.22/plexus-interpolation-1.22.jar
> [ERROR] urls[16] = file:/Users/rhusar/.m2/repository/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar
> [ERROR] urls[17] = file:/Users/rhusar/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar
> [ERROR] urls[18] = file:/Users/rhusar/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
> [ERROR] urls[19] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24/plexus-utils-3.0.24.jar
> [ERROR] urls[20] = file:/Users/rhusar/.m2/repository/org/apache/maven/shared/maven-filtering/3.1.1/maven-filtering-3.1.1.jar
> [ERROR] urls[21] = file:/Users/rhusar/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
> [ERROR] urls[22] = file:/Users/rhusar/.m2/repository/org/apache/maven/shared/maven-mapping/3.0.0/maven-mapping-3.0.0.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------: ExceptionInInitializerError: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @6048e26a
> [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
> {noformat}
> Upgrading xstream to upstream/master fails with
> {noformat}
> [WARNING] Error injecting: org.apache.maven.plugin.war.WarMojo
> com.google.inject.ProvisionException: Unable to provision, see the following errors:
> 1) Error injecting constructor, java.lang.ExceptionInInitializerError
> at org.apache.maven.plugin.war.WarMojo.<init>(Unknown Source)
> while locating org.apache.maven.plugin.war.WarMojo
> 1 error
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
> 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 org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
> at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
> 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:517)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 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:116)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 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:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 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:538)
> 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.ExceptionInInitializerError
> at org.apache.maven.plugin.war.AbstractWarMojo.<init>(AbstractWarMojo.java:329)
> at org.apache.maven.plugin.war.WarMojo.<init>(WarMojo.java:54)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:461)
> at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)
> at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
> at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
> at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)
> 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.ConstructorInjector.construct(ConstructorInjector.java:87)
> at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
> at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
> ... 42 more
> Caused by: java.lang.NullPointerException
> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.addClassAlias(ClassAliasingMapper.java:37)
> at com.thoughtworks.xstream.XStream.alias(XStream.java:1175)
> at com.thoughtworks.xstream.XStream.setupAliases(XStream.java:733)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:552)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:478)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:471)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:416)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:400)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:388)
> at org.apache.maven.plugin.war.util.WebappStructureSerializer.<clinit>(WebappStructureSerializer.java:47)
> ... 60 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 9 months
[JBoss JIRA] (MODCLUSTER-561) Upgrade maven-war-plugin to version compatible with JDK 9-ea+149
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-561?page=com.atlassian.jira.pl... ]
Radoslav Husar commented on MODCLUSTER-561:
-------------------------------------------
Use {noformat}MAVEN_OPTS="--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED{noformat} as a workaround in meantime.
> Upgrade maven-war-plugin to version compatible with JDK 9-ea+149
> ----------------------------------------------------------------
>
> Key: MODCLUSTER-561
> URL: https://issues.jboss.org/browse/MODCLUSTER-561
> Project: mod_cluster
> Issue Type: Component Upgrade
> Components: Core & Container Integration (Java)
> Affects Versions: 2.0.0.Alpha1, 1.3.6.CR1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
>
> {noformat}
> [rhusar@syrah mod_cluster]$ mvn clean install -rf :mod_cluster-demo-server
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building mod_cluster: Demo - Server 2.0.0.Alpha1-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ mod_cluster-demo-server ---
> [INFO] Deleting /Users/rhusar/git/mod_cluster/demo/server/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-version) @ mod_cluster-demo-server ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ mod_cluster-demo-server ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ mod_cluster-demo-server ---
> [INFO] Executing: /bin/sh -c cd '/Users/rhusar/git/mod_cluster/demo/server' && 'git' 'rev-parse' '--verify' 'HEAD'
> [INFO] Working directory: /Users/rhusar/git/mod_cluster/demo/server
> [INFO] Storing buildNumber: 28c1db1f598fc45c51d4d0dee45bd9bc4f0788fc at timestamp: 1483363437598
> [INFO] Storing buildScmBranch: MODCLUSTER-560_mockito
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ mod_cluster-demo-server ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/rhusar/git/mod_cluster/demo/server/src/main/resources
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ mod_cluster-demo-server ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 9 source files to /Users/rhusar/git/mod_cluster/demo/server/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ mod_cluster-demo-server ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/rhusar/git/mod_cluster/demo/server/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ mod_cluster-demo-server ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ mod_cluster-demo-server ---
> [INFO] No tests to run.
> [INFO]
> [INFO] --- maven-war-plugin:3.0.0:war (default-war) @ mod_cluster-demo-server ---
> [WARNING] Error injecting: org.apache.maven.plugins.war.WarMojo
> com.google.inject.ProvisionException: Unable to provision, see the following errors:
> 1) Error injecting constructor, java.lang.ExceptionInInitializerError
> at org.apache.maven.plugins.war.WarMojo.<init>(Unknown Source)
> while locating org.apache.maven.plugins.war.WarMojo
> 1 error
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
> 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 org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
> at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
> 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:517)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 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:116)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 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:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 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:538)
> 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.ExceptionInInitializerError
> at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:832)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:574)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:496)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:465)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:411)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:378)
> at org.apache.maven.plugins.war.util.WebappStructureSerializer.<clinit>(WebappStructureSerializer.java:47)
> at org.apache.maven.plugins.war.AbstractWarMojo.<init>(AbstractWarMojo.java:344)
> at org.apache.maven.plugins.war.WarMojo.<init>(WarMojo.java:54)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:461)
> at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)
> at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
> at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
> at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)
> 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.ConstructorInjector.construct(ConstructorInjector.java:87)
> at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
> at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
> ... 42 more
> Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @6048e26a
> at java.base/jdk.internal.reflect.Reflection.throwInaccessibleObjectException(Reflection.java:427)
> at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:201)
> at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:171)
> at java.base/java.lang.reflect.Field.setAccessible(Field.java:165)
> at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)
> at com.thoughtworks.xstream.converters.collections.TreeMapConverter.<clinit>(TreeMapConverter.java:50)
> ... 67 more
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.314 s
> [INFO] Finished at: 2017-01-02T14:23:59+01:00
> [INFO] Final Memory: 21M/70M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war (default-war) on project mod_cluster-demo-server: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:3.0.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.maven.plugins:maven-war-plugin:3.0.0
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/Users/rhusar/.m2/repository/org/apache/maven/plugins/maven-war-plugin/3.0.0/maven-war-plugin-3.0.0.jar
> [ERROR] urls[1] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-archiver/3.3/plexus-archiver-3.3.jar
> [ERROR] urls[2] = file:/Users/rhusar/.m2/repository/org/apache/commons/commons-compress/1.11/commons-compress-1.11.jar
> [ERROR] urls[3] = file:/Users/rhusar/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
> [ERROR] urls[4] = file:/Users/rhusar/.m2/repository/org/tukaani/xz/1.5/xz-1.5.jar
> [ERROR] urls[5] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-io/2.7.1/plexus-io-2.7.1.jar
> [ERROR] urls[6] = file:/Users/rhusar/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> [ERROR] urls[7] = file:/Users/rhusar/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> [ERROR] urls[8] = file:/Users/rhusar/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
> [ERROR] urls[9] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
> [ERROR] urls[10] = file:/Users/rhusar/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[11] = file:/Users/rhusar/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[12] = file:/Users/rhusar/.m2/repository/org/apache/maven/maven-archiver/3.1.1/maven-archiver-3.1.1.jar
> [ERROR] urls[13] = file:/Users/rhusar/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.0.1/maven-shared-utils-3.0.1.jar
> [ERROR] urls[14] = file:/Users/rhusar/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
> [ERROR] urls[15] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.22/plexus-interpolation-1.22.jar
> [ERROR] urls[16] = file:/Users/rhusar/.m2/repository/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar
> [ERROR] urls[17] = file:/Users/rhusar/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar
> [ERROR] urls[18] = file:/Users/rhusar/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
> [ERROR] urls[19] = file:/Users/rhusar/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24/plexus-utils-3.0.24.jar
> [ERROR] urls[20] = file:/Users/rhusar/.m2/repository/org/apache/maven/shared/maven-filtering/3.1.1/maven-filtering-3.1.1.jar
> [ERROR] urls[21] = file:/Users/rhusar/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
> [ERROR] urls[22] = file:/Users/rhusar/.m2/repository/org/apache/maven/shared/maven-mapping/3.0.0/maven-mapping-3.0.0.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------: ExceptionInInitializerError: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @6048e26a
> [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
> {noformat}
> Upgrading xstream to upstream/master fails with
> {noformat}
> [WARNING] Error injecting: org.apache.maven.plugin.war.WarMojo
> com.google.inject.ProvisionException: Unable to provision, see the following errors:
> 1) Error injecting constructor, java.lang.ExceptionInInitializerError
> at org.apache.maven.plugin.war.WarMojo.<init>(Unknown Source)
> while locating org.apache.maven.plugin.war.WarMojo
> 1 error
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
> 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 org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
> at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
> 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:517)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 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:116)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 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:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 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:538)
> 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.ExceptionInInitializerError
> at org.apache.maven.plugin.war.AbstractWarMojo.<init>(AbstractWarMojo.java:329)
> at org.apache.maven.plugin.war.WarMojo.<init>(WarMojo.java:54)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:461)
> at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)
> at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
> at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
> at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)
> 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.ConstructorInjector.construct(ConstructorInjector.java:87)
> at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
> at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
> ... 42 more
> Caused by: java.lang.NullPointerException
> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.addClassAlias(ClassAliasingMapper.java:37)
> at com.thoughtworks.xstream.XStream.alias(XStream.java:1175)
> at com.thoughtworks.xstream.XStream.setupAliases(XStream.java:733)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:552)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:478)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:471)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:416)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:400)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:388)
> at org.apache.maven.plugin.war.util.WebappStructureSerializer.<clinit>(WebappStructureSerializer.java:47)
> ... 60 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 9 months