blob: 3fa460d6c93b5fdc6de3809f9b2cdc612bab008c [file] [log] [blame]
Matthias Sohn3bae5242015-12-22 16:11:43 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (C) 2015, Matthias Sohn <matthias.sohn@sap.com>
4 and other copyright owners as documented in the project's IP log.
5
6 This program and the accompanying materials are made available
7 under the terms of the Eclipse Distribution License v1.0 which
8 accompanies this distribution, is reproduced below, and is
9 available at http://www.eclipse.org/org/documents/edl-v10.php
10
11 All rights reserved.
12
13 Redistribution and use in source and binary forms, with or
14 without modification, are permitted provided that the following
15 conditions are met:
16
17 - Redistributions of source code must retain the above copyright
18 notice, this list of conditions and the following disclaimer.
19
20 - Redistributions in binary form must reproduce the above
21 copyright notice, this list of conditions and the following
22 disclaimer in the documentation and/or other materials provided
23 with the distribution.
24
25 - Neither the name of the Eclipse Foundation, Inc. nor the
26 names of its contributors may be used to endorse or promote
27 products derived from this software without specific prior
28 written permission.
29
30 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
31 CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
32 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
33 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
35 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
36 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
37 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
42 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43-->
44
45<project xmlns="http://maven.apache.org/POM/4.0.0"
46 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
47 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
48 <modelVersion>4.0.0</modelVersion>
49
50 <parent>
51 <groupId>org.eclipse.jgit</groupId>
52 <artifactId>org.eclipse.jgit-parent</artifactId>
Matthias Sohn90107d52019-03-07 00:34:14 +010053 <version>5.4.0-SNAPSHOT</version>
Matthias Sohn3bae5242015-12-22 16:11:43 +010054 </parent>
55
56 <artifactId>org.eclipse.jgit.lfs.server</artifactId>
57 <name>JGit - Large File Storage Server</name>
58
59 <description>
60 JGit Large File Storage Server implementation.
61 </description>
62
63 <properties>
64 <translate-qualifier/>
Matthias Sohn27f1fb62019-04-01 01:30:44 +020065 <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
Matthias Sohn3bae5242015-12-22 16:11:43 +010066 </properties>
67
68 <dependencies>
69 <dependency>
70 <groupId>org.eclipse.jgit</groupId>
71 <artifactId>org.eclipse.jgit</artifactId>
72 <version>${project.version}</version>
73 </dependency>
74
75 <dependency>
76 <groupId>org.eclipse.jgit</groupId>
77 <artifactId>org.eclipse.jgit.lfs</artifactId>
78 <version>${project.version}</version>
79 </dependency>
80
81 <dependency>
Matthias Sohnf4961772016-02-03 11:34:51 +010082 <groupId>org.eclipse.jgit</groupId>
83 <artifactId>org.eclipse.jgit.http.apache</artifactId>
84 <version>${project.version}</version>
85 </dependency>
86
87 <dependency>
Matthias Sohn3bae5242015-12-22 16:11:43 +010088 <groupId>javax.servlet</groupId>
89 <artifactId>javax.servlet-api</artifactId>
90 <scope>provided</scope>
91 </dependency>
92
93 <dependency>
94 <groupId>com.google.code.gson</groupId>
95 <artifactId>gson</artifactId>
96 </dependency>
97 </dependencies>
98
99 <build>
100 <sourceDirectory>src/</sourceDirectory>
101
102 <resources>
103 <resource>
104 <directory>.</directory>
105 <includes>
106 <include>plugin.properties</include>
107 <include>about.html</include>
108 </includes>
109 </resource>
110 <resource>
111 <directory>resources/</directory>
112 </resource>
113 </resources>
114
115 <plugins>
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
Matthias Sohn27f1fb62019-04-01 01:30:44 +0200118 <artifactId>maven-antrun-plugin</artifactId>
119 <executions>
120 <execution>
121 <id>translate-source-qualifier</id>
122 <phase>generate-resources</phase>
123 <configuration>
124 <target>
125 <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
126 <replace file="${source-bundle-manifest}">
127 <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
128 </replace>
129 </target>
130 </configuration>
131 <goals>
132 <goal>run</goal>
133 </goals>
134 </execution>
135 </executions>
136 </plugin>
137
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
Matthias Sohn3bae5242015-12-22 16:11:43 +0100140 <artifactId>maven-source-plugin</artifactId>
141 <inherited>true</inherited>
142 <executions>
143 <execution>
144 <id>attach-sources</id>
145 <phase>process-classes</phase>
146 <goals>
147 <goal>jar</goal>
148 </goals>
149 <configuration>
150 <archive>
151 <manifestFile>${source-bundle-manifest}</manifestFile>
152 </archive>
153 </configuration>
154 </execution>
155 </executions>
156 </plugin>
157
158 <plugin>
159 <artifactId>maven-jar-plugin</artifactId>
160 <configuration>
161 <archive>
162 <manifestFile>${bundle-manifest}</manifestFile>
163 </archive>
164 </configuration>
165 </plugin>
Matthias Sohn3bae5242015-12-22 16:11:43 +0100166 </plugins>
167 </build>
Matthias Sohn3bae5242015-12-22 16:11:43 +0100168</project>