Skip to content

Added new service template that supports varying marshaller protocols for new services. #802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@
<module name="Regexp">
<property name="format" value="\bObjects.hash\b"/>
<property name="illegalPattern" value="true"/>
<property name="message" value="Don't use Objects.hashCode, use Objects.hash instead"/>
<property name="message" value="Don't use Objects.hash, use Objects.hashCode instead"/>
<property name="ignoreComments" value="true"/>
</module>

Expand Down
60 changes: 60 additions & 0 deletions services/new-service-template/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0"?>
<!--
~ Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License").
~ You may not use this file except in compliance with the License.
~ A copy of the License is located at
~
~ http://aws.amazon.com/apache2.0
~
~ or in the "license" file accompanying this file. This file is distributed
~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
~ express or implied. See the License for the specific language governing
~ permissions and limitations under the License.
-->

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>services</artifactId>
<version>{{MVN_VERSION}}</version>
</parent>
<artifactId>{{MVN_ARTIFACT_ID}}</artifactId>
<name>AWS Java SDK :: Services :: {{MVN_NAME}}</name>
<description>The AWS Java SDK for {{MVN_NAME}} module holds the client classes that are used for
communicating with {{MVN_NAME}}.
</description>
<url>https://aws.amazon.com/sdkforjava</url>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>software.amazon.awssdk.services.{{MVN_ARTIFACT_ID}}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>protocol-core</artifactId>
<version>${awsjavasdk.version}</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-{{PROTOCOL}}-protocol</artifactId>
<version>${awsjavasdk.version}</version>
</dependency>
</dependencies>
</project>