pom.xml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. <parent>
  6. <groupId>net.ranides</groupId>
  7. <artifactId>assira.project</artifactId>
  8. <version>2.7.3-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>assira.jdk11</artifactId>
  11. <packaging>jar</packaging>
  12. <name>${project.groupId}:${project.artifactId}</name>
  13. <description>assira: general purpose java library: release for JDK11</description>
  14. <build>
  15. <plugins>
  16. <plugin>
  17. <groupId>org.apache.maven.plugins</groupId>
  18. <artifactId>maven-shade-plugin</artifactId>
  19. <version>2.4.3</version>
  20. <executions>
  21. <execution>
  22. <phase>package</phase>
  23. <goals>
  24. <goal>shade</goal>
  25. </goals>
  26. <configuration>
  27. <shadedArtifactAttached>false</shadedArtifactAttached>
  28. <createDependencyReducedPom>true</createDependencyReducedPom>
  29. <createSourcesJar>true</createSourcesJar>
  30. <minimizeJar>false</minimizeJar>
  31. </configuration>
  32. </execution>
  33. </executions>
  34. </plugin>
  35. </plugins>
  36. </build>
  37. <profiles>
  38. <profile>
  39. <id>release</id>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.codehaus.mojo</groupId>
  44. <artifactId>build-helper-maven-plugin</artifactId>
  45. <version>3.2.0</version>
  46. <executions>
  47. <execution>
  48. <id>attach-artifacts</id>
  49. <phase>package</phase>
  50. <goals>
  51. <goal>attach-artifact</goal>
  52. </goals>
  53. <configuration>
  54. <artifacts>
  55. <artifact>
  56. <file>../assira.core11/target/assira.core11-${project.version}-javadoc.jar</file>
  57. <type>jar</type>
  58. <classifier>javadoc</classifier>
  59. </artifact>
  60. </artifacts>
  61. </configuration>
  62. </execution>
  63. </executions>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </profile>
  68. </profiles>
  69. <dependencies>
  70. <dependency>
  71. <groupId>${project.groupId}</groupId>
  72. <artifactId>assira.core</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>${project.groupId}</groupId>
  76. <artifactId>assira.core11</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>${project.groupId}</groupId>
  80. <artifactId>assira.lambda</artifactId>
  81. </dependency>
  82. </dependencies>
  83. </project>