xref: /JGit/org.eclipse.jgit.lfs/pom.xml (revision 1cbfea9ece03b40669377a7f858218f6994562ea)
1536db18cSMatthias Sohn<?xml version="1.0" encoding="UTF-8"?>
2536db18cSMatthias Sohn<!--
35c5f7c6bSMatthias Sohn  Copyright (C) 2015, Matthias Sohn <matthias.sohn@sap.com> and others
4536db18cSMatthias Sohn
55c5f7c6bSMatthias Sohn  This program and the accompanying materials are made available under the
65c5f7c6bSMatthias Sohn  terms of the Eclipse Distribution License v. 1.0 which is available at
75c5f7c6bSMatthias Sohn  http://www.eclipse.org/org/documents/edl-v10.php.
8536db18cSMatthias Sohn
95c5f7c6bSMatthias Sohn  SPDX-License-Identifier: BSD-3-Clause
10536db18cSMatthias Sohn-->
11536db18cSMatthias Sohn
12536db18cSMatthias Sohn<project xmlns="http://maven.apache.org/POM/4.0.0"
13536db18cSMatthias Sohn    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14536db18cSMatthias Sohn    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
15536db18cSMatthias Sohn  <modelVersion>4.0.0</modelVersion>
16536db18cSMatthias Sohn
17536db18cSMatthias Sohn  <parent>
18536db18cSMatthias Sohn    <groupId>org.eclipse.jgit</groupId>
19536db18cSMatthias Sohn    <artifactId>org.eclipse.jgit-parent</artifactId>
20*1cbfea9eSMatthias Sohn    <version>5.13.0-SNAPSHOT</version>
21536db18cSMatthias Sohn  </parent>
22536db18cSMatthias Sohn
23536db18cSMatthias Sohn  <artifactId>org.eclipse.jgit.lfs</artifactId>
24536db18cSMatthias Sohn  <name>JGit - Large File Storage</name>
25536db18cSMatthias Sohn
26536db18cSMatthias Sohn  <description>
27536db18cSMatthias Sohn    JGit Large File Storage (LFS) implementation.
28536db18cSMatthias Sohn  </description>
29536db18cSMatthias Sohn
30536db18cSMatthias Sohn  <properties>
31536db18cSMatthias Sohn    <translate-qualifier/>
3227f1fb66SMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
33536db18cSMatthias Sohn  </properties>
34536db18cSMatthias Sohn
35536db18cSMatthias Sohn  <dependencies>
36536db18cSMatthias Sohn    <dependency>
37536db18cSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
38536db18cSMatthias Sohn      <artifactId>org.eclipse.jgit</artifactId>
39536db18cSMatthias Sohn      <version>${project.version}</version>
40536db18cSMatthias Sohn    </dependency>
4194bcde66SMarkus Duft    <dependency>
4294bcde66SMarkus Duft      <groupId>com.google.code.gson</groupId>
4394bcde66SMarkus Duft      <artifactId>gson</artifactId>
4494bcde66SMarkus Duft    </dependency>
45536db18cSMatthias Sohn  </dependencies>
46536db18cSMatthias Sohn  <build>
47536db18cSMatthias Sohn    <sourceDirectory>src/</sourceDirectory>
48536db18cSMatthias Sohn
49536db18cSMatthias Sohn    <resources>
50536db18cSMatthias Sohn      <resource>
51536db18cSMatthias Sohn        <directory>.</directory>
52536db18cSMatthias Sohn        <includes>
53536db18cSMatthias Sohn          <include>plugin.properties</include>
54536db18cSMatthias Sohn          <include>about.html</include>
55536db18cSMatthias Sohn        </includes>
56536db18cSMatthias Sohn      </resource>
57536db18cSMatthias Sohn      <resource>
58536db18cSMatthias Sohn        <directory>resources/</directory>
59536db18cSMatthias Sohn      </resource>
60536db18cSMatthias Sohn    </resources>
61536db18cSMatthias Sohn
62536db18cSMatthias Sohn    <plugins>
63536db18cSMatthias Sohn      <plugin>
64536db18cSMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
6527f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
6627f1fb66SMatthias Sohn        <executions>
6727f1fb66SMatthias Sohn          <execution>
6827f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
6927f1fb66SMatthias Sohn            <phase>generate-resources</phase>
7027f1fb66SMatthias Sohn            <configuration>
7127f1fb66SMatthias Sohn              <target>
7227f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
7327f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
7427f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
7527f1fb66SMatthias Sohn                </replace>
7627f1fb66SMatthias Sohn              </target>
7727f1fb66SMatthias Sohn            </configuration>
7827f1fb66SMatthias Sohn            <goals>
7927f1fb66SMatthias Sohn              <goal>run</goal>
8027f1fb66SMatthias Sohn            </goals>
8127f1fb66SMatthias Sohn          </execution>
8227f1fb66SMatthias Sohn        </executions>
8327f1fb66SMatthias Sohn      </plugin>
8427f1fb66SMatthias Sohn
8527f1fb66SMatthias Sohn      <plugin>
8627f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
87536db18cSMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
88536db18cSMatthias Sohn        <inherited>true</inherited>
89536db18cSMatthias Sohn        <executions>
90536db18cSMatthias Sohn          <execution>
91536db18cSMatthias Sohn            <id>attach-sources</id>
92536db18cSMatthias Sohn            <phase>process-classes</phase>
93536db18cSMatthias Sohn            <goals>
94536db18cSMatthias Sohn              <goal>jar</goal>
95536db18cSMatthias Sohn            </goals>
96536db18cSMatthias Sohn            <configuration>
97536db18cSMatthias Sohn              <archive>
98536db18cSMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
99536db18cSMatthias Sohn              </archive>
100536db18cSMatthias Sohn            </configuration>
101536db18cSMatthias Sohn          </execution>
102536db18cSMatthias Sohn        </executions>
103536db18cSMatthias Sohn      </plugin>
104536db18cSMatthias Sohn
105536db18cSMatthias Sohn      <plugin>
106536db18cSMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
107536db18cSMatthias Sohn        <configuration>
108536db18cSMatthias Sohn          <archive>
109536db18cSMatthias Sohn            <manifestFile>${bundle-manifest}</manifestFile>
110536db18cSMatthias Sohn          </archive>
111536db18cSMatthias Sohn        </configuration>
112536db18cSMatthias Sohn      </plugin>
113536db18cSMatthias Sohn    </plugins>
114536db18cSMatthias Sohn  </build>
115536db18cSMatthias Sohn</project>
116