Skip to content

Commit a563959

Browse files
committed
Added new service template that supports varying marshaller protocols for new services.
1 parent 113eebe commit a563959

File tree

2 files changed

+61
-1
lines changed

2 files changed

+61
-1
lines changed

build-tools/src/main/resources/software/amazon/awssdk/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@
421421
<module name="Regexp">
422422
<property name="format" value="\bObjects.hash\b"/>
423423
<property name="illegalPattern" value="true"/>
424-
<property name="message" value="Don't use Objects.hashCode, use Objects.hash instead"/>
424+
<property name="message" value="Don't use Objects.hash, use Objects.hashCode instead"/>
425425
<property name="ignoreComments" value="true"/>
426426
</module>
427427

services/new-service-template/pom.xml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
~ Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License").
6+
~ You may not use this file except in compliance with the License.
7+
~ A copy of the License is located at
8+
~
9+
~ http://aws.amazon.com/apache2.0
10+
~
11+
~ or in the "license" file accompanying this file. This file is distributed
12+
~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
~ express or implied. See the License for the specific language governing
14+
~ permissions and limitations under the License.
15+
-->
16+
17+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
18+
xmlns="http://maven.apache.org/POM/4.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
20+
<modelVersion>4.0.0</modelVersion>
21+
<parent>
22+
<groupId>software.amazon.awssdk</groupId>
23+
<artifactId>services</artifactId>
24+
<version>{{MVN_VERSION}}</version>
25+
</parent>
26+
<artifactId>{{MVN_ARTIFACT_ID}}</artifactId>
27+
<name>AWS Java SDK :: Services :: {{MVN_NAME}}</name>
28+
<description>The AWS Java SDK for {{MVN_NAME}} module holds the client classes that are used for
29+
communicating with {{MVN_NAME}}.
30+
</description>
31+
<url>https://aws.amazon.com/sdkforjava</url>
32+
<build>
33+
<plugins>
34+
<plugin>
35+
<groupId>org.apache.maven.plugins</groupId>
36+
<artifactId>maven-jar-plugin</artifactId>
37+
<configuration>
38+
<archive>
39+
<manifestEntries>
40+
<Automatic-Module-Name>software.amazon.awssdk.services.{{MVN_ARTIFACT_ID}}</Automatic-Module-Name>
41+
</manifestEntries>
42+
</archive>
43+
</configuration>
44+
</plugin>
45+
</plugins>
46+
</build>
47+
48+
<dependencies>
49+
<dependency>
50+
<groupId>software.amazon.awssdk</groupId>
51+
<artifactId>protocol-core</artifactId>
52+
<version>${awsjavasdk.version}</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>software.amazon.awssdk</groupId>
56+
<artifactId>aws-{{PROTOCOL}}-protocol</artifactId>
57+
<version>${awsjavasdk.version}</version>
58+
</dependency>
59+
</dependencies>
60+
</project>

0 commit comments

Comments
 (0)