pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>info.hkzlab.dupal.analyzer</groupId>
  6. <artifactId>dupal-analyzer</artifactId>
  7. <version>0.1.5</version>
  8. <name>dupal-analyzer</name>
  9. <url>https://github.com/DuPAL-PAL-DUmper</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.source>1.8</maven.compiler.source>
  13. <maven.compiler.target>1.8</maven.compiler.target>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>io.github.java-native</groupId>
  18. <artifactId>jssc</artifactId>
  19. <version>2.9.2</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.json</groupId>
  23. <artifactId>json</artifactId>
  24. <version>[20231013,)</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.slf4j</groupId>
  28. <artifactId>slf4j-api</artifactId>
  29. <version>1.7.30</version>
  30. </dependency>
  31. <!--dependency>
  32. <groupId>org.slf4j</groupId>
  33. <artifactId>slf4j-jdk14</artifactId>
  34. <version>1.7.30</version>
  35. </dependency-->
  36. <dependency>
  37. <groupId>org.slf4j</groupId>
  38. <artifactId>slf4j-simple</artifactId>
  39. <version>1.7.30</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.scijava</groupId>
  43. <artifactId>native-lib-loader</artifactId>
  44. <version>2.3.4</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>junit</groupId>
  48. <artifactId>junit</artifactId>
  49. <version>4.13.1</version>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.mockito</groupId>
  54. <artifactId>mockito-core</artifactId>
  55. <version>3.5.10</version>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.mockito</groupId>
  60. <artifactId>mockito-junit-jupiter</artifactId>
  61. <version>3.5.10</version>
  62. <scope>test</scope>
  63. </dependency>
  64. </dependencies>
  65. <build>
  66. <plugins>
  67. <plugin>
  68. <artifactId>maven-assembly-plugin</artifactId>
  69. <executions>
  70. <execution>
  71. <id>make-assembly</id>
  72. <phase>package</phase>
  73. <goals>
  74. <goal>single</goal>
  75. </goals>
  76. </execution>
  77. </executions>
  78. <configuration>
  79. <archive>
  80. <manifest>
  81. <mainClass>info.hkzlab.dupal.analyzer.App</mainClass>
  82. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  83. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  84. </manifest>
  85. </archive>
  86. <descriptorRefs>
  87. <descriptorRef>jar-with-dependencies</descriptorRef>
  88. </descriptorRefs>
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  93. <plugins>
  94. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  95. <plugin>
  96. <artifactId>maven-clean-plugin</artifactId>
  97. <version>3.1.0</version>
  98. </plugin>
  99. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  100. <plugin>
  101. <artifactId>maven-resources-plugin</artifactId>
  102. <version>3.0.2</version>
  103. </plugin>
  104. <plugin>
  105. <artifactId>maven-compiler-plugin</artifactId>
  106. <version>3.8.0</version>
  107. </plugin>
  108. <plugin>
  109. <artifactId>maven-surefire-plugin</artifactId>
  110. <version>2.22.1</version>
  111. </plugin>
  112. <plugin>
  113. <artifactId>maven-jar-plugin</artifactId>
  114. <version>3.0.2</version>
  115. <configuration>
  116. <archive>
  117. <manifest>
  118. <mainClass>info.hkzlab.dupal.analyzer.App</mainClass>
  119. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  120. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  121. </manifest>
  122. </archive>
  123. </configuration>
  124. </plugin>
  125. <plugin>
  126. <artifactId>maven-install-plugin</artifactId>
  127. <version>2.5.2</version>
  128. </plugin>
  129. <plugin>
  130. <artifactId>maven-deploy-plugin</artifactId>
  131. <version>2.8.2</version>
  132. </plugin>
  133. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  134. <plugin>
  135. <artifactId>maven-site-plugin</artifactId>
  136. <version>3.7.1</version>
  137. </plugin>
  138. <plugin>
  139. <artifactId>maven-project-info-reports-plugin</artifactId>
  140. <version>3.0.0</version>
  141. </plugin>
  142. </plugins>
  143. </pluginManagement>
  144. </build>
  145. </project>