Skip to content

Commit 1e64723

Browse files
committed
Reenable tests
This was disabled over a decade ago, perhaps to avoid building the native library for every mvn package. This is a first step to getting these tests enabled, which would have prevented the regression almost caused by naively fixing jnr#93.
1 parent 3b8c100 commit 1e64723

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

pom.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
</dependencies>
4646

4747
<properties>
48-
<maven.test.skip>true</maven.test.skip>
49-
<maven.test.failure.ignore>true</maven.test.failure.ignore>
5048
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5149
<maven.compiler.source>8</maven.compiler.source>
5250
<maven.compiler.target>8</maven.compiler.target>
@@ -181,10 +179,9 @@
181179
</execution>
182180
</executions>
183181
</plugin>
184-
<!--
185182
<plugin>
186183
<artifactId>maven-antrun-plugin</artifactId>
187-
<version>1.1</version>
184+
<version>1.6</version>
188185
<executions>
189186
<execution>
190187
<id>build-native-library</id>
@@ -197,8 +194,8 @@
197194
<property name="dist.dir" value="${project.build.directory}" />
198195
<property name="build.dir" value="${project.build.directory}" />
199196
<property name="build.classes.dir" value="${project.build.outputDirectory}" />
200-
<ant antfile="custom-build.xml" dir="." target="-assemble-native-jar" />
201-
<unjar src="${project.build.directory}/native.jar" dest="${project.build.outputDirectory}" />
197+
<ant antfile="build.xml" dir="." target="-assemble-native-jar" />
198+
<unjar src="build/native.jar" dest="${project.build.outputDirectory}" />
202199
</tasks>
203200
</configuration>
204201
<goals>
@@ -207,7 +204,6 @@
207204
</execution>
208205
</executions>
209206
</plugin>
210-
-->
211207
<plugin>
212208
<groupId>org.apache.maven.plugins</groupId>
213209
<artifactId>maven-antrun-plugin</artifactId>

0 commit comments

Comments
 (0)