Matthias Sohn | 3bae524 | 2015-12-22 16:11:43 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Matthias Sohn | 5c5f7c6 | 2020-01-04 00:50:50 +0100 | [diff] [blame] | 3 | Copyright (C) 2015, Matthias Sohn <matthias.sohn@sap.com> and others |
Matthias Sohn | 3bae524 | 2015-12-22 16:11:43 +0100 | [diff] [blame] | 4 | |
Matthias Sohn | 5c5f7c6 | 2020-01-04 00:50:50 +0100 | [diff] [blame] | 5 | This program and the accompanying materials are made available under the |
| 6 | terms of the Eclipse Distribution License v. 1.0 which is available at |
| 7 | http://www.eclipse.org/org/documents/edl-v10.php. |
Matthias Sohn | 3bae524 | 2015-12-22 16:11:43 +0100 | [diff] [blame] | 8 | |
Matthias Sohn | 5c5f7c6 | 2020-01-04 00:50:50 +0100 | [diff] [blame] | 9 | SPDX-License-Identifier: BSD-3-Clause |
Matthias Sohn | 3bae524 | 2015-12-22 16:11:43 +0100 | [diff] [blame] | 10 | --> |
| 11 | |
| 12 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 13 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 14 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 15 | <modelVersion>4.0.0</modelVersion> |
| 16 | |
| 17 | <parent> |
| 18 | <groupId>org.eclipse.jgit</groupId> |
| 19 | <artifactId>org.eclipse.jgit-parent</artifactId> |
Matthias Sohn | 7818c8a | 2024-08-28 01:50:51 +0200 | [diff] [blame] | 20 | <version>7.0.0-SNAPSHOT</version> |
Matthias Sohn | 3bae524 | 2015-12-22 16:11:43 +0100 | [diff] [blame] | 21 | </parent> |
| 22 | |
| 23 | <artifactId>org.eclipse.jgit.lfs.server</artifactId> |
| 24 | <name>JGit - Large File Storage Server</name> |
| 25 | |
| 26 | <description> |
| 27 | JGit Large File Storage Server implementation. |
| 28 | </description> |
| 29 | |
| 30 | <properties> |
| 31 | <translate-qualifier/> |
Matthias Sohn | 27f1fb6 | 2019-04-01 01:30:44 +0200 | [diff] [blame] | 32 | <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest> |
Matthias Sohn | 3bae524 | 2015-12-22 16:11:43 +0100 | [diff] [blame] | 33 | </properties> |
| 34 | |
| 35 | <dependencies> |
| 36 | <dependency> |
| 37 | <groupId>org.eclipse.jgit</groupId> |
| 38 | <artifactId>org.eclipse.jgit</artifactId> |
| 39 | <version>${project.version}</version> |
| 40 | </dependency> |
| 41 | |
| 42 | <dependency> |
| 43 | <groupId>org.eclipse.jgit</groupId> |
| 44 | <artifactId>org.eclipse.jgit.lfs</artifactId> |
| 45 | <version>${project.version}</version> |
| 46 | </dependency> |
| 47 | |
| 48 | <dependency> |
Matthias Sohn | f496177 | 2016-02-03 11:34:51 +0100 | [diff] [blame] | 49 | <groupId>org.eclipse.jgit</groupId> |
| 50 | <artifactId>org.eclipse.jgit.http.apache</artifactId> |
| 51 | <version>${project.version}</version> |
| 52 | </dependency> |
| 53 | |
| 54 | <dependency> |
Matthias Sohn | 93e3147 | 2023-04-30 23:32:50 +0200 | [diff] [blame] | 55 | <groupId>jakarta.servlet</groupId> |
| 56 | <artifactId>jakarta.servlet-api</artifactId> |
Matthias Sohn | 3bae524 | 2015-12-22 16:11:43 +0100 | [diff] [blame] | 57 | <scope>provided</scope> |
| 58 | </dependency> |
| 59 | |
| 60 | <dependency> |
| 61 | <groupId>com.google.code.gson</groupId> |
| 62 | <artifactId>gson</artifactId> |
| 63 | </dependency> |
| 64 | </dependencies> |
| 65 | |
| 66 | <build> |
| 67 | <sourceDirectory>src/</sourceDirectory> |
| 68 | |
| 69 | <resources> |
| 70 | <resource> |
| 71 | <directory>.</directory> |
| 72 | <includes> |
| 73 | <include>plugin.properties</include> |
| 74 | <include>about.html</include> |
| 75 | </includes> |
| 76 | </resource> |
| 77 | <resource> |
| 78 | <directory>resources/</directory> |
| 79 | </resource> |
| 80 | </resources> |
| 81 | |
| 82 | <plugins> |
| 83 | <plugin> |
| 84 | <groupId>org.apache.maven.plugins</groupId> |
Matthias Sohn | 27f1fb6 | 2019-04-01 01:30:44 +0200 | [diff] [blame] | 85 | <artifactId>maven-antrun-plugin</artifactId> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <id>translate-source-qualifier</id> |
| 89 | <phase>generate-resources</phase> |
| 90 | <configuration> |
| 91 | <target> |
| 92 | <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/> |
| 93 | <replace file="${source-bundle-manifest}"> |
Matthias Sohn | 6007371 | 2023-10-06 01:10:40 +0200 | [diff] [blame] | 94 | <replacefilter token=".qualifier" value=".${commit.time.version}"/> |
Matthias Sohn | 27f1fb6 | 2019-04-01 01:30:44 +0200 | [diff] [blame] | 95 | </replace> |
| 96 | </target> |
| 97 | </configuration> |
| 98 | <goals> |
| 99 | <goal>run</goal> |
| 100 | </goals> |
| 101 | </execution> |
| 102 | </executions> |
| 103 | </plugin> |
| 104 | |
| 105 | <plugin> |
| 106 | <groupId>org.apache.maven.plugins</groupId> |
Matthias Sohn | 3bae524 | 2015-12-22 16:11:43 +0100 | [diff] [blame] | 107 | <artifactId>maven-source-plugin</artifactId> |
| 108 | <inherited>true</inherited> |
| 109 | <executions> |
| 110 | <execution> |
| 111 | <id>attach-sources</id> |
| 112 | <phase>process-classes</phase> |
| 113 | <goals> |
| 114 | <goal>jar</goal> |
| 115 | </goals> |
| 116 | <configuration> |
| 117 | <archive> |
| 118 | <manifestFile>${source-bundle-manifest}</manifestFile> |
| 119 | </archive> |
| 120 | </configuration> |
| 121 | </execution> |
| 122 | </executions> |
| 123 | </plugin> |
| 124 | |
| 125 | <plugin> |
| 126 | <artifactId>maven-jar-plugin</artifactId> |
| 127 | <configuration> |
| 128 | <archive> |
| 129 | <manifestFile>${bundle-manifest}</manifestFile> |
| 130 | </archive> |
| 131 | </configuration> |
| 132 | </plugin> |
Matthias Sohn | 3bae524 | 2015-12-22 16:11:43 +0100 | [diff] [blame] | 133 | </plugins> |
| 134 | </build> |
Matthias Sohn | 3bae524 | 2015-12-22 16:11:43 +0100 | [diff] [blame] | 135 | </project> |