pom.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <artifactId>assira.project</artifactId>
  8. <groupId>net.ranides</groupId>
  9. <version>2.9.0</version>
  10. </parent>
  11. <artifactId>assira.core11</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.groupId}:${project.artifactId}</name>
  14. <description>assira: general purpose java library: runtime for JDK 11</description>
  15. <properties>
  16. <assira.junit.debug>false</assira.junit.debug>
  17. <maven.compiler.source>11</maven.compiler.source>
  18. <maven.compiler.target>11</maven.compiler.target>
  19. </properties>
  20. <build>
  21. <plugins>
  22. <plugin>
  23. <groupId>org.apache.maven.plugins</groupId>
  24. <artifactId>maven-compiler-plugin</artifactId>
  25. <configuration>
  26. <source>${maven.compiler.source}</source>
  27. <target>${maven.compiler.target}</target>
  28. <compilerArgs>
  29. <argument>-Xlint:unchecked</argument>
  30. <argument>-Xlint:removal</argument>
  31. <argument>-parameters</argument>
  32. </compilerArgs>
  33. </configuration>
  34. </plugin>
  35. <plugin>
  36. <groupId>org.apache.maven.plugins</groupId>
  37. <artifactId>maven-shade-plugin</artifactId>
  38. <version>2.4.3</version>
  39. <executions>
  40. <execution>
  41. <phase>package</phase>
  42. <goals>
  43. <goal>shade</goal>
  44. </goals>
  45. <configuration>
  46. <shadedArtifactAttached>true</shadedArtifactAttached>
  47. <shadedClassifierName>all</shadedClassifierName>
  48. <createDependencyReducedPom>true</createDependencyReducedPom>
  49. <createSourcesJar>true</createSourcesJar>
  50. <minimizeJar>false</minimizeJar>
  51. </configuration>
  52. </execution>
  53. </executions>
  54. </plugin>
  55. </plugins>
  56. </build>
  57. <dependencies>
  58. <dependency>
  59. <groupId>junit</groupId>
  60. <artifactId>junit</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>net.ranides</groupId>
  64. <artifactId>assira.core</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>net.ranides</groupId>
  68. <artifactId>assira.junit</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.slf4j</groupId>
  72. <artifactId>slf4j-api</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.projectlombok</groupId>
  76. <artifactId>lombok</artifactId>
  77. </dependency>
  78. </dependencies>
  79. </project>