[
https://issues.jboss.org/browse/JBTM-3152?page=com.atlassian.jira.plugin....
]
Ondrej Chaloupka commented on JBTM-3152:
----------------------------------------
The reason which makes the quickstart to fail is error during quickstart compilation. The
{{XTS/ssl}} quickstart uses deployment from
https://github.com/wildfly/quickstart of
project wsat-simple (deployment final name is {{wsat-simple.war}}).
Because of some internal changes at CI - probably some update(?), use of an newer version
of maven - suddenly compilation fails with [1].
The reason seems to be wrong configuration of the enforcer plugin in the {{jboss-parent}}
bom. The issues is created at:
https://github.com/jboss/jboss-parent-pom/issues/65
The workaround is to skip the enforcer rule to be used during the wildfly quickstarts
compilation.
[1]
{code}
Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce
(enforce-java-version) on project wsat-simple: Unable to parse configuration of mojo
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce for parameter
bannedRepositories: Cannot assign configuration entry 'bannedRepositories' with
value 'http://*' of type java.lang.String to property of type java.util.List ->
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) on
project wsat-simple: Unable to parse configuration of mojo
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce for parameter
bannedRepositories: Cannot assign configuration entry 'bannedRepositories' with
value 'http://*' of type java.lang.String to property of type java.util.List
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:220)
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:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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: org.apache.maven.plugin.PluginConfigurationException: Unable to parse
configuration of mojo org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce for
parameter bannedRepositories: Cannot assign configuration entry
'bannedRepositories' with value 'http://*' of type java.lang.String to
property of type java.util.List
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:607)
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:539)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:119)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationException:
Cannot assign configuration entry 'bannedRepositories' with value
'http://*' of type java.lang.String to property of type java.util.List
at
org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter.failIfNotTypeCompatible(AbstractConfigurationConverter.java:100)
at
org.codehaus.plexus.component.configurator.converters.composite.CollectionConverter.fromConfiguration(CollectionConverter.java:82)
at
org.eclipse.sisu.plexus.CompositeBeanHelper.convertProperty(CompositeBeanHelper.java:268)
at org.eclipse.sisu.plexus.CompositeBeanHelper.setProperty(CompositeBeanHelper.java:210)
at
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:101)
at
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.fromConfiguration(ObjectWithFieldsConverter.java:57)
at
org.codehaus.plexus.component.configurator.converters.composite.AbstractCollectionConverter.fromChildren(AbstractCollectionConverter.java:54)
at
org.codehaus.plexus.component.configurator.converters.composite.ArrayConverter.fromConfiguration(ArrayConverter.java:52)
at
org.eclipse.sisu.plexus.CompositeBeanHelper.convertProperty(CompositeBeanHelper.java:273)
at org.eclipse.sisu.plexus.CompositeBeanHelper.setProperty(CompositeBeanHelper.java:174)
at
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:101)
at
org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:34)
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:577)
... 22 more
{code}
XTS over SSL Quickstart Failure
-------------------------------
Key: JBTM-3152
URL:
https://issues.jboss.org/browse/JBTM-3152
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Demonstrator
Affects Versions: 5.9.5.Final
Reporter: Michael Musgrove
Assignee: Ondrej Chaloupka
Priority: Major
Fix For: 5.9.5.Final
CI job narayana-quickstarts XTS over SSL Quickstart is failing regularly because the
server is not reporting 'Transaction succeeded!':
> Doing the test by requesting
'http://localhost:8180/WSATSimpleServletClient'
> + curl -X GET
http://localhost:8180/WSATSimpleServletClient
> + grep 'Transaction succeeded!'
See for example build:
http://narayanaci1.eng.hst.ams2.redhat.com/job/narayana-quickstarts/285/
--
This message was sent by Atlassian Jira
(v7.12.1#712002)