pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>net.ranides</groupId>
  6. <artifactId>assira.project</artifactId>
  7. <version>2.7.0</version>
  8. </parent>
  9. <artifactId>assira.jdk8</artifactId>
  10. <packaging>jar</packaging>
  11. <name>${project.groupId}:${project.artifactId}</name>
  12. <description>assira: general purpose java library: release for JDK8</description>
  13. <build>
  14. <plugins>
  15. <plugin>
  16. <groupId>org.apache.maven.plugins</groupId>
  17. <artifactId>maven-shade-plugin</artifactId>
  18. <version>2.4.3</version>
  19. <executions>
  20. <execution>
  21. <phase>package</phase>
  22. <goals>
  23. <goal>shade</goal>
  24. </goals>
  25. <configuration>
  26. <shadedArtifactAttached>false</shadedArtifactAttached>
  27. <createDependencyReducedPom>true</createDependencyReducedPom>
  28. <createSourcesJar>true</createSourcesJar>
  29. <minimizeJar>false</minimizeJar>
  30. </configuration>
  31. </execution>
  32. </executions>
  33. </plugin>
  34. <plugin>
  35. <groupId>org.codehaus.mojo</groupId>
  36. <artifactId>build-helper-maven-plugin</artifactId>
  37. <version>3.2.0</version>
  38. <executions>
  39. <execution>
  40. <id>attach-artifacts</id>
  41. <phase>package</phase>
  42. <goals>
  43. <goal>attach-artifact</goal>
  44. </goals>
  45. <configuration>
  46. <artifacts>
  47. <artifact>
  48. <file>../assira.core8/target/assira.core8-${project.version}-javadoc.jar</file>
  49. <type>jar</type>
  50. <classifier>javadoc</classifier>
  51. </artifact>
  52. </artifacts>
  53. </configuration>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. </plugins>
  58. </build>
  59. <dependencies>
  60. <dependency>
  61. <groupId>${project.groupId}</groupId>
  62. <artifactId>assira.core</artifactId>
  63. <version>${project.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>${project.groupId}</groupId>
  67. <artifactId>assira.core8</artifactId>
  68. <version>${project.version}</version>
  69. </dependency>
  70. </dependencies>
  71. </project>