GithubHelp home page GithubHelp logo

aws-sdk-java-archetype's Introduction

aws-sdk-java-archetype

The AWS SDK for Java Maven archetype allows you to easily create new Java projects configured with the AWS SDK for Java and some sample code to help you find your way around the SDK.

Starting a project from the archetype is easy:

mvn archetype:generate \
     -DarchetypeGroupId=com.amazonaws \
     -DarchetypeArtifactId=aws-java-sdk-archetype

When you run the Maven archetype:generate goal, you'll be prompted for some basic Maven values for your new project (groupId, artifactId, version).

[INFO] Generating project in Interactive mode
[INFO] Archetype [com.amazonaws:aws-java-sdk-archetype:1.0.0] found in catalog local
Define value for property 'groupId': : com.foo   
Define value for property 'artifactId': : my-aws-java-project
Define value for property 'version':  1.0-SNAPSHOT: : 
Define value for property 'package':  com.foo: : 

When the archetype:generate goal completes, you'll have a new Maven Java project, already configured with a dependency on the AWS SDK for Java and some sample code in the project to help you get started with the SDK.

Before you run the sample code, you'll need to fill in your AWS security credentials. This sample loads your credentials from the default credentials profiles file (/.aws/credentials). If you've already set up your profile credentials file, then you're ready to run the sample. If you haven't set up your /.aws/credentials file yet, here's what you should start with:

[default]
aws_access_key_id     = 
aws_secret_access_key = 

When your AWS security credentials are configured, you're ready to compile and run the new project. The sample project's POM file is configured so that you can easily compile, jar, and run the project by executing mvn package exec:java.

aws-sdk-java-archetype's People

Contributors

fulghum avatar manikandanrs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.