|
114 | 114 | <plugin>
|
115 | 115 | <groupId>org.codehaus.mojo</groupId>
|
116 | 116 | <artifactId>exec-maven-plugin</artifactId>
|
117 |
| - <version>1.1.1</version> |
| 117 | + <version>3.1.0</version> |
118 | 118 | <executions>
|
119 | 119 | <execution>
|
120 | 120 | <!-- Override when building on Windows to use PowerShell & MSVC -->
|
|
125 | 125 | </goals>
|
126 | 126 | <configuration>
|
127 | 127 | <executable>powershell</executable>
|
128 |
| - <commandlineArgs>-ExecutionPolicy Bypass -File ${basedir}/src/main/c/h3-java/build-h3-windows.ps1 ${h3.git.remote} ${h3.git.reference}</commandlineArgs> |
| 128 | + <arguments> |
| 129 | + <argument>-ExecutionPolicy</argument> |
| 130 | + <argument>Bypass</argument> |
| 131 | + <argument>-File</argument> |
| 132 | + <argument>${project.basedir}/src/main/c/h3-java/build-h3-windows.ps1</argument> |
| 133 | + <argument>${h3.git.remote}</argument> |
| 134 | + <argument>${h3.git.reference}</argument> |
| 135 | + </arguments> |
129 | 136 | </configuration>
|
130 | 137 | </execution>
|
131 | 138 | </executions>
|
|
198 | 205 | </goals>
|
199 | 206 | <configuration>
|
200 | 207 | <files>
|
201 |
| - <file>${basedir}/h3version.properties</file> |
| 208 | + <file>${project.basedir}/h3version.properties</file> |
202 | 209 | </files>
|
203 | 210 | </configuration>
|
204 | 211 | </execution>
|
|
218 | 225 |
|
219 | 226 | <!-- Generate the native header file -->
|
220 | 227 | <arg>-h</arg>
|
221 |
| - <arg>${basedir}/src/main/c/h3-java/src</arg> |
| 228 | + <arg>${project.basedir}/src/main/c/h3-java/src</arg> |
222 | 229 | </compilerArgs>
|
223 | 230 | </configuration>
|
224 | 231 | </plugin>
|
|
245 | 252 | <plugin>
|
246 | 253 | <groupId>org.codehaus.mojo</groupId>
|
247 | 254 | <artifactId>exec-maven-plugin</artifactId>
|
248 |
| - <version>1.1.1</version> |
| 255 | + <version>3.1.0</version> |
249 | 256 | <executions>
|
250 | 257 | <execution>
|
251 | 258 | <id>build-h3-c</id>
|
|
256 | 263 | <goal>exec</goal>
|
257 | 264 | </goals>
|
258 | 265 | <configuration>
|
259 |
| - <executable>${basedir}/src/main/c/h3-java/build-h3.sh</executable> |
260 |
| - <commandlineArgs>${h3.git.remote} ${h3.git.reference} ${h3.use.docker} ${h3.system.prune} ${h3.dockcross.tag} ${h3.github.artifacts.use} ${h3.github.artifacts.ref}</commandlineArgs> |
| 266 | + <executable>${project.basedir}/src/main/c/h3-java/build-h3.sh</executable> |
| 267 | + <arguments> |
| 268 | + <argument>${h3.git.remote}</argument> |
| 269 | + <argument>${h3.git.reference}</argument> |
| 270 | + <argument>${h3.use.docker}</argument> |
| 271 | + <argument>${h3.system.prune}</argument> |
| 272 | + <argument>${h3.dockcross.tag}</argument> |
| 273 | + <argument>${h3.github.artifacts.use}</argument> |
| 274 | + <argument>${h3.github.artifacts.ref}</argument> |
| 275 | + </arguments> |
261 | 276 | </configuration>
|
262 | 277 | </execution>
|
263 | 278 | </executions>
|
|
277 | 292 | <outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
278 | 293 | <resources>
|
279 | 294 | <resource>
|
280 |
| - <directory>${basedir}/src/main/resources</directory> |
| 295 | + <directory>${project.basedir}/src/main/resources</directory> |
281 | 296 | <filtering>false</filtering>
|
282 | 297 | </resource>
|
283 | 298 | </resources>
|
|
0 commit comments