|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <groupId>software.amazon.lambda</groupId> |
| 6 | + <artifactId>powertools-parent</artifactId> |
| 7 | + <version>0.1.0-SNAPSHOT</version> |
| 8 | + <packaging>pom</packaging> |
| 9 | + <name>AWS Lambda Powertools Java library Parent</name> |
| 10 | + <description>A suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier.</description> |
| 11 | + <url>https://aws.amazon.com/lambda/</url> |
| 12 | + <licenses> |
| 13 | + <license> |
| 14 | + <name>Apache License, Version 2.0</name> |
| 15 | + <url>https://aws.amazon.com/apache2.0</url> |
| 16 | + <distribution>repo</distribution> |
| 17 | + </license> |
| 18 | + </licenses> |
| 19 | + <developers> |
| 20 | + <developer> |
| 21 | + <name>AWS Lambda Powertools team</name> |
| 22 | + <organization>Amazon Web Services</organization> |
| 23 | + <organizationUrl>https://aws.amazon.com/</organizationUrl> |
| 24 | + </developer> |
| 25 | + </developers> |
| 26 | + <modules> |
| 27 | + <module>powertools-core</module> |
| 28 | + <module>powertools-logging</module> |
| 29 | + <module>powertools-tracing</module> |
| 30 | + </modules> |
| 31 | + <scm> |
| 32 | + <url>https://github.com/awslabs/aws-lambda-powertools-java.git</url> |
| 33 | + </scm> |
| 34 | + <issueManagement> |
| 35 | + <system>GitHub Issues</system> |
| 36 | + <url>https://github.com/awslabs/aws-lambda-powertools-java/issues</url> |
| 37 | + </issueManagement> |
| 38 | + <distributionManagement> |
| 39 | + <snapshotRepository> |
| 40 | + <id>ossrh</id> |
| 41 | + <url>https://aws.oss.sonatype.org/content/repositories/snapshots</url> |
| 42 | + </snapshotRepository> |
| 43 | + </distributionManagement> |
| 44 | + <properties> |
| 45 | + <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version> |
| 46 | + <maven-source-plugin.version>2.4</maven-source-plugin.version> |
| 47 | + <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> |
| 48 | + <lambda.core.version>1.2.1</lambda.core.version> |
| 49 | + <jackson.version>2.11.0</jackson.version> |
| 50 | + <maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version> |
| 51 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 52 | + <log4j.version>2.13.3</log4j.version> |
| 53 | + <aspectj.version>1.9.6</aspectj.version> |
| 54 | + <jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version> |
| 55 | + <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> |
| 56 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 57 | + <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
| 58 | + <revision>0.1.0-SNAPSHOT</revision> |
| 59 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 60 | + <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> |
| 61 | + <aspectj-maven-plugin.version>1.12.1</aspectj-maven-plugin.version> |
| 62 | + <aws.xray.recorder.version>2.4.0</aws.xray.recorder.version> |
| 63 | + </properties> |
| 64 | + <dependencyManagement> |
| 65 | + <dependencies> |
| 66 | + <dependency> |
| 67 | + <groupId>software.amazon.lambda</groupId> |
| 68 | + <artifactId>powertools-core</artifactId> |
| 69 | + <version>${project.version}</version> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>com.amazonaws</groupId> |
| 73 | + <artifactId>aws-lambda-java-core</artifactId> |
| 74 | + <version>${lambda.core.version}</version> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.aspectj</groupId> |
| 78 | + <artifactId>aspectjrt</artifactId> |
| 79 | + <version>${aspectj.version}</version> |
| 80 | + </dependency> |
| 81 | + <dependency> |
| 82 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 83 | + <artifactId>jackson-databind</artifactId> |
| 84 | + <version>${jackson.version}</version> |
| 85 | + </dependency> |
| 86 | + <dependency> |
| 87 | + <groupId>org.apache.logging.log4j</groupId> |
| 88 | + <artifactId>log4j-core</artifactId> |
| 89 | + <version>${log4j.version}</version> |
| 90 | + </dependency> |
| 91 | + <dependency> |
| 92 | + <groupId>org.apache.logging.log4j</groupId> |
| 93 | + <artifactId>log4j-api</artifactId> |
| 94 | + <version>${log4j.version}</version> |
| 95 | + </dependency> |
| 96 | + <dependency> |
| 97 | + <groupId>com.amazonaws</groupId> |
| 98 | + <artifactId>aws-xray-recorder-sdk-core</artifactId> |
| 99 | + <version>${aws.xray.recorder.version}</version> |
| 100 | + </dependency> |
| 101 | + <dependency> |
| 102 | + <groupId>com.amazonaws</groupId> |
| 103 | + <artifactId>aws-xray-recorder-sdk-aws-sdk</artifactId> |
| 104 | + <version>${aws.xray.recorder.version}</version> |
| 105 | + </dependency> |
| 106 | + <dependency> |
| 107 | + <groupId>com.amazonaws</groupId> |
| 108 | + <artifactId>aws-xray-recorder-sdk-aws-sdk-instrumentor</artifactId> |
| 109 | + <version>${aws.xray.recorder.version}</version> |
| 110 | + </dependency> |
| 111 | + <dependency> |
| 112 | + <groupId>com.amazonaws</groupId> |
| 113 | + <artifactId>aws-xray-recorder-sdk-aws-sdk-v2</artifactId> |
| 114 | + <version>${aws.xray.recorder.version}</version> |
| 115 | + </dependency> |
| 116 | + <dependency> |
| 117 | + <groupId>com.amazonaws</groupId> |
| 118 | + <artifactId>aws-xray-recorder-sdk-aws-sdk-v2-instrumentor</artifactId> |
| 119 | + <version>${aws.xray.recorder.version}</version> |
| 120 | + </dependency> |
| 121 | + <dependency> |
| 122 | + <groupId>org.junit.jupiter</groupId> |
| 123 | + <artifactId>junit-jupiter-api</artifactId> |
| 124 | + <version>5.6.2</version> |
| 125 | + <scope>test</scope> |
| 126 | + </dependency> |
| 127 | + <dependency> |
| 128 | + <groupId>org.junit.jupiter</groupId> |
| 129 | + <artifactId>junit-jupiter-engine</artifactId> |
| 130 | + <version>5.6.2</version> |
| 131 | + <scope>test</scope> |
| 132 | + </dependency> |
| 133 | + <dependency> |
| 134 | + <groupId>org.apache.commons</groupId> |
| 135 | + <artifactId>commons-lang3</artifactId> |
| 136 | + <version>3.11</version> |
| 137 | + <scope>test</scope> |
| 138 | + </dependency> |
| 139 | + <dependency> |
| 140 | + <groupId>org.mockito</groupId> |
| 141 | + <artifactId>mockito-core</artifactId> |
| 142 | + <version>3.3.3</version> |
| 143 | + <scope>test</scope> |
| 144 | + </dependency> |
| 145 | + <dependency> |
| 146 | + <groupId>org.aspectj</groupId> |
| 147 | + <artifactId>aspectjweaver</artifactId> |
| 148 | + <version>${aspectj.version}</version> |
| 149 | + <scope>test</scope> |
| 150 | + </dependency> |
| 151 | + <dependency> |
| 152 | + <groupId>org.assertj</groupId> |
| 153 | + <artifactId>assertj-core</artifactId> |
| 154 | + <version>3.9.1</version> |
| 155 | + <scope>test</scope> |
| 156 | + </dependency> |
| 157 | + <dependency> |
| 158 | + <groupId>org.aspectj</groupId> |
| 159 | + <artifactId>aspectjtools</artifactId> |
| 160 | + <version>${aspectj.version}</version> |
| 161 | + </dependency> |
| 162 | + </dependencies> |
| 163 | + </dependencyManagement> |
| 164 | + <build> |
| 165 | + <pluginManagement> |
| 166 | + <plugins> |
| 167 | + <plugin> |
| 168 | + <artifactId>maven-compiler-plugin</artifactId> |
| 169 | + <version>${maven-compiler-plugin.version}</version> |
| 170 | + </plugin> |
| 171 | + <plugin> |
| 172 | + <groupId>com.nickwongdev</groupId> |
| 173 | + <artifactId>aspectj-maven-plugin</artifactId> |
| 174 | + <version>${aspectj-maven-plugin.version}</version> |
| 175 | + </plugin> |
| 176 | + <plugin> |
| 177 | + <artifactId>maven-surefire-plugin</artifactId> |
| 178 | + <version>${maven-surefire-plugin.version}</version> |
| 179 | + </plugin> |
| 180 | + <plugin> |
| 181 | + <groupId>org.jacoco</groupId> |
| 182 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 183 | + <version>${jacoco-maven-plugin.version}</version> |
| 184 | + </plugin> |
| 185 | + <plugin> |
| 186 | + <groupId>org.codehaus.mojo</groupId> |
| 187 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 188 | + <version>${cobertura-maven-plugin.version}</version> |
| 189 | + </plugin> |
| 190 | + <plugin> |
| 191 | + <groupId>org.sonatype.plugins</groupId> |
| 192 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 193 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 194 | + </plugin> |
| 195 | + <plugin> |
| 196 | + <artifactId>maven-source-plugin</artifactId> |
| 197 | + <version>${maven-source-plugin.version}</version> |
| 198 | + </plugin> |
| 199 | + <plugin> |
| 200 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 201 | + <version>${maven-javadoc-plugin.version}</version> |
| 202 | + </plugin> |
| 203 | + <plugin> |
| 204 | + <artifactId>maven-gpg-plugin</artifactId> |
| 205 | + <version>${maven-gpg-plugin.version}</version> |
| 206 | + </plugin> |
| 207 | + </plugins> |
| 208 | + </pluginManagement> |
| 209 | + <plugins> |
| 210 | + <plugin> |
| 211 | + <groupId>org.codehaus.mojo</groupId> |
| 212 | + <artifactId>flatten-maven-plugin</artifactId> |
| 213 | + <version>1.1.0</version> |
| 214 | + <executions> |
| 215 | + <execution> |
| 216 | + <id>flatten</id> |
| 217 | + <phase>process-resources</phase> |
| 218 | + <goals> |
| 219 | + <goal>flatten</goal> |
| 220 | + </goals> |
| 221 | + </execution> |
| 222 | + <execution> |
| 223 | + <id>flatten.clean</id> |
| 224 | + <phase>clean</phase> |
| 225 | + <goals> |
| 226 | + <goal>clean</goal> |
| 227 | + </goals> |
| 228 | + </execution> |
| 229 | + </executions> |
| 230 | + <configuration> |
| 231 | + <updatePomFile>true</updatePomFile> |
| 232 | + <flattenMode>resolveCiFriendliesOnly</flattenMode> |
| 233 | + </configuration> |
| 234 | + </plugin> |
| 235 | + <plugin> |
| 236 | + <artifactId>maven-compiler-plugin</artifactId> |
| 237 | + <configuration> |
| 238 | + <source>${maven.compiler.source}</source> |
| 239 | + <target>${maven.compiler.target}</target> |
| 240 | + <useIncrementalCompilation>false</useIncrementalCompilation> |
| 241 | + </configuration> |
| 242 | + </plugin> |
| 243 | + <plugin> |
| 244 | + <groupId>com.nickwongdev</groupId> |
| 245 | + <artifactId>aspectj-maven-plugin</artifactId> |
| 246 | + <executions> |
| 247 | + <execution> |
| 248 | + <phase>process-sources</phase> |
| 249 | + <goals> |
| 250 | + <goal>compile</goal> |
| 251 | + <goal>test-compile</goal> |
| 252 | + </goals> |
| 253 | + </execution> |
| 254 | + </executions> |
| 255 | + <dependencies> |
| 256 | + <dependency> |
| 257 | + <groupId>org.aspectj</groupId> |
| 258 | + <artifactId>aspectjtools</artifactId> |
| 259 | + <version>${aspectj.version}</version> |
| 260 | + </dependency> |
| 261 | + </dependencies> |
| 262 | + <configuration> |
| 263 | + <source>${maven.compiler.source}</source> |
| 264 | + <target>${maven.compiler.target}</target> |
| 265 | + <complianceLevel>${maven.compiler.target}</complianceLevel> |
| 266 | + <Xlint>ignore</Xlint> |
| 267 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 268 | + </configuration> |
| 269 | + </plugin> |
| 270 | + <plugin> |
| 271 | + <artifactId>maven-surefire-plugin</artifactId> |
| 272 | + </plugin> |
| 273 | + <plugin> |
| 274 | + <groupId>org.jacoco</groupId> |
| 275 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 276 | + <executions> |
| 277 | + <execution> |
| 278 | + <goals> |
| 279 | + <goal>prepare-agent</goal> |
| 280 | + </goals> |
| 281 | + </execution> |
| 282 | + <execution> |
| 283 | + <id>report</id> |
| 284 | + <phase>test</phase> |
| 285 | + <goals> |
| 286 | + <goal>report</goal> |
| 287 | + </goals> |
| 288 | + </execution> |
| 289 | + </executions> |
| 290 | + </plugin> |
| 291 | + <plugin> |
| 292 | + <groupId>org.codehaus.mojo</groupId> |
| 293 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 294 | + <configuration> |
| 295 | + <formats> |
| 296 | + <format>html</format> |
| 297 | + <format>xml</format> |
| 298 | + </formats> |
| 299 | + <check /> |
| 300 | + </configuration> |
| 301 | + </plugin> |
| 302 | + <plugin> |
| 303 | + <groupId>org.sonatype.plugins</groupId> |
| 304 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 305 | + <extensions>true</extensions> |
| 306 | + <configuration> |
| 307 | + <serverId>sonatype-nexus-staging</serverId> |
| 308 | + <nexusUrl>https://aws.oss.sonatype.org</nexusUrl> |
| 309 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 310 | + </configuration> |
| 311 | + </plugin> |
| 312 | + </plugins> |
| 313 | + </build> |
| 314 | + <profiles> |
| 315 | + <profile> |
| 316 | + <id>sign</id> |
| 317 | + <build> |
| 318 | + <plugins> |
| 319 | + <plugin> |
| 320 | + <artifactId>maven-gpg-plugin</artifactId> |
| 321 | + <executions> |
| 322 | + <execution> |
| 323 | + <id>sign-artifacts</id> |
| 324 | + <phase>verify</phase> |
| 325 | + <goals> |
| 326 | + <goal>sign</goal> |
| 327 | + </goals> |
| 328 | + <configuration> |
| 329 | + <gpgArguments> |
| 330 | + <arg>--pinentry-mode</arg> |
| 331 | + <arg>loopback</arg> |
| 332 | + </gpgArguments> |
| 333 | + </configuration> |
| 334 | + </execution> |
| 335 | + </executions> |
| 336 | + </plugin> |
| 337 | + </plugins> |
| 338 | + </build> |
| 339 | + </profile> |
| 340 | + <profile> |
| 341 | + <id>build-extras</id> |
| 342 | + <activation> |
| 343 | + <activeByDefault>true</activeByDefault> |
| 344 | + </activation> |
| 345 | + <build> |
| 346 | + <plugins> |
| 347 | + <plugin> |
| 348 | + <artifactId>maven-source-plugin</artifactId> |
| 349 | + <version>2.4</version> |
| 350 | + <executions> |
| 351 | + <execution> |
| 352 | + <id>attach-sources</id> |
| 353 | + <goals> |
| 354 | + <goal>jar-no-fork</goal> |
| 355 | + </goals> |
| 356 | + </execution> |
| 357 | + </executions> |
| 358 | + </plugin> |
| 359 | + <plugin> |
| 360 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 361 | + <version>2.10.3</version> |
| 362 | + <executions> |
| 363 | + <execution> |
| 364 | + <id>attach-javadocs</id> |
| 365 | + <goals> |
| 366 | + <goal>jar</goal> |
| 367 | + </goals> |
| 368 | + <configuration> |
| 369 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 370 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 371 | + </configuration> |
| 372 | + </execution> |
| 373 | + </executions> |
| 374 | + <configuration> |
| 375 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 376 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 377 | + </configuration> |
| 378 | + </plugin> |
| 379 | + </plugins> |
| 380 | + </build> |
| 381 | + </profile> |
| 382 | + </profiles> |
| 383 | +</project> |
0 commit comments