|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>powertools-e2e-test</groupId> |
| 5 | + <artifactId>E2EIdempotencyFunction</artifactId> |
| 6 | + <version>1.0</version> |
| 7 | + <packaging>jar</packaging> |
| 8 | + <name>A sample Hello World using powertools idempotency</name> |
| 9 | + <properties> |
| 10 | + <log4j.version>2.17.2</log4j.version> |
| 11 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 12 | + <lambda.powertools.version>1.12.3</lambda.powertools.version> |
| 13 | + </properties> |
| 14 | + |
| 15 | + <dependencies> |
| 16 | + <dependency> |
| 17 | + <groupId>software.amazon.lambda</groupId> |
| 18 | + <artifactId>powertools-logging</artifactId> |
| 19 | + <version>${lambda.powertools.version}</version> |
| 20 | + </dependency> |
| 21 | + <dependency> |
| 22 | + <groupId>software.amazon.lambda</groupId> |
| 23 | + <artifactId>powertools-idempotency</artifactId> |
| 24 | + <version>${lambda.powertools.version}</version> |
| 25 | + </dependency> |
| 26 | + <dependency> |
| 27 | + <groupId>com.amazonaws</groupId> |
| 28 | + <artifactId>aws-lambda-java-core</artifactId> |
| 29 | + <version>1.2.1</version> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>com.amazonaws</groupId> |
| 33 | + <artifactId>aws-lambda-java-events</artifactId> |
| 34 | + <version>3.11.0</version> |
| 35 | + </dependency> |
| 36 | + <dependency> |
| 37 | + <groupId>org.apache.logging.log4j</groupId> |
| 38 | + <artifactId>log4j-core</artifactId> |
| 39 | + <version>${log4j.version}</version> |
| 40 | + </dependency> |
| 41 | + <dependency> |
| 42 | + <groupId>org.apache.logging.log4j</groupId> |
| 43 | + <artifactId>log4j-api</artifactId> |
| 44 | + <version>${log4j.version}</version> |
| 45 | + </dependency> |
| 46 | + </dependencies> |
| 47 | + |
| 48 | + <build> |
| 49 | + <plugins> |
| 50 | + <plugin> |
| 51 | + <groupId>org.codehaus.mojo</groupId> |
| 52 | + <artifactId>aspectj-maven-plugin</artifactId> |
| 53 | + <version>1.14.0</version> |
| 54 | + <configuration> |
| 55 | + <source>${maven.compiler.source}</source> |
| 56 | + <target>${maven.compiler.target}</target> |
| 57 | + <complianceLevel>${maven.compiler.target}</complianceLevel> |
| 58 | + <aspectLibraries> |
| 59 | + <aspectLibrary> |
| 60 | + <groupId>software.amazon.lambda</groupId> |
| 61 | + <artifactId>powertools-idempotency</artifactId> |
| 62 | + </aspectLibrary> |
| 63 | + </aspectLibraries> |
| 64 | + </configuration> |
| 65 | + <executions> |
| 66 | + <execution> |
| 67 | + <goals> |
| 68 | + <goal>compile</goal> |
| 69 | + </goals> |
| 70 | + </execution> |
| 71 | + </executions> |
| 72 | + </plugin> |
| 73 | + <plugin> |
| 74 | + <groupId>org.apache.maven.plugins</groupId> |
| 75 | + <artifactId>maven-shade-plugin</artifactId> |
| 76 | + <version>3.2.4</version> |
| 77 | + <configuration> |
| 78 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 79 | + <finalName>function</finalName> |
| 80 | + </configuration> |
| 81 | + <executions> |
| 82 | + <execution> |
| 83 | + <phase>package</phase> |
| 84 | + <goals> |
| 85 | + <goal>shade</goal> |
| 86 | + </goals> |
| 87 | + <configuration> |
| 88 | + <transformers> |
| 89 | + <transformer |
| 90 | + implementation="io.github.edwgiz.log4j.maven.plugins.shade.transformer.Log4j2PluginCacheFileTransformer"> |
| 91 | + </transformer> |
| 92 | + </transformers> |
| 93 | + </configuration> |
| 94 | + </execution> |
| 95 | + </executions> |
| 96 | + <dependencies> |
| 97 | + <dependency> |
| 98 | + <groupId>io.github.edwgiz</groupId> |
| 99 | + <artifactId>log4j-maven-shade-plugin-extensions</artifactId> |
| 100 | + <version>2.17.2</version> |
| 101 | + </dependency> |
| 102 | + </dependencies> |
| 103 | + </plugin> |
| 104 | + </plugins> |
| 105 | + </build> |
| 106 | +</project> |
0 commit comments