|
290 | 290 | <artifactId>groovy-swing</artifactId> |
291 | 291 | <version>${groovy.version}</version> |
292 | 292 | </dependency> |
| 293 | + <dependency> |
| 294 | + <groupId>org.codehaus.groovy</groupId> |
| 295 | + <artifactId>groovy-groovysh</artifactId> |
| 296 | + <version>${groovy.version}</version> |
| 297 | + </dependency> |
| 298 | + <dependency> |
| 299 | + <groupId>org.codehaus.groovy</groupId> |
| 300 | + <artifactId>groovy-console</artifactId> |
| 301 | + <version>${groovy.version}</version> |
| 302 | + </dependency> |
293 | 303 | <dependency> |
294 | 304 | <groupId>com.opencsv</groupId> |
295 | 305 | <artifactId>opencsv</artifactId> |
|
357 | 367 | </plugin> |
358 | 368 | <plugin> |
359 | 369 | <artifactId>maven-compiler-plugin</artifactId> |
360 | | - <version>3.8.0</version> |
| 370 | + <version>3.8.1</version> |
361 | 371 | <configuration> |
362 | 372 | <source>1.8</source> |
363 | 373 | <target>1.8</target> |
|
379 | 389 | <plugin> |
380 | 390 | <groupId>org.apache.maven.plugins</groupId> |
381 | 391 | <artifactId>maven-surefire-plugin</artifactId> |
382 | | - <version>2.22.0</version> |
| 392 | + <version>3.0.0-M5</version> |
383 | 393 | <configuration> |
384 | 394 | <forkMode>once</forkMode> |
385 | 395 | <argLine>-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=1024m</argLine> |
|
390 | 400 | </plugin> |
391 | 401 | <plugin> |
392 | 402 | <artifactId>maven-antrun-plugin</artifactId> |
393 | | - <version>1.3</version> |
| 403 | + <version>3.0.0</version> |
394 | 404 | <executions> |
395 | 405 | <execution> |
396 | 406 | <phase>package</phase> |
397 | 407 | <configuration> |
398 | | - <tasks> |
| 408 | + <target> |
399 | 409 | <taskdef name="Groovydoc" classname="org.codehaus.groovy.ant.Groovydoc"> |
400 | 410 | <classpath> |
401 | 411 | <path refid="maven.compile.classpath"/> |
402 | 412 | </classpath> |
403 | 413 | </taskdef> |
404 | 414 | <Groovydoc destdir="target/groovydoc" sourcepath="src/main/groovy" packagenames="**.*" |
405 | 415 | use="true" windowtitle="GeoScript Groovy API" private="false"/> |
406 | | - </tasks> |
| 416 | + </target> |
407 | 417 | </configuration> |
408 | 418 | <goals> |
409 | 419 | <goal>run</goal> |
|
426 | 436 | <plugin> |
427 | 437 | <groupId>org.apache.maven.plugins</groupId> |
428 | 438 | <artifactId>maven-jar-plugin</artifactId> |
429 | | - <version>3.1.0</version> |
| 439 | + <version>3.2.0</version> |
430 | 440 | <configuration> |
431 | 441 | <archive> |
432 | 442 | <manifest> |
|
437 | 447 | </plugin> |
438 | 448 | <plugin> |
439 | 449 | <artifactId>maven-assembly-plugin</artifactId> |
440 | | - <version>2.2-beta-5</version> |
| 450 | + <version>3.3.0</version> |
441 | 451 | <configuration> |
442 | 452 | <descriptors> |
443 | 453 | <descriptor>src/assembly/dir.xml</descriptor> |
|
454 | 464 | </execution> |
455 | 465 | </executions> |
456 | 466 | </plugin> |
| 467 | + <plugin> |
| 468 | + <groupId>org.apache.maven.plugins</groupId> |
| 469 | + <artifactId>maven-shade-plugin</artifactId> |
| 470 | + <version>3.2.4</version> |
| 471 | + <executions> |
| 472 | + <execution> |
| 473 | + <phase>package</phase> |
| 474 | + <goals> |
| 475 | + <goal>shade</goal> |
| 476 | + </goals> |
| 477 | + <configuration> |
| 478 | + <finalName>geoscript-app-${project.version}</finalName> |
| 479 | + <transformers> |
| 480 | + <transformer implementation="org.apache.maven.plugins.shade.resource.GroovyResourceTransformer"> |
| 481 | + <extModuleName>groovy-module</extModuleName> |
| 482 | + <extModuleVersion>1.0.0</extModuleVersion> |
| 483 | + </transformer> |
| 484 | + <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 485 | + <resource>META-INF/spring.handlers</resource> |
| 486 | + </transformer> |
| 487 | + <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 488 | + <resource>META-INF/spring.schemas</resource> |
| 489 | + </transformer> |
| 490 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 491 | + <mainClass>geoscript.Application</mainClass> |
| 492 | + <manifestEntries> |
| 493 | + <Specification-Title>Java Advanced Imaging Image I/O Tools</Specification-Title> |
| 494 | + <Specification-Version>1.1</Specification-Version> |
| 495 | + <Specification-Vendor>Sun Microsystems, Inc.</Specification-Vendor> |
| 496 | + <Implementation-Title>com.sun.media.imageio</Implementation-Title> |
| 497 | + <Implementation-Version>1.1</Implementation-Version> |
| 498 | + <Implementation-Vendor>Sun Microsystems, Inc.</Implementation-Vendor> |
| 499 | + </manifestEntries> |
| 500 | + </transformer> |
| 501 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 502 | + </transformers> |
| 503 | + <filters> |
| 504 | + <filter> |
| 505 | + <artifact>*:*</artifact> |
| 506 | + <excludes> |
| 507 | + <exclude>META-INF/*.SF</exclude> |
| 508 | + <exclude>META-INF/*.DSA</exclude> |
| 509 | + <exclude>META-INF/*.RSA</exclude> |
| 510 | + </excludes> |
| 511 | + </filter> |
| 512 | + </filters> |
| 513 | + </configuration> |
| 514 | + </execution> |
| 515 | + </executions> |
| 516 | + </plugin> |
457 | 517 | <!-- Code quality: mvn codenarc:codenarc --> |
458 | 518 | <plugin> |
459 | 519 | <groupId>org.codehaus.mojo</groupId> |
|
0 commit comments