File tree 3 files changed +16
-1
lines changed
src/test/java/software/amazon/lambda/powertools/idempotency/persistence
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ hs_err_pid*
14
14
15
15
# Maven build
16
16
target /
17
+ native-libs /
17
18
18
19
# #####################
19
20
# IntelliJ
Original file line number Diff line number Diff line change 176
176
<configuration >
177
177
<includeScope >test</includeScope >
178
178
<includeTypes >so,dll,dylib</includeTypes >
179
- <outputDirectory >${project.build.directory} /native-libs</outputDirectory >
179
+ <outputDirectory >${project.basedir} /src/test /native-libs</outputDirectory >
180
180
</configuration >
181
181
</execution >
182
182
</executions >
183
183
</plugin >
184
+ <plugin >
185
+ <artifactId >maven-clean-plugin</artifactId >
186
+ <version >3.1.0</version >
187
+ <configuration >
188
+ <filesets >
189
+ <fileset >
190
+ <directory >src/test/native-libs</directory >
191
+ <followSymlinks >false</followSymlinks >
192
+ </fileset >
193
+ </filesets >
194
+ </configuration >
195
+ </plugin >
184
196
<plugin >
185
197
<groupId >org.apache.maven.plugins</groupId >
186
198
<artifactId >maven-jar-plugin</artifactId >
199
+ <version >3.2.0</version >
187
200
<configuration >
188
201
<archive >
189
202
<manifestEntries >
Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ public void emptyDB() {
299
299
300
300
@ BeforeAll
301
301
public static void setupDynamo () {
302
+ System .setProperty ("sqlite4java.library.path" , "src/test/native-libs" );
302
303
int port = getFreePort ();
303
304
try {
304
305
dynamoProxy = ServerRunner .createServerFromCommandLineArgs (new String []{
You can’t perform that action at this time.
0 commit comments