AWS Toolkit for Eclipseを設定する - kin-kin/memo GitHub Wiki
最初に1回だけ実施する。
1. Eclipseを起動。
2. [Help] - [Install New Software...] を選択。
3. [Work with] に「 https://aws.amazon.com/eclipse 」を入力、Enterキーを押下。
4. 以下のアイテムを選択、[Next] を押下。
AWS Core Management Tools
AWS Deployment Tools - AWS Lambda Plugin (AWS Lambdaを利用する場合)
AWS Developer Tools - AWS CodeCommit Plugin (AWS CodeCommitを利用する場合)
5. [Install Details] で [Next] を押下。
6. [Licenses] で 「I accept...」を選択、[Finish] を押下。
7. [Window] - [Preferences] を選択。
(8~10はAWS Lambdaを利用する場合)
8. [Maven] - [User Settings] を選択。
9. [User Settings] にsettings.xmlのパスを指定。
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>D:\data\app\Eclipse\workspace\maven\repository</localRepository>
<interactiveMode />
<usePluginRegistry />
<offline />
<pluginGroups />
<servers />
<mirrors />
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>プロキシサーバのホスト名</host>
<port>プロキシサーバのポート番号</port>
<username />
<password />
<nonProxyHosts></nonProxyHosts>
</proxy>
</proxies>
<profiles />
<activeProfiles />
</settings>
10. [Local Repository] にローカルリポジトリのパスを指定。
D:\data\app\Eclipse\workspace\maven\repository
(11~12はAWS CodeCommitを利用する場合)
11. [AWS Toolkit] - [AWS CodeCommit] を選択。
12. [Configure Git Credentials] の [Import from csv file] を押下。
HTTPS Git 認証情報の作成でダウンロードしたCSVファイルを指定。
13. [Apply and Close] を押下。