pom.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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.6.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. <maven.compiler.source>11</maven.compiler.source>
  15. <maven.compiler.target>11</maven.compiler.target>
  16. </properties>
  17. <build>
  18. <plugins>
  19. <plugin>
  20. <groupId>org.apache.maven.plugins</groupId>
  21. <artifactId>maven-compiler-plugin</artifactId>
  22. <configuration>
  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>net.ranides</groupId>
  54. <artifactId>assira.core</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>net.ranides</groupId>
  58. <artifactId>assira.jdk11</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>net.ranides</groupId>
  62. <artifactId>assira.junit</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.projectlombok</groupId>
  66. <artifactId>lombok</artifactId>
  67. <scope>provided</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.slf4j</groupId>
  71. <artifactId>slf4j-api</artifactId>
  72. </dependency>
  73. </dependencies>
  74. </project>