pom.xml 5.0 KB

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