xref: /JGit/org.eclipse.jgit.lfs.server/pom.xml (revision 27f1fb668f09bccf7c506f51f16d70d04ec8a240)
13bae524fSMatthias Sohn<?xml version="1.0" encoding="UTF-8"?>
23bae524fSMatthias Sohn<!--
33bae524fSMatthias Sohn   Copyright (C) 2015, Matthias Sohn <matthias.sohn@sap.com>
43bae524fSMatthias Sohn   and other copyright owners as documented in the project's IP log.
53bae524fSMatthias Sohn
63bae524fSMatthias Sohn   This program and the accompanying materials are made available
73bae524fSMatthias Sohn   under the terms of the Eclipse Distribution License v1.0 which
83bae524fSMatthias Sohn   accompanies this distribution, is reproduced below, and is
93bae524fSMatthias Sohn   available at http://www.eclipse.org/org/documents/edl-v10.php
103bae524fSMatthias Sohn
113bae524fSMatthias Sohn   All rights reserved.
123bae524fSMatthias Sohn
133bae524fSMatthias Sohn   Redistribution and use in source and binary forms, with or
143bae524fSMatthias Sohn   without modification, are permitted provided that the following
153bae524fSMatthias Sohn   conditions are met:
163bae524fSMatthias Sohn
173bae524fSMatthias Sohn   - Redistributions of source code must retain the above copyright
183bae524fSMatthias Sohn     notice, this list of conditions and the following disclaimer.
193bae524fSMatthias Sohn
203bae524fSMatthias Sohn   - Redistributions in binary form must reproduce the above
213bae524fSMatthias Sohn     copyright notice, this list of conditions and the following
223bae524fSMatthias Sohn     disclaimer in the documentation and/or other materials provided
233bae524fSMatthias Sohn     with the distribution.
243bae524fSMatthias Sohn
253bae524fSMatthias Sohn   - Neither the name of the Eclipse Foundation, Inc. nor the
263bae524fSMatthias Sohn     names of its contributors may be used to endorse or promote
273bae524fSMatthias Sohn     products derived from this software without specific prior
283bae524fSMatthias Sohn     written permission.
293bae524fSMatthias Sohn
303bae524fSMatthias Sohn   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
313bae524fSMatthias Sohn   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
323bae524fSMatthias Sohn   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
333bae524fSMatthias Sohn   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
343bae524fSMatthias Sohn   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
353bae524fSMatthias Sohn   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
363bae524fSMatthias Sohn   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
373bae524fSMatthias Sohn   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
383bae524fSMatthias Sohn   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
393bae524fSMatthias Sohn   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
403bae524fSMatthias Sohn   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
413bae524fSMatthias Sohn   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
423bae524fSMatthias Sohn   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
433bae524fSMatthias Sohn-->
443bae524fSMatthias Sohn
453bae524fSMatthias Sohn<project xmlns="http://maven.apache.org/POM/4.0.0"
463bae524fSMatthias Sohn    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
473bae524fSMatthias Sohn    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
483bae524fSMatthias Sohn  <modelVersion>4.0.0</modelVersion>
493bae524fSMatthias Sohn
503bae524fSMatthias Sohn  <parent>
513bae524fSMatthias Sohn    <groupId>org.eclipse.jgit</groupId>
523bae524fSMatthias Sohn    <artifactId>org.eclipse.jgit-parent</artifactId>
5390107d53SMatthias Sohn    <version>5.4.0-SNAPSHOT</version>
543bae524fSMatthias Sohn  </parent>
553bae524fSMatthias Sohn
563bae524fSMatthias Sohn  <artifactId>org.eclipse.jgit.lfs.server</artifactId>
573bae524fSMatthias Sohn  <name>JGit - Large File Storage Server</name>
583bae524fSMatthias Sohn
593bae524fSMatthias Sohn  <description>
603bae524fSMatthias Sohn    JGit Large File Storage Server implementation.
613bae524fSMatthias Sohn  </description>
623bae524fSMatthias Sohn
633bae524fSMatthias Sohn  <properties>
643bae524fSMatthias Sohn    <translate-qualifier/>
65*27f1fb66SMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
663bae524fSMatthias Sohn  </properties>
673bae524fSMatthias Sohn
683bae524fSMatthias Sohn  <dependencies>
693bae524fSMatthias Sohn    <dependency>
703bae524fSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
713bae524fSMatthias Sohn      <artifactId>org.eclipse.jgit</artifactId>
723bae524fSMatthias Sohn      <version>${project.version}</version>
733bae524fSMatthias Sohn    </dependency>
743bae524fSMatthias Sohn
753bae524fSMatthias Sohn    <dependency>
763bae524fSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
773bae524fSMatthias Sohn      <artifactId>org.eclipse.jgit.lfs</artifactId>
783bae524fSMatthias Sohn      <version>${project.version}</version>
793bae524fSMatthias Sohn    </dependency>
803bae524fSMatthias Sohn
813bae524fSMatthias Sohn    <dependency>
82f496177aSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
83f496177aSMatthias Sohn      <artifactId>org.eclipse.jgit.http.apache</artifactId>
84f496177aSMatthias Sohn      <version>${project.version}</version>
85f496177aSMatthias Sohn    </dependency>
86f496177aSMatthias Sohn
87f496177aSMatthias Sohn    <dependency>
883bae524fSMatthias Sohn      <groupId>javax.servlet</groupId>
893bae524fSMatthias Sohn      <artifactId>javax.servlet-api</artifactId>
903bae524fSMatthias Sohn      <scope>provided</scope>
913bae524fSMatthias Sohn    </dependency>
923bae524fSMatthias Sohn
933bae524fSMatthias Sohn    <dependency>
943bae524fSMatthias Sohn      <groupId>com.google.code.gson</groupId>
953bae524fSMatthias Sohn      <artifactId>gson</artifactId>
963bae524fSMatthias Sohn    </dependency>
973bae524fSMatthias Sohn  </dependencies>
983bae524fSMatthias Sohn
993bae524fSMatthias Sohn  <build>
1003bae524fSMatthias Sohn    <sourceDirectory>src/</sourceDirectory>
1013bae524fSMatthias Sohn
1023bae524fSMatthias Sohn    <resources>
1033bae524fSMatthias Sohn      <resource>
1043bae524fSMatthias Sohn        <directory>.</directory>
1053bae524fSMatthias Sohn        <includes>
1063bae524fSMatthias Sohn          <include>plugin.properties</include>
1073bae524fSMatthias Sohn          <include>about.html</include>
1083bae524fSMatthias Sohn        </includes>
1093bae524fSMatthias Sohn      </resource>
1103bae524fSMatthias Sohn      <resource>
1113bae524fSMatthias Sohn        <directory>resources/</directory>
1123bae524fSMatthias Sohn      </resource>
1133bae524fSMatthias Sohn    </resources>
1143bae524fSMatthias Sohn
1153bae524fSMatthias Sohn    <plugins>
1163bae524fSMatthias Sohn      <plugin>
1173bae524fSMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
118*27f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
119*27f1fb66SMatthias Sohn        <executions>
120*27f1fb66SMatthias Sohn          <execution>
121*27f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
122*27f1fb66SMatthias Sohn            <phase>generate-resources</phase>
123*27f1fb66SMatthias Sohn            <configuration>
124*27f1fb66SMatthias Sohn              <target>
125*27f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
126*27f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
127*27f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
128*27f1fb66SMatthias Sohn                </replace>
129*27f1fb66SMatthias Sohn              </target>
130*27f1fb66SMatthias Sohn            </configuration>
131*27f1fb66SMatthias Sohn            <goals>
132*27f1fb66SMatthias Sohn              <goal>run</goal>
133*27f1fb66SMatthias Sohn            </goals>
134*27f1fb66SMatthias Sohn          </execution>
135*27f1fb66SMatthias Sohn        </executions>
136*27f1fb66SMatthias Sohn      </plugin>
137*27f1fb66SMatthias Sohn
138*27f1fb66SMatthias Sohn      <plugin>
139*27f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
1403bae524fSMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
1413bae524fSMatthias Sohn        <inherited>true</inherited>
1423bae524fSMatthias Sohn        <executions>
1433bae524fSMatthias Sohn          <execution>
1443bae524fSMatthias Sohn            <id>attach-sources</id>
1453bae524fSMatthias Sohn            <phase>process-classes</phase>
1463bae524fSMatthias Sohn            <goals>
1473bae524fSMatthias Sohn              <goal>jar</goal>
1483bae524fSMatthias Sohn            </goals>
1493bae524fSMatthias Sohn            <configuration>
1503bae524fSMatthias Sohn              <archive>
1513bae524fSMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
1523bae524fSMatthias Sohn              </archive>
1533bae524fSMatthias Sohn            </configuration>
1543bae524fSMatthias Sohn          </execution>
1553bae524fSMatthias Sohn        </executions>
1563bae524fSMatthias Sohn      </plugin>
1573bae524fSMatthias Sohn
1583bae524fSMatthias Sohn      <plugin>
1593bae524fSMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
1603bae524fSMatthias Sohn        <configuration>
1613bae524fSMatthias Sohn          <archive>
1623bae524fSMatthias Sohn            <manifestFile>${bundle-manifest}</manifestFile>
1633bae524fSMatthias Sohn          </archive>
1643bae524fSMatthias Sohn        </configuration>
1653bae524fSMatthias Sohn      </plugin>
1663bae524fSMatthias Sohn    </plugins>
1673bae524fSMatthias Sohn  </build>
1683bae524fSMatthias Sohn</project>
169