You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2015, Matthias Sohn <matthias.sohn@sap.com> and others
  4. This program and the accompanying materials are made available under the
  5. terms of the Eclipse Distribution License v. 1.0 which is available at
  6. http://www.eclipse.org/org/documents/edl-v10.php.
  7. SPDX-License-Identifier: BSD-3-Clause
  8. -->
  9. <project xmlns="http://maven.apache.org/POM/4.0.0"
  10. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  11. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  12. <modelVersion>4.0.0</modelVersion>
  13. <parent>
  14. <groupId>org.eclipse.jgit</groupId>
  15. <artifactId>org.eclipse.jgit-parent</artifactId>
  16. <version>5.13.0-SNAPSHOT</version>
  17. </parent>
  18. <artifactId>org.eclipse.jgit.lfs</artifactId>
  19. <name>JGit - Large File Storage</name>
  20. <description>
  21. JGit Large File Storage (LFS) implementation.
  22. </description>
  23. <properties>
  24. <translate-qualifier/>
  25. <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
  26. </properties>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.eclipse.jgit</groupId>
  30. <artifactId>org.eclipse.jgit</artifactId>
  31. <version>${project.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.google.code.gson</groupId>
  35. <artifactId>gson</artifactId>
  36. </dependency>
  37. </dependencies>
  38. <build>
  39. <sourceDirectory>src/</sourceDirectory>
  40. <resources>
  41. <resource>
  42. <directory>.</directory>
  43. <includes>
  44. <include>plugin.properties</include>
  45. <include>about.html</include>
  46. </includes>
  47. </resource>
  48. <resource>
  49. <directory>resources/</directory>
  50. </resource>
  51. </resources>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-antrun-plugin</artifactId>
  56. <executions>
  57. <execution>
  58. <id>translate-source-qualifier</id>
  59. <phase>generate-resources</phase>
  60. <configuration>
  61. <target>
  62. <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
  63. <replace file="${source-bundle-manifest}">
  64. <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
  65. </replace>
  66. </target>
  67. </configuration>
  68. <goals>
  69. <goal>run</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-source-plugin</artifactId>
  77. <inherited>true</inherited>
  78. <executions>
  79. <execution>
  80. <id>attach-sources</id>
  81. <phase>process-classes</phase>
  82. <goals>
  83. <goal>jar</goal>
  84. </goals>
  85. <configuration>
  86. <archive>
  87. <manifestFile>${source-bundle-manifest}</manifestFile>
  88. </archive>
  89. </configuration>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. <plugin>
  94. <artifactId>maven-jar-plugin</artifactId>
  95. <configuration>
  96. <archive>
  97. <manifestFile>${bundle-manifest}</manifestFile>
  98. </archive>
  99. </configuration>
  100. </plugin>
  101. </plugins>
  102. </build>
  103. </project>