maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirko Friedenhagen <mfriedenha...@gmail.com>
Subject Re: Preleminary Maven 3.4.0-SNAPSHOT Testing
Date Sat, 11 Jun 2016 22:03:24 GMT
Hello Karl-Heinz,

I tried this with 2 projects, firstly an inhouse project and it choked with:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.19:test
(default-test) on project ui-mamido-qamove: Execution default-test of
goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test failed:
There was an error in the forked process

[ERROR] org.apache.maven.surefire.util.SurefireReflectionException:
java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing

[ERROR] at org.apache.maven.surefire.common.junit4.JUnit4Reflector.createRequest(JUnit4Reflector.java:76)

[ERROR] at org.apache.maven.surefire.common.junit4.JUnit4ProviderUtil.createSuiteDescription(JUnit4ProviderUtil.java:111)

[ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.createTestsDescription(JUnit4Provider.java:328)

[ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:166)

[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)

[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)

[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

[ERROR] Caused by: java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing

[ERROR] at java.lang.ClassLoader.defineClass1(Native Method)

[ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)

[ERROR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

[ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)

[ERROR] at java.net.URLClassLoader.access$100(URLClassLoader.java:73)

[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:368)

[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:362)

[ERROR] at java.security.AccessController.doPrivileged(Native Method)

[ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:361)

[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

[ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

[ERROR] at org.junit.runner.Computer.getSuite(Computer.java:28)

[ERROR] at org.junit.runner.Request.classes(Request.java:75)

[ERROR] at org.junit.runner.Request.classes(Request.java:91)

[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[ERROR] at java.lang.reflect.Method.invoke(Method.java:498)

[ERROR] at org.apache.maven.surefire.common.junit4.JUnit4Reflector.createRequest(JUnit4Reflector.java:67)

[ERROR] ... 6 more

[ERROR] Caused by: java.lang.ClassNotFoundException: org.hamcrest.SelfDescribing

[ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

[ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

[ERROR] ... 26 more

[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


then I tried this with https://github.com/1and1/testlink-junit and it
choked like this:

[ERROR] Failed to execute goal
org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on
project tljunit-parent: Unable to parse configuration of mojo
org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter
pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts'
with value '${plugin.artifacts}' of type
java.util.Collections.UnmodifiableRandomAccessList to property of type
java.util.ArrayList -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs
(findbugs) on project tljunit-parent: Unable to parse configuration of
mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for
parameter pluginArtifacts: Cannot assign configuration entry
'pluginArtifacts' with value '${plugin.artifacts}' of type
java.util.Collections.UnmodifiableRandomAccessList to property of type
java.util.ArrayList

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:214)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:155)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:147)

    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions
(MojoExecutor.java:354)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:199)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:155)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:147)

    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:984)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:311)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:214)

    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.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter
pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts'
with value '${plugin.artifacts}' of type
java.util.Collections.UnmodifiableRandomAccessList to property of type
java.util.ArrayList

    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields
(DefaultMavenPluginManager.java:660)

    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo
(DefaultMavenPluginManager.java:592)

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:121)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:209)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:155)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:147)

    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions
(MojoExecutor.java:354)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:199)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:155)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:147)

    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:984)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:311)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:214)

    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.codehaus.plexus.component.configurator.ComponentConfigurationException:
Cannot assign configuration entry 'pluginArtifacts' with value
'${plugin.artifacts}' of type
java.util.Collections.UnmodifiableRandomAccessList to property of type
java.util.ArrayList

    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.codehaus.plexus.component.configurator.converters.composite.CollectionConverter.fromConfiguration
(CollectionConverter.java:47)

    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:630)

    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo
(DefaultMavenPluginManager.java:592)

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:121)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:209)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:155)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:147)

    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions
(MojoExecutor.java:354)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:199)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:155)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:147)

    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:984)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:311)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:214)

    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)

[ERROR]

[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/PluginConfigurationException


Regards
Mirko
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/


On Sat, Jun 11, 2016 at 11:29 PM, Karl Heinz Marbaise <khmarbaise@gmx.de> wrote:
> Hi Oliver,
>
> On 6/11/16 11:25 PM, Oliver B. Fischer wrote:
>>
>> Hi,
>>
>> Can I use the Linux package to test it on OS X?
>
>
> Yes I do that the whole time ;-)
>
> we have no dedicated OS X package ;-)..
>
>
> Kind regards
> Karl Heinz Marbaise
>>
>>
>> Best
>>
>> Oliver
>>
>> Von meinem iPhone gesendet
>>
>>> Am 11.06.2016 um 22:21 schrieb Karl Heinz Marbaise <khmarbaise@gmx.de>:
>>>
>>> Hi to all Maven users,
>>>
>>> is someone of you willing to do some testing on the current state of
>>> development for the upcoming Maven 3.4.0 release?
>>>
>>> Please be aware of this *** This is not an official release ***
>>>
>>> I have created downloadable packages which are available from here:
>>>
>>> Windows: https://s.apache.org/fawM,
>>> Linux: https://s.apache.org/RQ3C
>>>
>>>
>>> Every kind of feedback is helpful.
>>>
>>> This is only a current state of development (Git hash:
>>> 644ac9c40ad41bf61e3b099918af33b8eb950621) to get some feedback from the
>>> community...
>>>
>>> The current list of changes can be seen in the issue tracker:
>>>
>>> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MNG%20AND%20fixVersion%20%3D%203.4.0
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message