Re: [Esciencecentral-users] Error when building workflow engine
Cloud based scientific data analysis
Status: Beta
Brought to you by:
sjwoodman
|
From: Simon W. <sim...@nc...> - 2015-10-15 07:52:09
|
Hi Stanislav, please can you send me the complete output of the build including the parts that didn't fail. Also, please can you let me know what version of Java and Maven you're using? Cheers, S. > On 15 Oct 2015, at 08:47, Stanislav Polyakov <s.p...@gm...> wrote: > > Hello! > > I still cannot solve the problem with building workflow engine I wrote about earlier: when I run the command > ~/esc/esciencecentral-code/code$ mvn -e clean install > I get an error > > [ERROR] Failed to execute goal com.connexience:upload-plugin:3.1-SNAPSHOT:upload (default) on project workflow-libraries: Unable to parse configuration of mojo com.connexience:upload-plugin:3.1-SNAPSHOT:upload: Cannot find setter, adder nor field in com.connexience.UploadMojo for 'upload.category' -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.connexience:upload-plugin:3.1-SNAPSHOT:upload (default) on project workflow-libraries: Unable to parse configuration of mojo com.connexience:upload-plugin:3.1-SNAPSHOT:upload: Cannot find setter, adder nor field in com.connexience.UploadMojo for 'upload.category' > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:221) > 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:84) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) > at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) > at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > Caused by: org.apache.maven.plugin.PluginConfigurationException: Unable to parse configuration of mojo com.connexience:upload-plugin:3.1-SNAPSHOT:upload: Cannot find setter, adder nor field in com.connexience.UploadMojo for 'upload.category' > at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:597) > at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:529) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > ... 19 more > Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationException: Cannot find setter, adder nor field in com.connexience.UploadMojo for 'upload.category' > at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.<init>(ComponentValueSetter.java:95) > at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:158) > at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56) > at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:567) > ... 22 more > > > When I was looking for a way to fix it, I found in > ~/esc/esciencecentral-code/code/webflow/WorkflowItems/libraries/pom.xml > at lines 176-178 > > <!-- Full path of folder in e-Science Central to upload the object to. This needs to exist in e-SC > beforehand. e.g. /services/test--> > <folderPath>/Libraries</folderPath> > > It seems somewhat contradictory (should it be a full path e.g. /home/... or start with e-Science Central main folder?). Anyway, wherever I tried to create the Libraries folder, it did not change the error so this was not the reason behind it. > > Can you please help me figure it out? > > With best regards, > Stanislav Polyakov > ------------------------------------------------------------------------------ > _______________________________________________ > Esciencecentral-users mailing list > Esc...@li... > https://lists.sourceforge.net/lists/listinfo/esciencecentral-users |