Skip to content

chore: Upgrade to latest(1.14.0) aspectj-maven-plugin #489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.11</version>
<version>1.14.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down Expand Up @@ -74,7 +74,6 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd
</plugins>
</build>
```
**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

## Example

Expand Down
5 changes: 1 addition & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ You can use [SAM](https://aws.amazon.com/serverless/sam/) to quickly setup a ser

For more information about the project and available options refer to this [repository](https://github.com/aws-samples/cookiecutter-aws-sam-powertools-java/blob/main/README.md)

!!! note "Using Java 9 or later?"
If you are working with lambda function on runtime **Java 9 or later**, please refer **[issue](https://github.com/awslabs/aws-lambda-powertools-java/issues/50)** for a workaround.

=== "Maven"

```xml hl_lines="3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55"
Expand Down Expand Up @@ -71,7 +68,7 @@ For more information about the project and available options refer to this [repo
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.11</version>
<version>1.14.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down
5 changes: 1 addition & 4 deletions docs/utilities/batch.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ are returned to the queue.

To install this utility, add the following dependency to your project.

!!! note "Using Java 9 or later?"
If you are working with lambda function on runtime **Java 9 or later**, please refer **[issue](https://github.com/awslabs/aws-lambda-powertools-java/issues/50)** for a workaround.

=== "Maven"
```xml hl_lines="3 4 5 6 7 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36"
<dependencies>
Expand All @@ -46,7 +43,7 @@ To install this utility, add the following dependency to your project.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.11</version>
<version>1.14.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down
4 changes: 1 addition & 3 deletions docs/utilities/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ If you want to use the ```@Param``` annotation in your project add configuration
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.11</version>
<version>1.14.0</version>
<configuration>
...
<aspectLibraries>
Expand All @@ -420,8 +420,6 @@ If you want to use the ```@Param``` annotation in your project add configuration
</build>
```

**Note:** If you are working with lambda function on runtime post java8, please refer [issue](https://github.com/awslabs/aws-lambda-powertools-java/issues/50) for workaround

=== "Gradle"

```groovy
Expand Down
5 changes: 1 addition & 4 deletions docs/utilities/sqs_large_message_handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ This utility is compatible with versions *[1.1.0+](https://github.com/awslabs/am

To install this utility, add the following dependency to your project.

!!! note "Using Java 9 or later?"
If you are working with lambda function on runtime **Java 9 or later**, please refer **[issue](https://github.com/awslabs/aws-lambda-powertools-java/issues/50)** for a workaround.

=== "Maven"
```xml hl_lines="3 4 5 6 7 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36"
<dependencies>
Expand All @@ -54,7 +51,7 @@ To install this utility, add the following dependency to your project.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.11</version>
<version>1.14.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down
5 changes: 1 addition & 4 deletions docs/utilities/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ This utility provides JSON Schema validation for payloads held within events and

To install this utility, add the following dependency to your project.

!!! note "Using Java 9 or later?"
If you are working with lambda function on runtime **Java 9 or later**, please refer **[issue](https://github.com/awslabs/aws-lambda-powertools-java/issues/50)** for a workaround.

=== "Maven"
```xml hl_lines="3 4 5 6 7 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36"
<dependencies>
Expand All @@ -36,7 +33,7 @@ To install this utility, add the following dependency to your project.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.11</version>
<version>1.14.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down
5 changes: 2 additions & 3 deletions example/HelloWorldFunction/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@
<build>
<plugins>
<plugin>
<!-- Refer https://github.com/awslabs/aws-lambda-powertools-java/issues/50 -->
<groupId>com.nickwongdev</groupId>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.12.6</version>
<version>1.14.0</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
Expand Down
9 changes: 4 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<lambda.core.version>1.2.1</lambda.core.version>
<lambda.events.version>3.9.0</lambda.events.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<aspectj-maven-plugin.version>1.12.6</aspectj-maven-plugin.version>
<aspectj-maven-plugin.version>1.14.0</aspectj-maven-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
<cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
Expand Down Expand Up @@ -244,8 +244,7 @@
<version>${maven-compiler-plugin.version}</version>
</plugin>
<plugin>
<!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45 -->
<groupId>com.nickwongdev</groupId>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>${aspectj-maven-plugin.version}</version>
</plugin>
Expand Down Expand Up @@ -297,9 +296,9 @@
</configuration>
</plugin>
<plugin>
<!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45 -->
<groupId>com.nickwongdev</groupId>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>${aspectj-maven-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
Expand Down