|
62 | 62 | </dependencies> |
63 | 63 |
|
64 | 64 | <build> |
65 | | - <plugins> |
66 | | - <plugin> |
67 | | - <groupId>org.apache.maven.plugins</groupId> |
68 | | - <artifactId>maven-surefire-plugin</artifactId> |
69 | | - <!-- JUnit 5 requires Surefire version 3.1.0 or higher --> |
70 | | - <version>3.1.2</version> |
71 | | - </plugin> |
72 | | - <plugin> |
73 | | - <groupId>dev.aspectj</groupId> |
74 | | - <artifactId>aspectj-maven-plugin</artifactId> |
75 | | - <version>1.13.1</version> |
76 | | - <configuration> |
77 | | - <source>${maven.compiler.source}</source> |
78 | | - <target>${maven.compiler.target}</target> |
79 | | - <complianceLevel>${maven.compiler.target}</complianceLevel> |
80 | | - <aspectLibraries> |
81 | | - <aspectLibrary> |
82 | | - <groupId>software.amazon.lambda</groupId> |
83 | | - <artifactId>powertools-parameters</artifactId> |
84 | | - </aspectLibrary> |
85 | | - </aspectLibraries> |
86 | | - </configuration> |
87 | | - <executions> |
88 | | - <execution> |
89 | | - <goals> |
90 | | - <goal>compile</goal> |
91 | | - </goals> |
92 | | - </execution> |
93 | | - </executions> |
94 | | - <dependencies> |
95 | | - <dependency> |
96 | | - <groupId>org.aspectj</groupId> |
97 | | - <artifactId>aspectjtools</artifactId> |
98 | | - <version>${aspectj.version}</version> |
99 | | - </dependency> |
100 | | - </dependencies> |
101 | | - </plugin> |
102 | | - </plugins> |
| 65 | + <plugins> |
| 66 | + <plugin> |
| 67 | + <groupId>org.apache.maven.plugins</groupId> |
| 68 | + <artifactId>maven-surefire-plugin</artifactId> |
| 69 | + <!-- JUnit 5 requires Surefire version 3.1.0 or higher --> |
| 70 | + <version>3.1.2</version> |
| 71 | + </plugin> |
| 72 | + <plugin> |
| 73 | + <groupId>dev.aspectj</groupId> |
| 74 | + <artifactId>aspectj-maven-plugin</artifactId> |
| 75 | + <version>1.13.1</version> |
| 76 | + <configuration> |
| 77 | + <source>${maven.compiler.source}</source> |
| 78 | + <target>${maven.compiler.target}</target> |
| 79 | + <complianceLevel>${maven.compiler.target}</complianceLevel> |
| 80 | + <aspectLibraries> |
| 81 | + <aspectLibrary> |
| 82 | + <groupId>software.amazon.lambda</groupId> |
| 83 | + <artifactId>powertools-parameters</artifactId> |
| 84 | + </aspectLibrary> |
| 85 | + </aspectLibraries> |
| 86 | + </configuration> |
| 87 | + <executions> |
| 88 | + <execution> |
| 89 | + <goals> |
| 90 | + <goal>compile</goal> |
| 91 | + </goals> |
| 92 | + </execution> |
| 93 | + </executions> |
| 94 | + <dependencies> |
| 95 | + <dependency> |
| 96 | + <groupId>org.aspectj</groupId> |
| 97 | + <artifactId>aspectjtools</artifactId> |
| 98 | + <version>${aspectj.version}</version> |
| 99 | + </dependency> |
| 100 | + </dependencies> |
| 101 | + </plugin> |
| 102 | + <!-- Don't deploy the example --> |
| 103 | + <plugin> |
| 104 | + <groupId>org.apache.maven.plugins</groupId> |
| 105 | + <artifactId>maven-deploy-plugin</artifactId> |
| 106 | + <configuration> |
| 107 | + <skip>true</skip> |
| 108 | + </configuration> |
| 109 | + </plugin> |
| 110 | + </plugins> |
103 | 111 | </build> |
104 | 112 | <profiles> |
105 | 113 | <!-- Use a profile to enforce AspectJ version 1.9.7 if we are Java 1.8 otherwise we'll get class |
|
0 commit comments