From 5e5cc8a66521790bbcd7206976bfca65285eaee0 Mon Sep 17 00:00:00 2001 From: Pankaj Agrawal Date: Wed, 26 Aug 2020 07:59:32 +0200 Subject: [PATCH] Update docs to use official plugin and externalise workaround as issue --- README.md | 5 +++-- docs/content/index.mdx | 5 +++-- example/HelloWorldFunction/pom.xml | 5 ++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 48cd28d9a..73f01011f 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd ... - com.nickwongdev + org.codehaus.mojo aspectj-maven-plugin - 1.12.1 + 1.11 1.8 1.8 @@ -65,6 +65,7 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd ``` +**Note:** If you are working with Lambda on runtime post java8, please refer [issue](https://github.com/awslabs/aws-lambda-powertools-java/issues/50) for workaround ### Logging Configuration Powertools extends the functionality of Log4J. Below is an example `log4j2.xml` file, with the `LambdaJsonLayout` configured. diff --git a/docs/content/index.mdx b/docs/content/index.mdx index 56a95a8ed..55d00fcae 100644 --- a/docs/content/index.mdx +++ b/docs/content/index.mdx @@ -34,9 +34,9 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd ... - com.nickwongdev + org.codehaus.mojo aspectj-maven-plugin - 1.12.1 + 1.11 1.8 1.8 @@ -64,6 +64,7 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd ``` +**Note:** If you are working with lambda on runtime post java8, please refer [issue](https://github.com/awslabs/aws-lambda-powertools-java/issues/50) for workaround ## Tenets diff --git a/example/HelloWorldFunction/pom.xml b/example/HelloWorldFunction/pom.xml index e253b34ff..efe50ace6 100644 --- a/example/HelloWorldFunction/pom.xml +++ b/example/HelloWorldFunction/pom.xml @@ -59,11 +59,10 @@ - - com.nickwongdev + org.codehaus.mojo aspectj-maven-plugin - 1.12.1 + 1.11 ${maven.compiler.source} ${maven.compiler.target}