You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building applications that use the mule-vault-properties-provider, an error is received when using mule-maven-plugin version 3.6.0 and above. The error is: Execution default-process-classes of goal org.mule.tools.maven:mule-maven-plugin:3.6.3:process-classes failed: org.mule.tooling.api.ToolingException: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
Full mvn package -e output from a simple project:
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ---------< com.avioconsulting:vault-properties-provider-demo >----------
[INFO] Building vault-properties-provider-demo 1.0.0-SNAPSHOT
[INFO] --------------------------[ mule-application ]--------------------------
Downloading from : https://repository.mulesoft.org/releases/f2ea2cb4-c600-4bb5-88e8-e952ff5591ee/mule-vault-properties-providers-module/1.0.0-SNAPSHOT/maven-metadata.xml
Downloading from : https://maven.anypoint.mulesoft.com/api/v3/maven/f2ea2cb4-c600-4bb5-88e8-e952ff5591ee/mule-vault-properties-providers-module/1.0.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata f2ea2cb4-c600-4bb5-88e8-e952ff5591ee:mule-vault-properties-providers-module:1.0.0-SNAPSHOT/maven-metadata.xml from/to anypoint-exchange-v3 (https://maven.anypoint.mulesoft.com/api/v3/maven): authentication failed for https://maven.anypoint.mulesoft.com/api/v3/maven/f2ea2cb4-c600-4bb5-88e8-e952ff5591ee/mule-vault-properties-providers-module/1.0.0-SNAPSHOT/maven-metadata.xml, status: 401 Unauthorized
[WARNING] f2ea2cb4-c600-4bb5-88e8-e952ff5591ee:mule-vault-properties-providers-module:1.0.0-SNAPSHOT/maven-metadata.xmlfailed to transfer from https://maven.anypoint.mulesoft.com/api/v3/maven during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of anypoint-exchange-v3 has elapsed or updates are forced. Original error: Could not transfer metadata f2ea2cb4-c600-4bb5-88e8-e952ff5591ee:mule-vault-properties-providers-module:1.0.0-SNAPSHOT/maven-metadata.xml from/to anypoint-exchange-v3 (https://maven.anypoint.mulesoft.com/api/v3/maven): authentication failed for https://maven.anypoint.mulesoft.com/api/v3/maven/f2ea2cb4-c600-4bb5-88e8-e952ff5591ee/mule-vault-properties-providers-module/1.0.0-SNAPSHOT/maven-metadata.xml, status: 401 Unauthorized
[INFO]
[INFO] --- mule-maven-plugin:3.6.3:validate (default-validate) @ vault-properties-provider-demo ---
[INFO]
[INFO] --- mule-maven-plugin:3.6.3:initialize (default-initialize) @ vault-properties-provider-demo ---
[INFO]
[INFO] --- mule-maven-plugin:3.6.3:generate-sources (default-generate-sources) @ vault-properties-provider-demo ---
[INFO]
[INFO] --- mule-maven-plugin:3.6.3:process-sources (default-process-sources) @ vault-properties-provider-demo ---
[INFO] About to fetch required dependencies for artifact: com.avioconsulting:vault-properties-provider-demo:pom:1.0.0-SNAPSHOT. This may take a while...
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ vault-properties-provider-demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- mule-maven-plugin:3.6.3:process-resources (default-process-resources) @ vault-properties-provider-demo ---
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ vault-properties-provider-demo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- mule-maven-plugin:3.6.3:compile (default-compile) @ vault-properties-provider-demo ---
[INFO]
[INFO] --- mule-maven-plugin:3.6.3:process-classes (default-process-classes) @ vault-properties-provider-demo ---
[INFO] About to fetch required dependencies for artifact: 7b89cec0-86cd-11ed-9c3f-a25cc207ee49:7b89cec0-86cd-11ed-9c3f-a25cc207ee49:pom:4.5.0-20220125. This may take a while...
[INFO] About to fetch required dependencies for artifact: 7c379af0-86cd-11ed-9c3f-a25cc207ee49:7c379af0-86cd-11ed-9c3f-a25cc207ee49:pom:4.5.0-20220125. This may take a while...
[INFO] About to fetch required dependencies for artifact: 7c91c8e0-86cd-11ed-9c3f-a25cc207ee49:7c91c8e0-86cd-11ed-9c3f-a25cc207ee49:pom:4.5.0-20220125. This may take a while...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.814 s
[INFO] Finished at: 2022-12-28T10:34:24-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mule.tools.maven:mule-maven-plugin:3.6.3:process-classes (default-process-classes) on project vault-properties-provider-demo: Execution default-process-classes of goal org.mule.tools.maven:mule-maven-plugin:3.6.3:process-classes failed: org.mule.tooling.api.ToolingException: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.mule.tools.maven:mule-maven-plugin:3.6.3:process-classes (default-process-classes) on project vault-properties-provider-demo: Execution default-process-classes of goal org.mule.tools.maven:mule-maven-plugin:3.6.3:process-classes failed: org.mule.tooling.api.ToolingException: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
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:294)
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:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
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-process-classes of goal org.mule.tools.maven:mule-maven-plugin:3.6.3:process-classes failed: org.mule.tooling.api.ToolingException: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
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:294)
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:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
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.mule.tooling.api.ToolingException: org.mule.tooling.api.ToolingException: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.mule.tooling.internal.DefaultExtensionModelService.withTemporaryApplication (DefaultExtensionModelService.java:289)
at org.mule.tooling.internal.DefaultExtensionModelService.loadExtensionData (DefaultExtensionModelService.java:229)
at org.mule.tooling.internal.DefaultExtensionModelLoader.load (DefaultExtensionModelLoader.java:76)
at org.mule.tooling.api.AstGenerator.<init> (AstGenerator.java:59)
at org.mule.tools.maven.mojo.ProcessClassesMojo.getArtifactAst (ProcessClassesMojo.java:99)
at org.mule.tools.maven.mojo.ProcessClassesMojo.doExecute (ProcessClassesMojo.java:68)
at org.mule.tools.maven.mojo.AbstractMuleMojo.execute (AbstractMuleMojo.java:56)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
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:294)
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:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
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.mule.tooling.api.ToolingException: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.mule.tooling.internal.DefaultExtensionModelService.loadExtensionData (DefaultExtensionModelService.java:359)
at org.mule.tooling.internal.DefaultExtensionModelService.lambda$loadExtensionData$1 (DefaultExtensionModelService.java:232)
at org.mule.tooling.internal.DefaultExtensionModelService.withTemporaryApplication (DefaultExtensionModelService.java:287)
at org.mule.tooling.internal.DefaultExtensionModelService.loadExtensionData (DefaultExtensionModelService.java:229)
at org.mule.tooling.internal.DefaultExtensionModelLoader.load (DefaultExtensionModelLoader.java:76)
at org.mule.tooling.api.AstGenerator.<init> (AstGenerator.java:59)
at org.mule.tools.maven.mojo.ProcessClassesMojo.getArtifactAst (ProcessClassesMojo.java:99)
at org.mule.tools.maven.mojo.ProcessClassesMojo.doExecute (ProcessClassesMojo.java:68)
at org.mule.tools.maven.mojo.AbstractMuleMojo.execute (AbstractMuleMojo.java:56)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
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:294)
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:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
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.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray (AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray (AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue (AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2 (AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2 (AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations (AnnotationParser.java:72)
at java.lang.Class.createAnnotationData (Class.java:3521)
at java.lang.Class.annotationData (Class.java:3510)
at java.lang.Class.getAnnotation (Class.java:3415)
at org.mule.runtime.module.extension.internal.loader.java.type.runtime.TypeWrapper.getAnnotation (TypeWrapper.java:106)
at org.mule.runtime.module.extension.api.loader.java.type.WithAnnotations.isAnnotatedWith (WithAnnotations.java:49)
at org.mule.runtime.module.extension.internal.loader.java.type.runtime.TypeWrapper.getValueFromAnnotation (TypeWrapper.java:111)
at org.mule.runtime.module.extension.internal.loader.parser.java.MuleExtensionAnnotationParser.mapReduceAnnotation (MuleExtensionAnnotationParser.java:339)
at org.mule.runtime.module.extension.internal.loader.parser.java.MuleExtensionAnnotationParser.mapReduceSingleAnnotation (MuleExtensionAnnotationParser.java:282)
at org.mule.runtime.module.extension.internal.loader.parser.java.JavaExtensionModelParser.parseXmlDslConfiguration (JavaExtensionModelParser.java:375)
at org.mule.runtime.module.extension.internal.loader.parser.java.JavaExtensionModelParser.parseStructure (JavaExtensionModelParser.java:112)
at org.mule.runtime.module.extension.internal.loader.parser.java.JavaExtensionModelParser.<init> (JavaExtensionModelParser.java:108)
at org.mule.runtime.module.extension.internal.loader.parser.java.JavaExtensionModelParser.<init> (JavaExtensionModelParser.java:99)
at org.mule.runtime.module.extension.internal.loader.parser.java.JavaExtensionModelParserFactory.createParser (JavaExtensionModelParserFactory.java:34)
at org.mule.runtime.module.extension.internal.loader.delegate.DefaultExtensionModelLoaderDelegate.declare (DefaultExtensionModelLoaderDelegate.java:86)
at org.mule.runtime.module.extension.internal.loader.AbstractExtensionModelLoader.declareExtension (AbstractExtensionModelLoader.java:78)
at org.mule.runtime.extension.api.loader.ExtensionModelLoader.loadExtensionModel (ExtensionModelLoader.java:98)
at org.mule.runtime.extension.api.loader.ExtensionModelLoader.loadExtensionModel (ExtensionModelLoader.java:70)
at org.mule.runtime.deployment.model.api.artifact.extension.ExtensionModelDiscoverer.discoverExtensionThroughJsonDescriber (ExtensionModelDiscoverer.java:220)
at org.mule.runtime.deployment.model.api.artifact.extension.ExtensionModelDiscoverer.lambda$discoverPluginExtensionModelWithDependencies$9 (ExtensionModelDiscoverer.java:170)
at java.util.Optional.map (Optional.java:215)
at org.mule.runtime.deployment.model.api.artifact.extension.ExtensionModelDiscoverer.discoverPluginExtensionModelWithDependencies (ExtensionModelDiscoverer.java:170)
at org.mule.runtime.deployment.model.api.artifact.extension.ExtensionModelDiscoverer.discoverPluginExtensionModel (ExtensionModelDiscoverer.java:158)
at org.mule.runtime.deployment.model.api.artifact.extension.ExtensionModelDiscoverer.lambda$discoverPluginsExtensionModels$8 (ExtensionModelDiscoverer.java:147)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining (ArrayList.java:1384)
at java.util.stream.ReferencePipeline$Head.forEach (ReferencePipeline.java:647)
at org.mule.runtime.deployment.model.api.artifact.extension.ExtensionModelDiscoverer.discoverPluginsExtensionModels (ExtensionModelDiscoverer.java:147)
at org.mule.runtime.deployment.model.api.artifact.extension.ExtensionModelDiscoverer.discoverPluginsExtensionModels (ExtensionModelDiscoverer.java:92)
at org.mule.tooling.internal.DefaultExtensionModelService.discoverPluginsExtensionModel (DefaultExtensionModelService.java:374)
at org.mule.tooling.internal.DefaultExtensionModelService.loadExtensionData (DefaultExtensionModelService.java:356)
at org.mule.tooling.internal.DefaultExtensionModelService.lambda$loadExtensionData$1 (DefaultExtensionModelService.java:232)
at org.mule.tooling.internal.DefaultExtensionModelService.withTemporaryApplication (DefaultExtensionModelService.java:287)
at org.mule.tooling.internal.DefaultExtensionModelService.loadExtensionData (DefaultExtensionModelService.java:229)
at org.mule.tooling.internal.DefaultExtensionModelLoader.load (DefaultExtensionModelLoader.java:76)
at org.mule.tooling.api.AstGenerator.<init> (AstGenerator.java:59)
at org.mule.tools.maven.mojo.ProcessClassesMojo.getArtifactAst (ProcessClassesMojo.java:99)
at org.mule.tools.maven.mojo.ProcessClassesMojo.doExecute (ProcessClassesMojo.java:68)
at org.mule.tools.maven.mojo.AbstractMuleMojo.execute (AbstractMuleMojo.java:56)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
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:294)
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:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
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
The text was updated successfully, but these errors were encountered:
This issue is caused by the use of the Annotations to set up the UI instead of using the ConfigurationDeclarer to declare the UI manually. We were trying to make this module too similar to the Vault Connector.
See the sample, decompile the Secure Properties Provider, or check out the Cyberark custom properties provider or Enhanced Mule Properties module. These are all setting up the UIs manually. We just need to replicate what we've been doing with annotations by using the ConfigurationDeclarer instead.
Branch feature/issue25 has some sample changes that were used to test this.
When building applications that use the mule-vault-properties-provider, an error is received when using mule-maven-plugin version 3.6.0 and above. The error is:
Execution default-process-classes of goal org.mule.tools.maven:mule-maven-plugin:3.6.3:process-classes failed: org.mule.tooling.api.ToolingException: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
Full
mvn package -e
output from a simple project:The text was updated successfully, but these errors were encountered: