Skip to content

Commit fb19b00

Browse files
Update docs to use official plugin and externalise workaround as issue (#51)
1 parent dcbcb76 commit fb19b00

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd
3535
<plugins>
3636
...
3737
<plugin>
38-
<groupId>com.nickwongdev</groupId>
38+
<groupId>org.codehaus.mojo</groupId>
3939
<artifactId>aspectj-maven-plugin</artifactId>
40-
<version>1.12.1</version>
40+
<version>1.11</version>
4141
<configuration>
4242
<source>1.8</source>
4343
<target>1.8</target>
@@ -65,6 +65,7 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd
6565
</plugins>
6666
</build>
6767
```
68+
**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
6869

6970
### Logging Configuration
7071
Powertools extends the functionality of Log4J. Below is an example `log4j2.xml` file, with the `LambdaJsonLayout` configured.

docs/content/index.mdx

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd
3434
<plugins>
3535
...
3636
<plugin>
37-
<groupId>com.nickwongdev</groupId>
37+
<groupId>org.codehaus.mojo</groupId>
3838
<artifactId>aspectj-maven-plugin</artifactId>
39-
<version>1.12.1</version>
39+
<version>1.11</version>
4040
<configuration>
4141
<source>1.8</source>
4242
<target>1.8</target>
@@ -64,6 +64,7 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd
6464
</plugins>
6565
</build>
6666
```
67+
**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
6768

6869
## Tenets
6970

example/HelloWorldFunction/pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,10 @@
5959

6060
<build>
6161
<plugins>
62-
<!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45 -->
6362
<plugin>
64-
<groupId>com.nickwongdev</groupId>
63+
<groupId>org.codehaus.mojo</groupId>
6564
<artifactId>aspectj-maven-plugin</artifactId>
66-
<version>1.12.1</version>
65+
<version>1.11</version>
6766
<configuration>
6867
<source>${maven.compiler.source}</source>
6968
<target>${maven.compiler.target}</target>

0 commit comments

Comments
 (0)