Skip to content

Commit 2d77a3b

Browse files
eldimiscottgerring
authored andcommitted
Try fixing java8 build
1 parent dd817bb commit 2d77a3b

File tree

1 file changed

+46
-0
lines changed
  • powertools-idempotency/powertools-idempotency-dynamodb

1 file changed

+46
-0
lines changed

powertools-idempotency/powertools-idempotency-dynamodb/pom.xml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@
6868
<scope>test</scope>
6969
<type>dylib</type>
7070
</dependency>
71+
<dependency>
72+
<groupId>org.aspectj</groupId>
73+
<artifactId>aspectjrt</artifactId>
74+
<version>${aspectj.version}</version>
75+
<scope>test</scope>
76+
</dependency>
7177
</dependencies>
7278
<build>
7379
<plugins>
@@ -83,6 +89,46 @@
8389
</archive>
8490
</configuration>
8591
</plugin>
92+
<plugin>
93+
<groupId>dev.aspectj</groupId>
94+
<artifactId>aspectj-maven-plugin</artifactId>
95+
<version>${aspectj-maven-plugin.version}</version>
96+
<configuration>
97+
<source>${maven.compiler.source}</source>
98+
<target>${maven.compiler.target}</target>
99+
<complianceLevel>${maven.compiler.target}</complianceLevel>
100+
<Xlint>ignore</Xlint>
101+
<encoding>${project.build.sourceEncoding}</encoding>
102+
<aspectLibraries>
103+
<aspectLibrary>
104+
<groupId>software.amazon.lambda</groupId>
105+
<artifactId>powertools-idempotency-core</artifactId>
106+
</aspectLibrary>
107+
</aspectLibraries>
108+
`
109+
</configuration>
110+
<executions>
111+
<execution>
112+
<phase>process-sources</phase>
113+
<goals>
114+
<goal>compile</goal>
115+
<goal>test-compile</goal>
116+
</goals>
117+
</execution>
118+
</executions>
119+
<dependencies>
120+
<dependency>
121+
<groupId>org.aspectj</groupId>
122+
<artifactId>aspectjrt</artifactId>
123+
<version>${aspectj.version}</version>
124+
</dependency>
125+
<dependency>
126+
<groupId>org.aspectj</groupId>
127+
<artifactId>aspectjtools</artifactId>
128+
<version>${aspectj.version}</version>
129+
</dependency>
130+
</dependencies>
131+
</plugin>
86132
</plugins>
87133
</build>
88134
</project>

0 commit comments

Comments
 (0)