|
7 | 7 | <artifactId>powertools-examples-core-utilities-cdk</artifactId> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 |
|
10 | | - <name>Powertools for AWS Lambda (Java) library Examples - Core</name> |
| 10 | + <name>Powertools for AWS Lambda (Java) library Examples - Core Utilities (logging, tracing, metrics) with CDK</name> |
11 | 11 |
|
12 | 12 | <properties> |
13 | 13 | <log4j.version>2.20.0</log4j.version> |
14 | 14 | <maven.compiler.source>1.8</maven.compiler.source> |
15 | 15 | <maven.compiler.target>1.8</maven.compiler.target> |
| 16 | + <aspectj.version>1.9.20</aspectj.version> |
16 | 17 | </properties> |
17 | 18 |
|
18 | 19 | <dependencies> |
|
51 | 52 | <artifactId>log4j-api</artifactId> |
52 | 53 | <version>${log4j.version}</version> |
53 | 54 | </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>org.aspectj</groupId> |
| 57 | + <artifactId>aspectjrt</artifactId> |
| 58 | + <version>${aspectj.version}</version> |
| 59 | + </dependency> |
54 | 60 |
|
55 | 61 | <dependency> |
56 | 62 | <groupId>junit</groupId> |
|
93 | 99 | </goals> |
94 | 100 | </execution> |
95 | 101 | </executions> |
| 102 | + <dependencies> |
| 103 | + <dependency> |
| 104 | + <groupId>org.aspectj</groupId> |
| 105 | + <artifactId>aspectjtools</artifactId> |
| 106 | + <version>${aspectj.version}</version> |
| 107 | + </dependency> |
| 108 | + </dependencies> |
96 | 109 | </plugin> |
97 | 110 | <plugin> |
98 | 111 | <groupId>org.apache.maven.plugins</groupId> |
|
147 | 160 | <properties> |
148 | 161 | <aspectj.version>1.9.7</aspectj.version> |
149 | 162 | </properties> |
150 | | - <dependencyManagement> |
151 | | - <dependencies> |
152 | | - <dependency> |
153 | | - <groupId>org.aspectj</groupId> |
154 | | - <artifactId>aspectjtools</artifactId> |
155 | | - <version>${aspectj.version}</version> |
156 | | - </dependency> |
157 | | - </dependencies> |
158 | | - </dependencyManagement> |
159 | | - <build> |
160 | | - <pluginManagement> |
161 | | - <plugins> |
162 | | - <plugin> |
163 | | - <groupId>dev.aspectj</groupId> |
164 | | - <artifactId>aspectj-maven-plugin</artifactId> |
165 | | - <version>${aspectj.plugin.version}</version> |
166 | | - <configuration> |
167 | | - <source>${maven.compiler.source}</source> |
168 | | - <target>${maven.compiler.target}</target> |
169 | | - <complianceLevel>${maven.compiler.target}</complianceLevel> |
170 | | - <aspectLibraries> |
171 | | - <aspectLibrary> |
172 | | - <groupId>software.amazon.lambda</groupId> |
173 | | - <artifactId>powertools-tracing</artifactId> |
174 | | - </aspectLibrary> |
175 | | - <aspectLibrary> |
176 | | - <groupId>software.amazon.lambda</groupId> |
177 | | - <artifactId>powertools-logging</artifactId> |
178 | | - </aspectLibrary> |
179 | | - <aspectLibrary> |
180 | | - <groupId>software.amazon.lambda</groupId> |
181 | | - <artifactId>powertools-metrics</artifactId> |
182 | | - </aspectLibrary> |
183 | | - </aspectLibraries> |
184 | | - </configuration> |
185 | | - <executions> |
186 | | - <execution> |
187 | | - <goals> |
188 | | - <goal>compile</goal> |
189 | | - <goal>test-compile</goal> |
190 | | - </goals> |
191 | | - </execution> |
192 | | - </executions> |
193 | | - <!-- Enforce aspectJ 1.9.7 --> |
194 | | - <dependencies> |
195 | | - <dependency> |
196 | | - <groupId>org.aspectj</groupId> |
197 | | - <artifactId>aspectjtools</artifactId> |
198 | | - <version>${aspectj.version}</version> |
199 | | - </dependency> |
200 | | - </dependencies> |
201 | | - </plugin> |
202 | | - </plugins> |
203 | | - </pluginManagement> |
204 | | - </build> |
205 | 163 | </profile> |
206 | 164 | </profiles> |
207 | 165 | </project> |
0 commit comments