product-ei icon indicating copy to clipboard operation
product-ei copied to clipboard

When using IDEA 2021.2 to compile WSO2 EI 6.6.0 source code, the message Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process is displayed

Open wxhntmy opened this issue 2 years ago • 0 comments

Clone the project directly and compile, the console reports the following error:

[INFO] --- maven-remote-resources-plugin:1.6.0:process (default) @ automation-extensions --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [ERROR] Exception calling reference $projectsSortedByOrganization at META-INF/DEPENDENCIES.vm[line 34, column 33] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for WSO2 Enterprise Integrator 6.6.0: [INFO] [INFO] WSO2 Enterprise Integrator ......................... SUCCESS [ 8.873 s] [INFO] WSO2 Enterprise Integrator - Component Parent ...... SUCCESS [ 0.217 s] [INFO] WSO2 Enterprise Integrator - Styles ................ SUCCESS [ 11.425 s] [INFO] WSO2 Enterprise Integrator - Analytics Styles ...... SUCCESS [ 2.897 s] [INFO] WSO2 EI Business-Process - UI styles ............... SUCCESS [ 1.308 s] [INFO] WSO2 EI Business-Process - Tenant Dashboard UI ..... SUCCESS [ 12.785 s] [INFO] WSO2 EI Broker Styles .............................. SUCCESS [ 0.773 s] [INFO] WSO2 EI Message Broker - Dashboard UI .............. SUCCESS [ 2.623 s] [INFO] WSO2 ei bpmn Analytics - UDF ....................... SUCCESS [ 6.764 s] [INFO] WSO2 Carbon - BPMN Analytics Core Extension ........ SUCCESS [ 26.544 s] [INFO] WSO2 Enterprise Integrator - Analytics ELK ......... SUCCESS [01:09 min] [INFO] WSO2 Carbon - Server Administration UI ............. SUCCESS [ 16.636 s] [INFO] WSO2 Enterprise Integrator - Samples Parent ........ SUCCESS [ 0.169 s] [INFO] WSO2 EI - Samples .................................. SUCCESS [ 13.587 s] [INFO] WSO2 BPS - Distribution Parent ..................... SUCCESS [ 0.188 s] [INFO] WSO2 BPS - Sample Utilities and Jars to use with BPS Testing SUCCESS [ 0.200 s] [INFO] WSO2 BPS - Utilities for Samples ................... SUCCESS [ 8.427 s] [INFO] WSO2 BPS - Client for Samples ...................... SUCCESS [ 5.465 s] [INFO] WSO2 BPS - Tools ................................... SUCCESS [01:08 min] [INFO] WSO2 BPS Samples ................................... SUCCESS [ 24.370 s] [INFO] WSO2 Enterprise Integrator - Web App Samples ....... SUCCESS [ 1.894 s] [INFO] JAX-RS Basic Demo .................................. SUCCESS [ 15.860 s] [INFO] WSO2 DataServices Samples Parent ................... SUCCESS [ 10.584 s] [INFO] DataServices Clients ............................... SUCCESS [03:09 min] [INFO] WSO2 Enterprise Integrator - Feature Aggregator Module SUCCESS [ 0.143 s] [INFO] WSO2 Enterprise Integrator - Styles Features ....... SUCCESS [ 10.584 s] [INFO] WSO2 Enterprise Integrator - Analytics Feature ..... SUCCESS [ 12.742 s] [INFO] WSO2 Enterprise Integrator Analytics - Styles Features SUCCESS [ 6.258 s] [INFO] WSO2 Enterprise Integrator - Samples Features ...... SUCCESS [ 14.282 s] [INFO] WSO2 EI Business Process - Style Features .......... SUCCESS [ 0.323 s] [INFO] WSO2 EI Business-Process - Tenant Dashboard UI ..... SUCCESS [ 2.060 s] [INFO] WSO2 EI Broker - Styles Features ................... SUCCESS [ 0.394 s] [INFO] WSO2 EI Broker - Tenant Dashboard UI ............... SUCCESS [ 4.744 s] [INFO] WSO2 Enterprise Integrator - Analytics ELK Feature . SUCCESS [ 4.210 s] [INFO] WSO2 Enterprise Integrator - Admin Console feature . SUCCESS [ 2.293 s] [INFO] WSO2 Enterprise Integrator - P2 Profile Module ..... SUCCESS [ 0.434 s] [INFO] WSO2 Enterprise Integrator - P2 Profile Generation . SUCCESS [03:34 min] [INFO] >WSO2 Enterprise Integrator - Analytics Profile Generation SUCCESS [06:03 min] [INFO] WSO2 BPS - P2 Profile Generation ................... SUCCESS [03:33 min] [INFO] WSO2 Broker - P2 Profile Generation ................ SUCCESS [02:11 min] [INFO] WSO2 Enterprise Integrator - Distribution .......... SUCCESS [07:19 min] [INFO] WSO2 Enterprise Integrator - Integration Tests ..... SUCCESS [ 0.207 s] [INFO] WSO2 Enterprise Integrator - Automation Extensions . FAILURE [07:07 min] [INFO] WSO2 Enterprise Integrator - Mediation Integration Tests SKIPPED [INFO] EI Test Common Module .............................. SKIPPED [INFO] EI Integration Test Admin Clients .................. SKIPPED [INFO] EI Integration Test UI Pages ....................... SKIPPED [INFO] EI Integration Test Common Utils ................... SKIPPED [INFO] EI Test Service Module ............................. SKIPPED [INFO] EI test Module-Transport ........................... SKIPPED [INFO] EI test Module-Service ............................. SKIPPED [INFO] EI test Module-mediator-1 .......................... SKIPPED [INFO] EI test Module-mediator-2 .......................... SKIPPED [INFO] EI test Module - Test Patches ...................... SKIPPED [INFO] EI test Module - Sample ............................ SKIPPED [INFO] EI test Module-Other ............................... SKIPPED [INFO] EI test Module - UI ................................ SKIPPED [INFO] EI Test Module - Platform .......................... SKIPPED [INFO] EI test Module - Platform - RabbitMQ Transport ..... SKIPPED [INFO] EI test Module - Platform - with WSO2MB ............ SKIPPED [INFO] Integration Test Reporting ......................... SKIPPED [INFO] WSO2 BPS - Integration Parent ...................... SKIPPED [INFO] WSO2 BPS - Integration Parent ...................... SKIPPED [INFO] WSO2 BPS - Integration Test Common Module .......... SKIPPED [INFO] WSO2 BPS - Integration Test Utils .................. SKIPPED [INFO] WSO2 BPS - Integration UI Pages .................... SKIPPED [INFO] WSO2 BPS - Integration Parent ...................... SKIPPED [INFO] WSO2 Business Process Server Integration Tests - BPEL SKIPPED [INFO] WSO2 Business Process Server Integration Tests - HumanTask SKIPPED [INFO] WSO2 Business Process Server Integration Tests - BPMN SKIPPED [INFO] WSO2 Business Process Server Integration Tests - HumanTask Coordination SKIPPED [INFO] WSO2 Business Process Server Integration Tests - BPS Test Reporting Module SKIPPED [INFO] WSO2 BPS - Integration Parent ...................... SKIPPED [INFO] WSO2 Business Process Server Tests Patches - BPEL .. SKIPPED [INFO] WSO2 Enterprise Integrator - Data Service Hosting Integration Tests SKIPPED [INFO] WSO2 DataServices Integration Test Common .......... SKIPPED [INFO] admin-clents ....................................... SKIPPED [INFO] integration-test-utils ............................. SKIPPED [INFO] integration-test-ui-pages .......................... SKIPPED [INFO] WSO2 DataServices Integration Test ................. SKIPPED [INFO] org.wso2.ei.integration.test ....................... SKIPPED [INFO] DataService Integration test UI module ............. SKIPPED [INFO] WSO2 MB - Integration Tests ........................ SKIPPED [INFO] WSO2 MB - Integration Test Common Module ........... SKIPPED [INFO] WSO2 MB - Integration Test Common Utils Module ..... SKIPPED [INFO] WSO2 MB - platform Test Common Utils Module ........ SKIPPED [INFO] Integration Test Module ............................ SKIPPED [INFO] MB AMQP based Test Module .......................... SKIPPED [INFO] MB Server Test Module .............................. SKIPPED [INFO] MB Patch based Test Module ......................... SKIPPED [INFO] UI Integration Test Module ......................... SKIPPED [INFO] org.wso2.carbon.ei.migration ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 39:42 min [INFO] Finished at: 2022-03-05T17:00:49+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process (default) on project automation-extensions: Execution default o f goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process failed.: NullPointerException -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process (default) on pr oject automation-extensions: Execution default of goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) 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:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process failed.

