pom.xml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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.8.0-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>true</shadedArtifactAttached>
  28. <shadedClassifierName>all</shadedClassifierName>
  29. <createDependencyReducedPom>true</createDependencyReducedPom>
  30. <createSourcesJar>true</createSourcesJar>
  31. <minimizeJar>false</minimizeJar>
  32. </configuration>
  33. </execution>
  34. </executions>
  35. </plugin>
  36. </plugins>
  37. </build>
  38. <profiles>
  39. <profile>
  40. <id>release</id>
  41. <build>
  42. <plugins>
  43. <plugin>
  44. <groupId>org.codehaus.mojo</groupId>
  45. <artifactId>build-helper-maven-plugin</artifactId>
  46. <version>3.2.0</version>
  47. <executions>
  48. <execution>
  49. <id>attach-artifacts</id>
  50. <phase>package</phase>
  51. <goals>
  52. <goal>attach-artifact</goal>
  53. </goals>
  54. <configuration>
  55. <artifacts>
  56. <artifact>
  57. <file>../assira.core11/target/assira.core11-${project.version}-javadoc.jar</file>
  58. <type>jar</type>
  59. <classifier>javadoc</classifier>
  60. </artifact>
  61. </artifacts>
  62. </configuration>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. </plugins>
  67. </build>
  68. </profile>
  69. </profiles>
  70. <dependencies>
  71. <dependency>
  72. <groupId>${project.groupId}</groupId>
  73. <artifactId>assira.core</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>${project.groupId}</groupId>
  77. <artifactId>assira.core11</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>${project.groupId}</groupId>
  81. <artifactId>assira.lambda</artifactId>
  82. </dependency>
  83. </dependencies>
  84. </project>