|
3 | 3 | <modelVersion>4.0.0</modelVersion>
|
4 | 4 |
|
5 | 5 | <groupId>software.amazon.lambda.examples</groupId>
|
6 |
| - <version>1.17.0</version> |
| 6 | + <version>1.20.0</version> |
7 | 7 | <artifactId>powertools-examples-core-utilities-cdk</artifactId>
|
8 | 8 | <packaging>jar</packaging>
|
9 |
| - |
10 |
| - <name>Powertools for AWS Lambda (Java) library Examples - Core Utilities (logging, tracing, metrics) with CDK</name> |
| 9 | + <name>Powertools for AWS Lambda (Java) library Examples - Core</name> |
11 | 10 |
|
12 | 11 | <properties>
|
13 | 12 | <log4j.version>2.20.0</log4j.version>
|
|
40 | 39 | <dependency>
|
41 | 40 | <groupId>com.amazonaws</groupId>
|
42 | 41 | <artifactId>aws-lambda-java-events</artifactId>
|
43 |
| - <version>3.11.2</version> |
| 42 | + <version>3.11.3</version> |
44 | 43 | </dependency>
|
45 | 44 | <dependency>
|
46 | 45 | <groupId>org.apache.logging.log4j</groupId>
|
|
67 | 66 | </dependencies>
|
68 | 67 |
|
69 | 68 | <build>
|
70 |
| - <finalName>helloworld-lambda</finalName> |
71 |
| - <plugins> |
72 |
| - <plugin> |
73 |
| - <groupId>dev.aspectj</groupId> |
74 |
| - <artifactId>aspectj-maven-plugin</artifactId> |
75 |
| - <version>1.13.1</version> |
76 |
| - <configuration> |
77 |
| - <source>${maven.compiler.source}</source> |
78 |
| - <target>${maven.compiler.target}</target> |
79 |
| - <complianceLevel>${maven.compiler.target}</complianceLevel> |
80 |
| - <aspectLibraries> |
81 |
| - <aspectLibrary> |
82 |
| - <groupId>software.amazon.lambda</groupId> |
83 |
| - <artifactId>powertools-tracing</artifactId> |
84 |
| - </aspectLibrary> |
85 |
| - <aspectLibrary> |
86 |
| - <groupId>software.amazon.lambda</groupId> |
87 |
| - <artifactId>powertools-logging</artifactId> |
88 |
| - </aspectLibrary> |
89 |
| - <aspectLibrary> |
90 |
| - <groupId>software.amazon.lambda</groupId> |
91 |
| - <artifactId>powertools-metrics</artifactId> |
92 |
| - </aspectLibrary> |
93 |
| - </aspectLibraries> |
94 |
| - </configuration> |
95 |
| - <executions> |
96 |
| - <execution> |
97 |
| - <goals> |
98 |
| - <goal>compile</goal> |
99 |
| - </goals> |
100 |
| - </execution> |
101 |
| - </executions> |
102 |
| - <dependencies> |
103 |
| - <dependency> |
104 |
| - <groupId>org.aspectj</groupId> |
105 |
| - <artifactId>aspectjtools</artifactId> |
106 |
| - <version>${aspectj.version}</version> |
107 |
| - </dependency> |
108 |
| - </dependencies> |
109 |
| - </plugin> |
110 |
| - <plugin> |
111 |
| - <groupId>org.apache.maven.plugins</groupId> |
112 |
| - <artifactId>maven-shade-plugin</artifactId> |
113 |
| - <version>3.5.0</version> |
114 |
| - <executions> |
115 |
| - <execution> |
116 |
| - <phase>package</phase> |
117 |
| - <goals> |
118 |
| - <goal>shade</goal> |
119 |
| - </goals> |
120 |
| - <configuration> |
121 |
| - <transformers> |
122 |
| - <transformer implementation="org.apache.logging.log4j.maven.plugins.shade.transformer.Log4j2PluginCacheFileTransformer"/> |
123 |
| - </transformers> |
124 |
| - </configuration> |
125 |
| - </execution> |
126 |
| - </executions> |
127 |
| - <dependencies> |
128 |
| - <dependency> |
129 |
| - <groupId>org.apache.logging.log4j</groupId> |
130 |
| - <artifactId>log4j-transform-maven-shade-plugin-extensions</artifactId> |
131 |
| - <version>0.1.0</version> |
132 |
| - </dependency> |
133 |
| - </dependencies> |
134 |
| - </plugin> |
135 |
| - <!-- Don't deploy the example --> |
136 |
| - <plugin> |
137 |
| - <groupId>org.apache.maven.plugins</groupId> |
138 |
| - <artifactId>maven-deploy-plugin</artifactId> |
139 |
| - <configuration> |
140 |
| - <skip>true</skip> |
141 |
| - </configuration> |
142 |
| - </plugin> |
143 |
| - </plugins> |
| 69 | + <finalName>helloworld-lambda</finalName> |
| 70 | + <plugins> |
| 71 | + <plugin> |
| 72 | + <groupId>dev.aspectj</groupId> |
| 73 | + <artifactId>aspectj-maven-plugin</artifactId> |
| 74 | + <version>1.13.1</version> |
| 75 | + <configuration> |
| 76 | + <source>${maven.compiler.source}</source> |
| 77 | + <target>${maven.compiler.target}</target> |
| 78 | + <complianceLevel>${maven.compiler.target}</complianceLevel> |
| 79 | + <aspectLibraries> |
| 80 | + <aspectLibrary> |
| 81 | + <groupId>software.amazon.lambda</groupId> |
| 82 | + <artifactId>powertools-tracing</artifactId> |
| 83 | + </aspectLibrary> |
| 84 | + <aspectLibrary> |
| 85 | + <groupId>software.amazon.lambda</groupId> |
| 86 | + <artifactId>powertools-logging</artifactId> |
| 87 | + </aspectLibrary> |
| 88 | + <aspectLibrary> |
| 89 | + <groupId>software.amazon.lambda</groupId> |
| 90 | + <artifactId>powertools-metrics</artifactId> |
| 91 | + </aspectLibrary> |
| 92 | + </aspectLibraries> |
| 93 | + </configuration> |
| 94 | + <executions> |
| 95 | + <execution> |
| 96 | + <goals> |
| 97 | + <goal>compile</goal> |
| 98 | + </goals> |
| 99 | + </execution> |
| 100 | + </executions> |
| 101 | + <dependencies> |
| 102 | + <dependency> |
| 103 | + <groupId>org.aspectj</groupId> |
| 104 | + <artifactId>aspectjtools</artifactId> |
| 105 | + <version>${aspectj.version}</version> |
| 106 | + </dependency> |
| 107 | + </dependencies> |
| 108 | + </plugin> |
| 109 | + <plugin> |
| 110 | + <groupId>org.apache.maven.plugins</groupId> |
| 111 | + <artifactId>maven-shade-plugin</artifactId> |
| 112 | + <version>3.5.0</version> |
| 113 | + <executions> |
| 114 | + <execution> |
| 115 | + <phase>package</phase> |
| 116 | + <goals> |
| 117 | + <goal>shade</goal> |
| 118 | + </goals> |
| 119 | + <configuration> |
| 120 | + <transformers> |
| 121 | + <transformer implementation="org.apache.logging.log4j.maven.plugins.shade.transformer.Log4j2PluginCacheFileTransformer"/> |
| 122 | + </transformers> |
| 123 | + </configuration> |
| 124 | + </execution> |
| 125 | + </executions> |
| 126 | + <dependencies> |
| 127 | + <dependency> |
| 128 | + <groupId>org.apache.logging.log4j</groupId> |
| 129 | + <artifactId>log4j-transform-maven-shade-plugin-extensions</artifactId> |
| 130 | + <version>0.1.0</version> |
| 131 | + </dependency> |
| 132 | + </dependencies> |
| 133 | + </plugin> |
| 134 | + </plugins> |
144 | 135 | </build>
|
145 | 136 | <profiles>
|
146 | 137 | <!-- Use a profile to enforce AspectJ version 1.9.7 if we are Java 1.8 otherwise we'll get class
|
|
0 commit comments