blob: befaa367de3132095fca36d53b1b26197db50714 [file] [log] [blame]
Matthias Sohn3bae5242015-12-22 16:11:43 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Matthias Sohn5c5f7c62020-01-04 00:50:50 +01003 Copyright (C) 2015, Matthias Sohn <matthias.sohn@sap.com> and others
Matthias Sohn3bae5242015-12-22 16:11:43 +01004
Matthias Sohn5c5f7c62020-01-04 00:50:50 +01005 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 Sohn3bae5242015-12-22 16:11:43 +01008
Matthias Sohn5c5f7c62020-01-04 00:50:50 +01009 SPDX-License-Identifier: BSD-3-Clause
Matthias Sohn3bae5242015-12-22 16:11:43 +010010-->
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 Sohn7818c8a2024-08-28 01:50:51 +020020 <version>7.0.0-SNAPSHOT</version>
Matthias Sohn3bae5242015-12-22 16:11:43 +010021 </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 Sohn27f1fb62019-04-01 01:30:44 +020032 <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
Matthias Sohn3bae5242015-12-22 16:11:43 +010033 </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 Sohnf4961772016-02-03 11:34:51 +010049 <groupId>org.eclipse.jgit</groupId>
50 <artifactId>org.eclipse.jgit.http.apache</artifactId>
51 <version>${project.version}</version>
52 </dependency>
53
54 <dependency>
Matthias Sohn93e31472023-04-30 23:32:50 +020055 <groupId>jakarta.servlet</groupId>
56 <artifactId>jakarta.servlet-api</artifactId>
Matthias Sohn3bae5242015-12-22 16:11:43 +010057 <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 Sohn27f1fb62019-04-01 01:30:44 +020085 <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 Sohn60073712023-10-06 01:10:40 +020094 <replacefilter token=".qualifier" value=".${commit.time.version}"/>
Matthias Sohn27f1fb62019-04-01 01:30:44 +020095 </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 Sohn3bae5242015-12-22 16:11:43 +0100107 <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 Sohn3bae5242015-12-22 16:11:43 +0100133 </plugins>
134 </build>
Matthias Sohn3bae5242015-12-22 16:11:43 +0100135</project>