at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
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:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)

Caused by: java.lang.NullPointerException at org.apache.maven.artifact.resolver.filter.ExclusionArtifactFilter.include (ExclusionArtifactFilter.java:60) at org.apache.maven.artifact.resolver.filter.AndArtifactFilter.include (AndArtifactFilter.java:56) at org.apache.maven.project.artifact.MavenMetadataSource.createDependencyArtifact (MavenMetadataSource.java:356) at org.apache.maven.project.artifact.MavenMetadataSource.createDependencyArtifact (MavenMetadataSource.java:327) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve (MavenMetadataSource.java:247) at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse (DefaultLegacyArtifactCollector.java:551) at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse (DefaultLegacyArtifactCollector.java:605) at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse (DefaultLegacyArtifactCollector.java:605) at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect (DefaultLegacyArtifactCollector.java:148) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:504) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveWithExceptions (DefaultArtifactResolver.java:358) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively (DefaultArtifactResolver.java:352) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively (DefaultArtifactResolver.java:324) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively (DefaultArtifactResolver.java:287) at org.apache.maven.shared.artifact.resolver.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:140) at org.apache.maven.shared.artifact.resolver.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:187) at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.resolveProjectArtifacts (ProcessRemoteResourcesMojo.java:691) at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.getProjects (ProcessRemoteResourcesMojo.java:596) at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo$1.internalGet (ProcessRemoteResourcesMojo.java:1045) at org.apache.velocity.context.AbstractContext.get (AbstractContext.java:193) at org.apache.velocity.context.InternalContextAdapterImpl.get (InternalContextAdapterImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTReference.getVariableValue (ASTReference.java:991) at org.apache.velocity.runtime.parser.node.ASTReference.execute (ASTReference.java:240) at org.apache.velocity.runtime.parser.node.ASTReference.value (ASTReference.java:567) at org.apache.velocity.runtime.directive.Foreach.render (Foreach.java:318) at org.apache.velocity.runtime.parser.node.ASTDirective.render (ASTDirective.java:207) at org.apache.velocity.runtime.parser.node.SimpleNode.render (SimpleNode.java:342) at org.apache.velocity.Template.merge (Template.java:356) at org.apache.velocity.Template.merge (Template.java:260) at org.apache.velocity.app.VelocityEngine.mergeTemplate (VelocityEngine.java:354) at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles (ProcessRemoteResourcesMojo.java:1262) at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute (ProcessRemoteResourcesMojo.java:510) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) 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:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [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/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :automation-extensions

wxhntmy avatar Mar 05 '22 09:03 wxhntmy