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