[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.switchyard.quickstarts:switchyard-soap-attachment:bundle:2.0.1.redhat-621097 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:exec-maven-plugin is missing. @ line 174, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SwitchYard Quickstart: soap-attachment 2.0.1.redhat-621097 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> exec-maven-plugin:1.2.1.jbossorg-3:java (default-cli) > validate @ switchyard-soap-attachment >>> [INFO] [INFO] <<< exec-maven-plugin:1.2.1.jbossorg-3:java (default-cli) < validate @ switchyard-soap-attachment <<< [INFO] [INFO] --- exec-maven-plugin:1.2.1.jbossorg-3:java (default-cli) @ switchyard-soap-attachment --- soap:Receiver javax.mail.internet.InternetHeaders cannot be cast to java.util.Map [WARNING] java.lang.reflect.InvocationTargetException 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.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:745) Caused by: java.util.NoSuchElementException at java.util.Collections$EmptyIterator.next(Collections.java:3006) at org.switchyard.quickstarts.soap.attachment.SoapAttachmentClient.main(SoapAttachmentClient.java:49) ... 6 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.505 s [INFO] Finished at: 2016-04-13T11:32:28-04:00 [INFO] Final Memory: 36M/262M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1.jbossorg-3:java (default-cli) on project switchyard-soap-attachment: An exception occurred while executing the Java class. null: InvocationTargetException: NoSuchElementException -> [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/MojoExecutionException