Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mvn deploy -P s3-deploy
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building test-project 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ test-project ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 227 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ test-project ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ test-project ---
- [INFO] Not copying test resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ test-project ---
- [INFO] Not compiling test sources
- [INFO]
- [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ test-project ---
- [INFO] Tests are skipped.
- [INFO]
- [INFO] --- maven-war-plugin:2.4:war (default-war) @ test-project ---
- [INFO] Packaging webapp
- [INFO] Assembling webapp [test-project] in [C:\Users\krst\test-project\service\complete\target\test-project-1.0-SNAPSHOT]
- [INFO] Processing war project
- [INFO] Webapp assembled in [646 msecs]
- [INFO] Building war: C:\Users\krst\test-project\service\complete\target\test-project-1.0-SNAPSHOT.war
- [INFO]
- [INFO] --- spring-boot-maven-plugin:1.1.10.RELEASE:repackage (default) @ test-project ---
- [INFO]
- [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ test-project ---
- [INFO] Skipping artifact installation
- [INFO]
- [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ test-project ---
- [INFO] Skipping artifact deployment
- [INFO]
- [INFO] --- beanstalk-maven-plugin:1.4.0:upload-source-bundle (deploy) @ test-project ---
- [INFO] Target Path: s3://elasticbeanstalk-us-west-2-834092605248/test-project/test-project-1.0-SNAPSHOT-20150223110328.war
- [INFO] Uploading artifact file: C:\Users\krst\test-project\service\complete\target\test-project-1.0-SNAPSHOT.war
- 100.00% 15 MiB/15 MiB Done
- [INFO] Artifact Uploaded
- [INFO] SUCCESS
- [INFO]
- [INFO] --- beanstalk-maven-plugin:1.4.0:create-application-version (deploy) @ test-project ---
- [INFO] SUCCESS
- [INFO] * dateCreated: Mon Feb 23 12:04:52 CET 2015 [class: Date]
- [INFO] * sourceBundle: {S3Bucket: elasticbeanstalk-us-west-2-XXXXXXXXXXXXXX,S3Key: test-project/test-project-1.0-SNAPSHOT-20150223110328.war} [class: S3Location]
- [INFO] * versionLabel: 20150223110328 [class: String]
- [INFO] * description: Update from beanstalk-maven-plugin [class: String]
- [INFO] * applicationName: test-project [class: String]
- [INFO] * dateUpdated: Mon Feb 23 12:04:52 CET 2015 [class: Date]
- [INFO]
- [INFO] --- beanstalk-maven-plugin:1.4.0:describe-environments (deploy) @ test-project ---
- [INFO] SUCCESS
- [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]
- [INFO]
- [INFO] --- beanstalk-maven-plugin:1.4.0:update-environment (deploy) @ test-project ---
- [INFO] ... with cname set to 'testProject.elasticbeanstalk.com'
- [INFO] ... with status *NOT* set to 'Terminated'
- [WARNING] FAILURE
- java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: No environments found
- at br.com.ingenieux.mojo.beanstalk.AbstractNeedsEnvironmentMojo.configure(AbstractNeedsEnvironmentMojo.java:303)
- at br.com.ingenieux.mojo.aws.AbstractAWSMojo.execute(AbstractAWSMojo.java:355)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
- 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:116)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
- at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
- 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:483)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
- at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
- 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:483)
- at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
- Caused by: org.apache.maven.plugin.MojoExecutionException: No environments found
- at br.com.ingenieux.mojo.beanstalk.AbstractBeanstalkMojo.handleNonSingle(AbstractBeanstalkMojo.java:100)
- at br.com.ingenieux.mojo.beanstalk.AbstractBeanstalkMojo.handleResults(AbstractBeanstalkMojo.java:92)
- at br.com.ingenieux.mojo.beanstalk.AbstractBeanstalkMojo.lookupEnvironment(AbstractBeanstalkMojo.java:81)
- at br.com.ingenieux.mojo.beanstalk.AbstractNeedsEnvironmentMojo.configure(AbstractNeedsEnvironmentMojo.java:301)
- ... 28 more
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:25 min
- [INFO] Finished at: 2015-02-23T12:04:53+01:00
- [INFO] Final Memory: 25M/310M
- [INFO] ------------------------------------------------------------------------
- [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