Guest User

update-environment

a guest
Feb 23rd, 2015
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mvn deploy -P s3-deploy
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------------------------------------------------------------
  5. [INFO] Building test-project 1.0-SNAPSHOT
  6. [INFO] ------------------------------------------------------------------------
  7. [INFO]
  8. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ test-project ---
  9. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  10. [INFO] Copying 227 resources
  11. [INFO]
  12. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ test-project ---
  13. [INFO] Nothing to compile - all classes are up to date
  14. [INFO]
  15. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ test-project ---
  16. [INFO] Not copying test resources
  17. [INFO]
  18. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ test-project ---
  19. [INFO] Not compiling test sources
  20. [INFO]
  21. [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ test-project ---
  22. [INFO] Tests are skipped.
  23. [INFO]
  24. [INFO] --- maven-war-plugin:2.4:war (default-war) @ test-project ---
  25. [INFO] Packaging webapp
  26. [INFO] Assembling webapp [test-project] in [C:\Users\krst\test-project\service\complete\target\test-project-1.0-SNAPSHOT]
  27. [INFO] Processing war project
  28. [INFO] Webapp assembled in [646 msecs]
  29. [INFO] Building war: C:\Users\krst\test-project\service\complete\target\test-project-1.0-SNAPSHOT.war
  30. [INFO]
  31. [INFO] --- spring-boot-maven-plugin:1.1.10.RELEASE:repackage (default) @ test-project ---
  32. [INFO]
  33. [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ test-project ---
  34. [INFO] Skipping artifact installation
  35. [INFO]
  36. [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ test-project ---
  37. [INFO] Skipping artifact deployment
  38. [INFO]
  39. [INFO] --- beanstalk-maven-plugin:1.4.0:upload-source-bundle (deploy) @ test-project ---
  40. [INFO] Target Path: s3://elasticbeanstalk-us-west-2-834092605248/test-project/test-project-1.0-SNAPSHOT-20150223110328.war
  41. [INFO] Uploading artifact file: C:\Users\krst\test-project\service\complete\target\test-project-1.0-SNAPSHOT.war
  42. 100.00% 15 MiB/15 MiB Done
  43. [INFO] Artifact Uploaded
  44. [INFO] SUCCESS
  45. [INFO]
  46. [INFO] --- beanstalk-maven-plugin:1.4.0:create-application-version (deploy) @ test-project ---
  47. [INFO] SUCCESS
  48. [INFO] * dateCreated: Mon Feb 23 12:04:52 CET 2015 [class: Date]
  49. [INFO] * sourceBundle: {S3Bucket: elasticbeanstalk-us-west-2-XXXXXXXXXXXXXX,S3Key: test-project/test-project-1.0-SNAPSHOT-20150223110328.war} [class: S3Location]
  50. [INFO] * versionLabel: 20150223110328 [class: String]
  51. [INFO] * description: Update from beanstalk-maven-plugin [class: String]
  52. [INFO] * applicationName: test-project [class: String]
  53. [INFO] * dateUpdated: Mon Feb 23 12:04:52 CET 2015 [class: Date]
  54. [INFO]
  55. [INFO] --- beanstalk-maven-plugin:1.4.0:describe-environments (deploy) @ test-project ---
  56. [INFO] SUCCESS
  57. [INFO] * environments: [{EnvironmentName: testProject,EnvironmentId: e-XXXXXXXXXXXX,ApplicationName: test-project,VersionLabel: test-project-1.0-SNAPSHOT-v3,SolutionStackName: 64bit Amazon Linux 2014.09 v1.2.0 running Tomcat 7 Java 7,EndpointURL: 52.10.145.47,CNAME: testproject.elasticbeanstalk.com,DateCreated: Thu Feb 19 14:28:53 CET 2015,DateUpdated: Fri Feb 20 15:42:31 CET 2015,Status: Ready,Health: Green,Tier: {Name: WebServer,Type: Standard,Version: }}] [class: List]
  58. [INFO]
  59. [INFO] --- beanstalk-maven-plugin:1.4.0:update-environment (deploy) @ test-project ---
  60. [INFO] ... with cname set to 'testProject.elasticbeanstalk.com'
  61. [INFO] ... with status *NOT* set to 'Terminated'
  62. [WARNING] FAILURE
  63. java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: No environments found
  64. at br.com.ingenieux.mojo.beanstalk.AbstractNeedsEnvironmentMojo.configure(AbstractNeedsEnvironmentMojo.java:303)
  65. at br.com.ingenieux.mojo.aws.AbstractAWSMojo.execute(AbstractAWSMojo.java:355)
  66. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
  67. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
  68. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  69. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  70. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  71. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  72. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  73. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
  74. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
  75. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
  76. at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
  77. at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
  78. at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
  79. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  80. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  81. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  82. at java.lang.reflect.Method.invoke(Method.java:483)
  83. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  84. at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  85. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  86. at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  87. at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
  88. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  89. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  90. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  91. at java.lang.reflect.Method.invoke(Method.java:483)
  92. at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
  93. Caused by: org.apache.maven.plugin.MojoExecutionException: No environments found
  94. at br.com.ingenieux.mojo.beanstalk.AbstractBeanstalkMojo.handleNonSingle(AbstractBeanstalkMojo.java:100)
  95. at br.com.ingenieux.mojo.beanstalk.AbstractBeanstalkMojo.handleResults(AbstractBeanstalkMojo.java:92)
  96. at br.com.ingenieux.mojo.beanstalk.AbstractBeanstalkMojo.lookupEnvironment(AbstractBeanstalkMojo.java:81)
  97. at br.com.ingenieux.mojo.beanstalk.AbstractNeedsEnvironmentMojo.configure(AbstractNeedsEnvironmentMojo.java:301)
  98. ... 28 more
  99. [INFO] ------------------------------------------------------------------------
  100. [INFO] BUILD FAILURE
  101. [INFO] ------------------------------------------------------------------------
  102. [INFO] Total time: 01:25 min
  103. [INFO] Finished at: 2015-02-23T12:04:53+01:00
  104. [INFO] Final Memory: 25M/310M
  105. [INFO] ------------------------------------------------------------------------
  106. [ERROR] Failed to execute goal br.com.ingenieux:beanstalk-maven-plugin:1.4.0:update-environment (deploy) on project test-project: Failed: org.apache.maven.plugin.MojoExecutionException: No environments found -> [Help 1]
Advertisement
Add Comment
Please, Sign In to add comment