2
0

pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.scytl.slogger</groupId>
  6. <artifactId>secure-logger</artifactId>
  7. <version>5.1.2</version>
  8. </parent>
  9. <artifactId>validator-cli</artifactId>
  10. <name>Validator CLI</name>
  11. <description>This project provides a simple CLI application to launch secure log validator.</description>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.scytl.slogger</groupId>
  15. <artifactId>validator</artifactId>
  16. <version>${project.version}</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.bouncycastle</groupId>
  20. <artifactId>bcprov-jdk15on</artifactId>
  21. </dependency>
  22. </dependencies>
  23. <build>
  24. <plugins>
  25. <plugin>
  26. <groupId>org.apache.maven.plugins</groupId>
  27. <artifactId>maven-clean-plugin</artifactId>
  28. <version>3.0.0</version>
  29. <executions>
  30. <execution>
  31. <id>delete-existing-jar</id>
  32. <phase>prepare-package</phase>
  33. <goals>
  34. <goal>clean</goal>
  35. </goals>
  36. </execution>
  37. </executions>
  38. </plugin>
  39. <plugin>
  40. <groupId>org.apache.maven.plugins</groupId>
  41. <artifactId>maven-shade-plugin</artifactId>
  42. <version>3.1.0</version>
  43. <executions>
  44. <execution>
  45. <phase>package</phase>
  46. <goals>
  47. <goal>shade</goal>
  48. </goals>
  49. <configuration>
  50. <filters>
  51. <filter>
  52. <artifact>*:*</artifact>
  53. <excludes>
  54. <exclude>META-INF/**</exclude>
  55. </excludes>
  56. </filter>
  57. </filters>
  58. <transformers>
  59. <transformer
  60. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  61. <mainClass>com.scytl.slogger.util.LogValidator</mainClass>
  62. </transformer>
  63. </transformers>
  64. <createDependencyReducedPom>false</createDependencyReducedPom>
  65. </configuration>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. </plugins>
  70. </build>
  71. </project>