universAAL / platform

Aggregation of all submodules for universAAL platform, and home of the main documentation wiki.
Other
19 stars 7 forks source link

uaal-manifest-maven-plugin fails to load default configuration under linux #30

Closed amedranogil closed 7 years ago

amedranogil commented 7 years ago

Originally Opened: @amedranogil (2014-09-19 13:59:40) Originally Closed: 2014-09-19 17:08:44

At least for attached project it has been confirmed that for linux environments the following error arrises:

[DEBUG] Configuring mojo 'org.universAAL.support:uaal-manifest-maven-plugin:3.1.0:uaalManifest' --> [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to configure plugin parameters for: org.universAAL.support:uaal-manifest-maven-plugin:3.1.0

Cause: Cannot assign configuration entry 'combine' to 'class [Ljava.io.File;' from 'null', which is of type class java.lang.String [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.universAAL.support:uaal-manifest-maven-plugin. Reason: Unable to parse the created DOM for plugin configuration at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:723) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.PluginConfigurationException: Error configuring: org.universAAL.support:uaal-manifest-maven-plugin. Reason: Unable to parse the created DOM for plugin configuration at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1363) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:724) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationException: Cannot assign configuration entry 'combine' to 'class [Ljava.io.File;' from 'null', which is of type class java.lang.String at org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter.fromExpression(AbstractConfigurationConverter.java:149) at org.codehaus.plexus.component.configurator.converters.composite.ArrayConverter.fromConfiguration(ArrayConverter.java:62) at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:247) at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137) at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56) at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1357) ... 20 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7 seconds [INFO] Finished at: Fri Sep 19 13:57:50 CEST 2014 [INFO] Final Memory: 43M/196M [INFO] ------------------------------------------------------------------------

--

From: this issue has been automatically imported from our old issue tracker

amedranogil commented 7 years ago

Original author: @cstockloew (2014-09-19 14:46:23)

Bug is based on forum discussion at: http://forge.universaal.org/gf/project/support/forum/?_forum_action=MessageReply&message_id=1010&action=ForumBrowse

I removed the maven parameter 'combine' as it is not used at the moment. I cannot reproduce the error on my machine and hudson also works. So, I'm waiting for someone else to confirm that the error is gone and this bug can be closed...

amedranogil commented 7 years ago

Original author: @amedranogil (2014-09-19 15:48:44)

It due to Maven 2.x.

amedranogil commented 7 years ago

Original author: @cstockloew (2014-09-19 17:08:44)

The parameter is removed, so I close this item.

amedranogil commented 7 years ago

issue cloed on 2014-09-19 17:08:44