xref: /JGit/org.eclipse.jgit.lfs/pom.xml (revision f487a9eb2e4d3729ce282bc54f84ef74fec3e711)
1536db18cSMatthias Sohn<?xml version="1.0" encoding="UTF-8"?>
2536db18cSMatthias Sohn<!--
3536db18cSMatthias Sohn   Copyright (C) 2015, Matthias Sohn <matthias.sohn@sap.com>
4536db18cSMatthias Sohn   and other copyright owners as documented in the project's IP log.
5536db18cSMatthias Sohn
6536db18cSMatthias Sohn   This program and the accompanying materials are made available
7536db18cSMatthias Sohn   under the terms of the Eclipse Distribution License v1.0 which
8536db18cSMatthias Sohn   accompanies this distribution, is reproduced below, and is
9536db18cSMatthias Sohn   available at http://www.eclipse.org/org/documents/edl-v10.php
10536db18cSMatthias Sohn
11536db18cSMatthias Sohn   All rights reserved.
12536db18cSMatthias Sohn
13536db18cSMatthias Sohn   Redistribution and use in source and binary forms, with or
14536db18cSMatthias Sohn   without modification, are permitted provided that the following
15536db18cSMatthias Sohn   conditions are met:
16536db18cSMatthias Sohn
17536db18cSMatthias Sohn   - Redistributions of source code must retain the above copyright
18536db18cSMatthias Sohn     notice, this list of conditions and the following disclaimer.
19536db18cSMatthias Sohn
20536db18cSMatthias Sohn   - Redistributions in binary form must reproduce the above
21536db18cSMatthias Sohn     copyright notice, this list of conditions and the following
22536db18cSMatthias Sohn     disclaimer in the documentation and/or other materials provided
23536db18cSMatthias Sohn     with the distribution.
24536db18cSMatthias Sohn
25536db18cSMatthias Sohn   - Neither the name of the Eclipse Foundation, Inc. nor the
26536db18cSMatthias Sohn     names of its contributors may be used to endorse or promote
27536db18cSMatthias Sohn     products derived from this software without specific prior
28536db18cSMatthias Sohn     written permission.
29536db18cSMatthias Sohn
30536db18cSMatthias Sohn   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
31536db18cSMatthias Sohn   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
32536db18cSMatthias Sohn   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
33536db18cSMatthias Sohn   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34536db18cSMatthias Sohn   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
35536db18cSMatthias Sohn   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
36536db18cSMatthias Sohn   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
37536db18cSMatthias Sohn   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38536db18cSMatthias Sohn   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39536db18cSMatthias Sohn   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40536db18cSMatthias Sohn   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41536db18cSMatthias Sohn   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
42536db18cSMatthias Sohn   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43536db18cSMatthias Sohn-->
44536db18cSMatthias Sohn
45536db18cSMatthias Sohn<project xmlns="http://maven.apache.org/POM/4.0.0"
46536db18cSMatthias Sohn    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
47536db18cSMatthias Sohn    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
48536db18cSMatthias Sohn  <modelVersion>4.0.0</modelVersion>
49536db18cSMatthias Sohn
50536db18cSMatthias Sohn  <parent>
51536db18cSMatthias Sohn    <groupId>org.eclipse.jgit</groupId>
52536db18cSMatthias Sohn    <artifactId>org.eclipse.jgit-parent</artifactId>
53*f487a9ebSMatthias Sohn    <version>5.7.0-SNAPSHOT</version>
54536db18cSMatthias Sohn  </parent>
55536db18cSMatthias Sohn
56536db18cSMatthias Sohn  <artifactId>org.eclipse.jgit.lfs</artifactId>
57536db18cSMatthias Sohn  <name>JGit - Large File Storage</name>
58536db18cSMatthias Sohn
59536db18cSMatthias Sohn  <description>
60536db18cSMatthias Sohn    JGit Large File Storage (LFS) implementation.
61536db18cSMatthias Sohn  </description>
62536db18cSMatthias Sohn
63536db18cSMatthias Sohn  <properties>
64536db18cSMatthias Sohn    <translate-qualifier/>
6527f1fb66SMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
66536db18cSMatthias Sohn  </properties>
67536db18cSMatthias Sohn
68536db18cSMatthias Sohn  <dependencies>
69536db18cSMatthias Sohn    <dependency>
70536db18cSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
71536db18cSMatthias Sohn      <artifactId>org.eclipse.jgit</artifactId>
72536db18cSMatthias Sohn      <version>${project.version}</version>
73536db18cSMatthias Sohn    </dependency>
7494bcde66SMarkus Duft    <dependency>
7594bcde66SMarkus Duft      <groupId>com.google.code.gson</groupId>
7694bcde66SMarkus Duft      <artifactId>gson</artifactId>
7794bcde66SMarkus Duft    </dependency>
78536db18cSMatthias Sohn  </dependencies>
79536db18cSMatthias Sohn  <build>
80536db18cSMatthias Sohn    <sourceDirectory>src/</sourceDirectory>
81536db18cSMatthias Sohn
82536db18cSMatthias Sohn    <resources>
83536db18cSMatthias Sohn      <resource>
84536db18cSMatthias Sohn        <directory>.</directory>
85536db18cSMatthias Sohn        <includes>
86536db18cSMatthias Sohn          <include>plugin.properties</include>
87536db18cSMatthias Sohn          <include>about.html</include>
88536db18cSMatthias Sohn        </includes>
89536db18cSMatthias Sohn      </resource>
90536db18cSMatthias Sohn      <resource>
91536db18cSMatthias Sohn        <directory>resources/</directory>
92536db18cSMatthias Sohn      </resource>
93536db18cSMatthias Sohn    </resources>
94536db18cSMatthias Sohn
95536db18cSMatthias Sohn    <plugins>
96536db18cSMatthias Sohn      <plugin>
97536db18cSMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
9827f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
9927f1fb66SMatthias Sohn        <executions>
10027f1fb66SMatthias Sohn          <execution>
10127f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
10227f1fb66SMatthias Sohn            <phase>generate-resources</phase>
10327f1fb66SMatthias Sohn            <configuration>
10427f1fb66SMatthias Sohn              <target>
10527f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
10627f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
10727f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
10827f1fb66SMatthias Sohn                </replace>
10927f1fb66SMatthias Sohn              </target>
11027f1fb66SMatthias Sohn            </configuration>
11127f1fb66SMatthias Sohn            <goals>
11227f1fb66SMatthias Sohn              <goal>run</goal>
11327f1fb66SMatthias Sohn            </goals>
11427f1fb66SMatthias Sohn          </execution>
11527f1fb66SMatthias Sohn        </executions>
11627f1fb66SMatthias Sohn      </plugin>
11727f1fb66SMatthias Sohn
11827f1fb66SMatthias Sohn      <plugin>
11927f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
120536db18cSMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
121536db18cSMatthias Sohn        <inherited>true</inherited>
122536db18cSMatthias Sohn        <executions>
123536db18cSMatthias Sohn          <execution>
124536db18cSMatthias Sohn            <id>attach-sources</id>
125536db18cSMatthias Sohn            <phase>process-classes</phase>
126536db18cSMatthias Sohn            <goals>
127536db18cSMatthias Sohn              <goal>jar</goal>
128536db18cSMatthias Sohn            </goals>
129536db18cSMatthias Sohn            <configuration>
130536db18cSMatthias Sohn              <archive>
131536db18cSMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
132536db18cSMatthias Sohn              </archive>
133536db18cSMatthias Sohn            </configuration>
134536db18cSMatthias Sohn          </execution>
135536db18cSMatthias Sohn        </executions>
136536db18cSMatthias Sohn      </plugin>
137536db18cSMatthias Sohn
138536db18cSMatthias Sohn      <plugin>
139536db18cSMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
140536db18cSMatthias Sohn        <configuration>
141536db18cSMatthias Sohn          <archive>
142536db18cSMatthias Sohn            <manifestFile>${bundle-manifest}</manifestFile>
143536db18cSMatthias Sohn          </archive>
144536db18cSMatthias Sohn        </configuration>
145536db18cSMatthias Sohn      </plugin>
146536db18cSMatthias Sohn    </plugins>
147536db18cSMatthias Sohn  </build>
148536db18cSMatthias Sohn</project>
149