pom.xml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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.2-SNAPSHOT</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. </plugins>
  35. </build>
  36. <profiles>
  37. <profile>
  38. <id>release</id>
  39. <build>
  40. <plugins>
  41. <plugin>
  42. <groupId>org.codehaus.mojo</groupId>
  43. <artifactId>build-helper-maven-plugin</artifactId>
  44. <version>3.2.0</version>
  45. <executions>
  46. <execution>
  47. <id>attach-artifacts</id>
  48. <phase>package</phase>
  49. <goals>
  50. <goal>attach-artifact</goal>
  51. </goals>
  52. <configuration>
  53. <artifacts>
  54. <artifact>
  55. <file>../assira.core8/target/assira.core8-${project.version}-javadoc.jar</file>
  56. <type>jar</type>
  57. <classifier>javadoc</classifier>
  58. </artifact>
  59. </artifacts>
  60. </configuration>
  61. </execution>
  62. </executions>
  63. </plugin>
  64. </plugins>
  65. </build>
  66. </profile>
  67. </profiles>
  68. <dependencies>
  69. <dependency>
  70. <groupId>${project.groupId}</groupId>
  71. <artifactId>assira.core</artifactId>
  72. <version>${project.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>${project.groupId}</groupId>
  76. <artifactId>assira.core8</artifactId>
  77. <version>${project.version}</version>
  78. </dependency>
  79. </dependencies>
  80. </project>