@@ -0,0 +1,2940 @@
+package com.github.davidmoten.aws.maven;%0A%0Aimport org.apache.maven.plugin.AbstractMojo;%0Aimport org.apache.maven.plugin.MojoExecutionException;%0Aimport org.apache.maven.plugin.MojoFailureException;%0Aimport org.apache.maven.plugins.annotations.Component;%0Aimport org.apache.maven.plugins.annotations.Mojo;%0Aimport org.apache.maven.plugins.annotations.Parameter;%0Aimport org.apache.maven.project.MavenProject;%0Aimport org.apache.maven.settings.Settings;%0Aimport org.apache.maven.settings.crypto.SettingsDecrypter;%0A%0Aimport com.amazonaws.ClientConfiguration;%0Aimport com.amazonaws.auth.AWSCredentialsProvider;%0Aimport com.amazonaws.auth.AWSStaticCredentialsProvider;%0Aimport com.amazonaws.auth.BasicAWSCredentials;%0Aimport com.amazonaws.services.identitymanagement.AmazonIdentityManagement;%0Aimport com.amazonaws.services.identitymanagement.AmazonIdentityManagementClientBuilder;%0A%0A@Mojo(name = %22property%22)%0Apublic class AwsPropertyMojo extends AbstractMojo %7B%0A%0A    @Parameter(property = %22awsAccessKey%22)%0A    private String awsAccessKey;%0A%0A    @Parameter(property = %22awsSecretAccessKey%22)%0A    private String awsSecretAccessKey;%0A%0A    @Parameter(property = %22serverId%22)%0A    private String serverId;%0A%0A    @Parameter(property = %22region%22)%0A    private String region;%0A%0A    @Parameter(property = %22httpsProxyHost%22)%0A    private String httpsProxyHost;%0A%0A    @Parameter(property = %22httpsProxyPort%22)%0A    private int httpsProxyPort;%0A%0A    @Parameter(property = %22httpsProxyUsername%22)%0A    private String httpsProxyUsername;%0A%0A    @Parameter(property = %22httpsProxyPassword%22)%0A    private String httpsProxyPassword;%0A%0A    @Parameter(defaultValue = %22$%7Bproject%7D%22, required = true)%0A    private MavenProject project;%0A%0A    @Parameter(defaultValue = %22$%7Bsettings%7D%22, readonly = true)%0A    private Settings settings;%0A%0A    @Component%0A    private SettingsDecrypter decrypter;%0A%0A    @Override%0A    public void execute() throws MojoExecutionException, MojoFailureException %7B%0A        Proxy proxy = new Proxy(httpsProxyHost, httpsProxyPort, httpsProxyUsername,%0A                httpsProxyPassword);%0A        AwsKeyPair keyPair = Util.getAwsKeyPair(serverId, awsAccessKey, awsSecretAccessKey,%0A                settings, decrypter);%0A        final AWSCredentialsProvider credentials = new AWSStaticCredentialsProvider(%0A                new BasicAWSCredentials(keyPair.key, keyPair.secret));%0A        ClientConfiguration cc = Util.createConfiguration(proxy);%0A%0A        AmazonIdentityManagement iam = AmazonIdentityManagementClientBuilder //%0A                .standard() //%0A                .withRegion(region) //%0A                .withCredentials(credentials) //%0A                .withClientConfiguration(cc) //%0A                .build();%0A        String accountId = iam.getUser().getUser().getUserId();%0A        project.getProperties().setProperty(%22aws.account.id%22, accountId);%0A        getLog().info(%22The following properties have been set for the project%22);%0A        getLog().info(%22aws.account.id=%22 + accountId);%0A    %7D%0A%0A%7D%0A

add forgotten class