我正在尝试使用Ingenieux beanstalk插件将战争上传到S3。但是它会挂起尝试上传。有没有人遇到过这种异常现象?
我在这里关注本教程: http://beanstalker.ingenieux.com.br/beanstalk-maven-plugin/usage.html
mvn beanstalk:upload-source-bundle
这是日志:
[WARNING] You should encrypt your passwords. See http://beanstalker.ingenieux.com.br/security.html for more information
[INFO] Target Path: s3://some-bucket/test-web2-0.0.1-SNAPSHOT.war
[INFO] Uploading artifact file: C:\Users\Chin Boon\Documents\workstation\test-web2\target\test-web2-0.0.1-SNAPSHOT.war
的pom.xml:
<plugin>
<groupId>br.com.ingenieux</groupId>
<artifactId>beanstalk-maven-plugin</artifactId>
<configuration>
<s3Bucket>some-bucket</s3Bucket>
<s3Key>${project.build.finalName}.war</s3Key>
<!-- will save as s3://[bucket name]/artifactId-version-TIMESTAMP.war -->
</configuration>
</plugin>
答案 0 :(得分:1)
我们不太支持S3 Uploading(太慢,容易出错),建议使用快速部署。
$ mvn archetype:generate -Dfilter = elasticbeanstalk]
获取样本pom以应用
答案 1 :(得分:0)
好吧我想我知道问题是什么。
这在pom.xml中是必需的
<dependency>
<groupId>br.com.ingenieux</groupId>
<artifactId>beanstalk-maven-plugin</artifactId>
<version>0.2.9</version>
</dependency>