pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>assira.project</artifactId>
  7. <groupId>net.ranides</groupId>
  8. <version>2.3.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>assira.lambda</artifactId>
  12. <properties>
  13. <assira.junit.debug>false</assira.junit.debug>
  14. </properties>
  15. <build>
  16. <plugins>
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-compiler-plugin</artifactId>
  20. <configuration>
  21. <source>${maven.compiler.source}</source>
  22. <target>${maven.compiler.target}</target>
  23. <compilerArgs>
  24. <argument>-Xlint:unchecked</argument>
  25. <argument>-Xlint:removal</argument>
  26. <argument>-parameters</argument>
  27. <argument>--add-exports</argument>
  28. <argument>java.base/jdk.internal.reflect=ALL-UNNAMED</argument>
  29. </compilerArgs>
  30. </configuration>
  31. </plugin>
  32. <plugin>
  33. <groupId>org.apache.maven.plugins</groupId>
  34. <artifactId>maven-surefire-plugin</artifactId>
  35. <configuration>
  36. <excludedGroups>net.ranides.assira.junit.JCategories$Slow,net.ranides.assira.junit.JCategories$UnstableTest</excludedGroups>
  37. <argLine>--add-exports java.base/jdk.internal.reflect=ALL-UNNAMED</argLine>
  38. </configuration>
  39. </plugin>
  40. <plugin>
  41. <groupId>org.jacoco</groupId>
  42. <artifactId>jacoco-maven-plugin</artifactId>
  43. <configuration>
  44. <excludes>
  45. <exclude>net/ranides/assira/test/**</exclude>
  46. </excludes>
  47. </configuration>
  48. </plugin>
  49. </plugins>
  50. </build>
  51. <dependencies>
  52. <dependency>
  53. <groupId>junit</groupId>
  54. <artifactId>junit</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>net.ranides</groupId>
  58. <artifactId>assira</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>net.ranides</groupId>
  62. <artifactId>assira.junit</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.slf4j</groupId>
  66. <artifactId>slf4j-api</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.projectlombok</groupId>
  70. <artifactId>lombok</artifactId>
  71. </dependency>
  72. </dependencies>
  73. </project>