|
90 | 90 | </dependency>
|
91 | 91 |
|
92 | 92 | <dependency>
|
93 |
| - <groupId>com.almworks.sqlite4java</groupId> |
94 |
| - <artifactId>sqlite4java</artifactId> |
95 |
| - <version>${sqlite4java.version}</version> |
96 |
| - <scope>test</scope> |
| 93 | + <groupId>com.almworks.sqlite4java</groupId> |
| 94 | + <artifactId>sqlite4java</artifactId> |
| 95 | + <version>${sqlite4java.version}</version> |
| 96 | + <scope>test</scope> |
| 97 | + </dependency> |
| 98 | + |
| 99 | + <dependency> |
| 100 | + <groupId>com.almworks.sqlite4java</groupId> |
| 101 | + <artifactId>libsqlite4java-osx</artifactId> |
| 102 | + <version>${sqlite4java.version}</version> |
| 103 | + <type>dylib</type> |
| 104 | + <scope>test</scope> |
| 105 | + </dependency> |
| 106 | + |
| 107 | + <dependency> |
| 108 | + <groupId>com.almworks.sqlite4java</groupId> |
| 109 | + <artifactId>sqlite4java-win32-x64</artifactId> |
| 110 | + <version>${sqlite4java.version}</version> |
| 111 | + <type>dll</type> |
| 112 | + <scope>test</scope> |
97 | 113 | </dependency>
|
98 | 114 |
|
99 | 115 | <dependency>
|
|
143 | 159 | <executions>
|
144 | 160 | <execution>
|
145 | 161 | <id>copy</id>
|
146 |
| - <phase>compile</phase> |
| 162 | + <phase>test-compile</phase> |
147 | 163 | <goals>
|
148 |
| - <goal>copy</goal> |
| 164 | + <goal>copy-dependencies</goal> |
149 | 165 | </goals>
|
150 | 166 | <configuration>
|
151 |
| - <artifactItems> |
152 |
| - <artifactItem> |
153 |
| - <groupId>com.almworks.sqlite4java</groupId> |
154 |
| - <artifactId>libsqlite4java-linux-amd64</artifactId> |
155 |
| - <version>${sqlite4java.version}</version> |
156 |
| - <type>so</type> |
157 |
| - <overWrite>true</overWrite> |
158 |
| - <outputDirectory>${project.build.directory}/test-lib</outputDirectory> |
159 |
| - </artifactItem> |
160 |
| - </artifactItems> |
| 167 | + <includeScope>test</includeScope> |
| 168 | + <includeTypes>so,dll,dylib</includeTypes> |
| 169 | + <outputDirectory>${project.build.directory}/test-lib</outputDirectory> |
161 | 170 | </configuration>
|
162 | 171 | </execution>
|
163 | 172 | </executions>
|
|
166 | 175 | <plugin>
|
167 | 176 | <groupId>org.apache.maven.plugins</groupId>
|
168 | 177 | <artifactId>maven-surefire-plugin</artifactId>
|
169 |
| - <version>2.19.1</version> |
| 178 | + <version>2.22.1</version> |
170 | 179 | <configuration>
|
| 180 | + <useSystemClassLoader>false</useSystemClassLoader> |
171 | 181 | <includes>
|
172 | 182 | <include>**/Test*.java</include>
|
173 | 183 | <include>**/*Test.java</include>
|
|
0 commit comments