1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 ~ Copyright 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 xmlns="http://maven.apache.org/POM/4.0.0" 18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 20 <parent> 21 <artifactId>archetypes</artifactId> 22 <groupId>software.amazon.awssdk</groupId> 23 <version>2.24.3</version> 24 </parent> 25 <modelVersion>4.0.0</modelVersion> 26 27 <artifactId>archetype-tools</artifactId> 28 29 <dependencies> 30 <!-- Depends on the artifacts of all services to generate serviceMapping.vm --> 31 <dependency> 32 <groupId>software.amazon.awssdk</groupId> 33 <artifactId>aws-sdk-java</artifactId> 34 <version>${awsjavasdk.version}</version> 35 <scope>provided</scope> 36 </dependency> 37 </dependencies> 38 39 <build> 40 <plugins> 41 <plugin> 42 <artifactId>exec-maven-plugin</artifactId> 43 <groupId>org.codehaus.mojo</groupId> 44 <version>${exec-maven-plugin.version}</version> 45 <executions> 46 <execution> 47 <id>map-service-to-client-prefix</id> 48 <phase>generate-resources</phase> 49 <goals> 50 <goal>exec</goal> 51 </goals> 52 <configuration> 53 <executable>python</executable> 54 <commandlineArgs>${basedir}/src/main/resources/map-service-to-client-prefix</commandlineArgs> 55 </configuration> 56 </execution> 57 </executions> 58 </plugin> 59 </plugins> 60 </build> 61 62</project> 63