pom.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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.8.0-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>true</shadedArtifactAttached>
  27. <shadedClassifierName>all</shadedClassifierName>
  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.core8/target/assira.core8-${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. <version>${project.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>${project.groupId}</groupId>
  77. <artifactId>assira.core8</artifactId>
  78. <version>${project.version}</version>
  79. </dependency>
  80. </dependencies>
  81. </project>