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.3KB

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