xref: /JGit/org.eclipse.jgit.pgm/pom.xml (revision 76b3781f4b9d9bce83ce81886851b90e486c34fb)
1dad52baaSShawn O. Pearce<?xml version="1.0" encoding="UTF-8"?>
2dad52baaSShawn O. Pearce<!--
31e48c338SShawn O. Pearce   Copyright (C) 2009-2010, Google Inc.
4dad52baaSShawn O. Pearce   and other copyright owners as documented in the project's IP log.
5dad52baaSShawn O. Pearce
6dad52baaSShawn O. Pearce   This program and the accompanying materials are made available
7dad52baaSShawn O. Pearce   under the terms of the Eclipse Distribution License v1.0 which
8dad52baaSShawn O. Pearce   accompanies this distribution, is reproduced below, and is
9dad52baaSShawn O. Pearce   available at http://www.eclipse.org/org/documents/edl-v10.php
10dad52baaSShawn O. Pearce
11dad52baaSShawn O. Pearce   All rights reserved.
12dad52baaSShawn O. Pearce
13dad52baaSShawn O. Pearce   Redistribution and use in source and binary forms, with or
14dad52baaSShawn O. Pearce   without modification, are permitted provided that the following
15dad52baaSShawn O. Pearce   conditions are met:
16dad52baaSShawn O. Pearce
17dad52baaSShawn O. Pearce   - Redistributions of source code must retain the above copyright
18dad52baaSShawn O. Pearce     notice, this list of conditions and the following disclaimer.
19dad52baaSShawn O. Pearce
20dad52baaSShawn O. Pearce   - Redistributions in binary form must reproduce the above
21dad52baaSShawn O. Pearce     copyright notice, this list of conditions and the following
22dad52baaSShawn O. Pearce     disclaimer in the documentation and/or other materials provided
23dad52baaSShawn O. Pearce     with the distribution.
24dad52baaSShawn O. Pearce
25dad52baaSShawn O. Pearce   - Neither the name of the Eclipse Foundation, Inc. nor the
26dad52baaSShawn O. Pearce     names of its contributors may be used to endorse or promote
27dad52baaSShawn O. Pearce     products derived from this software without specific prior
28dad52baaSShawn O. Pearce     written permission.
29dad52baaSShawn O. Pearce
30dad52baaSShawn O. Pearce   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
31dad52baaSShawn O. Pearce   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
32dad52baaSShawn O. Pearce   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
33dad52baaSShawn O. Pearce   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34dad52baaSShawn O. Pearce   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
35dad52baaSShawn O. Pearce   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
36dad52baaSShawn O. Pearce   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
37dad52baaSShawn O. Pearce   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38dad52baaSShawn O. Pearce   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39dad52baaSShawn O. Pearce   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40dad52baaSShawn O. Pearce   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41dad52baaSShawn O. Pearce   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
42dad52baaSShawn O. Pearce   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43dad52baaSShawn O. Pearce-->
44dad52baaSShawn O. Pearce
45dad52baaSShawn O. Pearce<project xmlns="http://maven.apache.org/POM/4.0.0"
46dad52baaSShawn O. Pearce    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
47dad52baaSShawn O. Pearce    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
48dad52baaSShawn O. Pearce  <modelVersion>4.0.0</modelVersion>
49dad52baaSShawn O. Pearce
50dad52baaSShawn O. Pearce  <parent>
51dad52baaSShawn O. Pearce    <groupId>org.eclipse.jgit</groupId>
52fc5fc70eSShawn O. Pearce    <artifactId>org.eclipse.jgit-parent</artifactId>
53f3b7c2beSMatthias Sohn    <version>5.4.1-SNAPSHOT</version>
54dad52baaSShawn O. Pearce  </parent>
55dad52baaSShawn O. Pearce
56dad52baaSShawn O. Pearce  <artifactId>org.eclipse.jgit.pgm</artifactId>
57dad52baaSShawn O. Pearce  <name>JGit - Command Line Interface</name>
58dad52baaSShawn O. Pearce
59dad52baaSShawn O. Pearce  <description>
60dad52baaSShawn O. Pearce    Command line client tools built on top of JGit.
61dad52baaSShawn O. Pearce  </description>
62dad52baaSShawn O. Pearce
634974090dSMatthias Sohn  <properties>
644974090dSMatthias Sohn    <translate-qualifier/>
654974090dSMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
664974090dSMatthias Sohn  </properties>
674974090dSMatthias Sohn
68dad52baaSShawn O. Pearce  <dependencies>
69dad52baaSShawn O. Pearce    <dependency>
70dad52baaSShawn O. Pearce      <groupId>args4j</groupId>
71dad52baaSShawn O. Pearce      <artifactId>args4j</artifactId>
72dad52baaSShawn O. Pearce    </dependency>
73dad52baaSShawn O. Pearce
74dad52baaSShawn O. Pearce    <dependency>
751547eaf7SJonathan Nieder      <groupId>org.apache.commons</groupId>
761547eaf7SJonathan Nieder      <artifactId>commons-compress</artifactId>
771547eaf7SJonathan Nieder    </dependency>
781547eaf7SJonathan Nieder
791547eaf7SJonathan Nieder    <dependency>
8056276d05SJonathan Nieder      <groupId>org.eclipse.jgit</groupId>
8156276d05SJonathan Nieder      <artifactId>org.eclipse.jgit.archive</artifactId>
8256276d05SJonathan Nieder      <version>${project.version}</version>
83fc5fc70eSShawn O. Pearce    </dependency>
84dad52baaSShawn O. Pearce
85dad52baaSShawn O. Pearce    <dependency>
86dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
87dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit</artifactId>
881e48c338SShawn O. Pearce      <version>${project.version}</version>
891e48c338SShawn O. Pearce    </dependency>
901e48c338SShawn O. Pearce
911e48c338SShawn O. Pearce    <dependency>
921e48c338SShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
93dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit.ui</artifactId>
94fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
95dad52baaSShawn O. Pearce    </dependency>
96dd453f41SMatthias Sohn
97dd453f41SMatthias Sohn    <dependency>
982647d024SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
992647d024SMatthias Sohn      <artifactId>org.eclipse.jgit.http.apache</artifactId>
1002647d024SMatthias Sohn      <version>${project.version}</version>
1012647d024SMatthias Sohn    </dependency>
1022647d024SMatthias Sohn
1032647d024SMatthias Sohn    <dependency>
104a151190bSThomas Wolf      <groupId>org.eclipse.jgit</groupId>
105a151190bSThomas Wolf      <artifactId>org.eclipse.jgit.ssh.apache</artifactId>
106a151190bSThomas Wolf      <version>${project.version}</version>
107a151190bSThomas Wolf    </dependency>
108a151190bSThomas Wolf
109a151190bSThomas Wolf    <dependency>
1102647d024SMatthias Sohn      <groupId>org.apache.httpcomponents</groupId>
1112647d024SMatthias Sohn      <artifactId>httpclient</artifactId>
1122647d024SMatthias Sohn    </dependency>
1132647d024SMatthias Sohn
1142647d024SMatthias Sohn    <dependency>
115dd453f41SMatthias Sohn      <groupId>org.slf4j</groupId>
116dd453f41SMatthias Sohn      <artifactId>slf4j-api</artifactId>
117dd453f41SMatthias Sohn    </dependency>
118dd453f41SMatthias Sohn
119dd453f41SMatthias Sohn    <dependency>
120dd453f41SMatthias Sohn      <groupId>org.slf4j</groupId>
121dd453f41SMatthias Sohn      <artifactId>slf4j-log4j12</artifactId>
122dd453f41SMatthias Sohn    </dependency>
123dd453f41SMatthias Sohn
124dd453f41SMatthias Sohn    <dependency>
125dd453f41SMatthias Sohn      <groupId>log4j</groupId>
126dd453f41SMatthias Sohn      <artifactId>log4j</artifactId>
127dd453f41SMatthias Sohn    </dependency>
1283bae524fSMatthias Sohn
1293bae524fSMatthias Sohn    <dependency>
1303bae524fSMatthias Sohn      <groupId>org.eclipse.jetty</groupId>
1313bae524fSMatthias Sohn      <artifactId>jetty-servlet</artifactId>
1323bae524fSMatthias Sohn    </dependency>
1333bae524fSMatthias Sohn
1343bae524fSMatthias Sohn    <dependency>
1353bae524fSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
1363bae524fSMatthias Sohn      <artifactId>org.eclipse.jgit.lfs</artifactId>
1373bae524fSMatthias Sohn      <version>${project.version}</version>
1383bae524fSMatthias Sohn    </dependency>
1393bae524fSMatthias Sohn
1403bae524fSMatthias Sohn    <dependency>
1413bae524fSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
1423bae524fSMatthias Sohn      <artifactId>org.eclipse.jgit.lfs.server</artifactId>
1433bae524fSMatthias Sohn      <version>${project.version}</version>
1443bae524fSMatthias Sohn    </dependency>
145*76b3781fSMatthias Sohn
146*76b3781fSMatthias Sohn    <dependency>
147*76b3781fSMatthias Sohn      <groupId>org.tukaani</groupId>
148*76b3781fSMatthias Sohn      <artifactId>xz</artifactId>
149*76b3781fSMatthias Sohn      <optional>true</optional>
150*76b3781fSMatthias Sohn    </dependency>
151dad52baaSShawn O. Pearce  </dependencies>
152dad52baaSShawn O. Pearce
153dad52baaSShawn O. Pearce  <build>
154dad52baaSShawn O. Pearce    <sourceDirectory>src/</sourceDirectory>
155dad52baaSShawn O. Pearce
156dad52baaSShawn O. Pearce    <resources>
157dad52baaSShawn O. Pearce      <resource>
158dad52baaSShawn O. Pearce        <directory>.</directory>
159dad52baaSShawn O. Pearce        <includes>
1604974090dSMatthias Sohn          <include>plugin.properties</include>
161dad52baaSShawn O. Pearce          <include>META-INF/services/org.eclipse.jgit.pgm.TextBuiltin</include>
162e1af16adSMatthias Sohn          <include>about.html</include>
163dad52baaSShawn O. Pearce        </includes>
164dad52baaSShawn O. Pearce      </resource>
165f3d8a8ecSSasa Zivkov      <resource>
166f3d8a8ecSSasa Zivkov        <directory>resources/</directory>
167f3d8a8ecSSasa Zivkov      </resource>
168dad52baaSShawn O. Pearce    </resources>
169dad52baaSShawn O. Pearce
170dad52baaSShawn O. Pearce    <plugins>
171dad52baaSShawn O. Pearce      <plugin>
1724974090dSMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
1734974090dSMatthias Sohn        <configuration>
1744974090dSMatthias Sohn          <archive>
1754974090dSMatthias Sohn            <manifestFile>${bundle-manifest}</manifestFile>
1764974090dSMatthias Sohn          </archive>
1774974090dSMatthias Sohn        </configuration>
1784974090dSMatthias Sohn      </plugin>
1794974090dSMatthias Sohn
1804974090dSMatthias Sohn      <plugin>
181137e91a4SMedha Bhargav Prabhala        <groupId>org.springframework.boot</groupId>
182137e91a4SMedha Bhargav Prabhala        <artifactId>spring-boot-maven-plugin</artifactId>
183dad52baaSShawn O. Pearce        <executions>
184dad52baaSShawn O. Pearce          <execution>
185dad52baaSShawn O. Pearce            <goals>
186137e91a4SMedha Bhargav Prabhala              <goal>repackage</goal>
187dad52baaSShawn O. Pearce            </goals>
188dad52baaSShawn O. Pearce            <configuration>
189dad52baaSShawn O. Pearce              <finalName>jgit-cli</finalName>
190137e91a4SMedha Bhargav Prabhala              <attach>false</attach>
191137e91a4SMedha Bhargav Prabhala              <mainClass>org.eclipse.jgit.pgm.Main</mainClass>
192137e91a4SMedha Bhargav Prabhala              <executable>true</executable>
193137e91a4SMedha Bhargav Prabhala              <embeddedLaunchScript>jgit.sh</embeddedLaunchScript>
194dad52baaSShawn O. Pearce            </configuration>
195dad52baaSShawn O. Pearce          </execution>
196dad52baaSShawn O. Pearce        </executions>
197dad52baaSShawn O. Pearce      </plugin>
198dad52baaSShawn O. Pearce
199dad52baaSShawn O. Pearce      <plugin>
200dad52baaSShawn O. Pearce        <groupId>org.apache.maven.plugins</groupId>
201dad52baaSShawn O. Pearce        <artifactId>maven-antrun-plugin</artifactId>
202dad52baaSShawn O. Pearce        <executions>
203dad52baaSShawn O. Pearce          <execution>
204dad52baaSShawn O. Pearce            <id>create_jgit</id>
205dad52baaSShawn O. Pearce            <phase>package</phase>
206dad52baaSShawn O. Pearce            <configuration>
2075c788e2cSAlexander Kurtakov              <target>
208137e91a4SMedha Bhargav Prabhala                <move
209137e91a4SMedha Bhargav Prabhala                  file="${basedir}/target/jgit-cli.jar"
210137e91a4SMedha Bhargav Prabhala                  force="yes"
211137e91a4SMedha Bhargav Prabhala                  tofile="${basedir}/target/jgit" />
212137e91a4SMedha Bhargav Prabhala                <chmod
213137e91a4SMedha Bhargav Prabhala                  file="${basedir}/target/jgit"
214137e91a4SMedha Bhargav Prabhala                  perm="a+x" />
2155c788e2cSAlexander Kurtakov              </target>
216dad52baaSShawn O. Pearce            </configuration>
217dad52baaSShawn O. Pearce            <goals>
218dad52baaSShawn O. Pearce              <goal>run</goal>
219dad52baaSShawn O. Pearce            </goals>
220dad52baaSShawn O. Pearce          </execution>
2214974090dSMatthias Sohn          <execution>
2224974090dSMatthias Sohn            <id>translate-source-qualifier</id>
2234974090dSMatthias Sohn            <phase>generate-resources</phase>
2244974090dSMatthias Sohn            <configuration>
2255c788e2cSAlexander Kurtakov              <target>
2264974090dSMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
2274974090dSMatthias Sohn                <replace file="${source-bundle-manifest}">
2284974090dSMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
2294974090dSMatthias Sohn                </replace>
2305c788e2cSAlexander Kurtakov              </target>
2314974090dSMatthias Sohn            </configuration>
2324974090dSMatthias Sohn            <goals>
2334974090dSMatthias Sohn              <goal>run</goal>
2344974090dSMatthias Sohn            </goals>
2354974090dSMatthias Sohn          </execution>
2364974090dSMatthias Sohn        </executions>
2374974090dSMatthias Sohn      </plugin>
2384974090dSMatthias Sohn
2394974090dSMatthias Sohn      <plugin>
2404974090dSMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
2414974090dSMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
2424974090dSMatthias Sohn        <inherited>true</inherited>
2434974090dSMatthias Sohn        <executions>
2444974090dSMatthias Sohn          <execution>
2454974090dSMatthias Sohn            <id>attach-sources</id>
2464974090dSMatthias Sohn            <phase>process-classes</phase>
2474974090dSMatthias Sohn            <goals>
2484974090dSMatthias Sohn              <goal>jar</goal>
2494974090dSMatthias Sohn            </goals>
2504974090dSMatthias Sohn            <configuration>
2514974090dSMatthias Sohn              <archive>
2524974090dSMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
2534974090dSMatthias Sohn              </archive>
2544974090dSMatthias Sohn            </configuration>
2554974090dSMatthias Sohn          </execution>
256dad52baaSShawn O. Pearce        </executions>
257dad52baaSShawn O. Pearce      </plugin>
258dad52baaSShawn O. Pearce
259dad52baaSShawn O. Pearce      <plugin>
260dad52baaSShawn O. Pearce        <groupId>org.codehaus.mojo</groupId>
261dad52baaSShawn O. Pearce        <artifactId>build-helper-maven-plugin</artifactId>
262dad52baaSShawn O. Pearce        <executions>
263dad52baaSShawn O. Pearce          <execution>
264dad52baaSShawn O. Pearce            <id>attach_jgit</id>
265dad52baaSShawn O. Pearce            <phase>package</phase>
266dad52baaSShawn O. Pearce            <goals>
267dad52baaSShawn O. Pearce              <goal>attach-artifact</goal>
268dad52baaSShawn O. Pearce            </goals>
269dad52baaSShawn O. Pearce            <configuration>
270dad52baaSShawn O. Pearce              <artifacts>
271dad52baaSShawn O. Pearce                <artifact>
272dad52baaSShawn O. Pearce                  <file>${basedir}/target/jgit</file>
273dad52baaSShawn O. Pearce                  <type>sh</type>
274dad52baaSShawn O. Pearce                </artifact>
275dad52baaSShawn O. Pearce              </artifacts>
276dad52baaSShawn O. Pearce            </configuration>
277dad52baaSShawn O. Pearce          </execution>
278dad52baaSShawn O. Pearce        </executions>
279dad52baaSShawn O. Pearce      </plugin>
280dad52baaSShawn O. Pearce    </plugins>
281dad52baaSShawn O. Pearce  </build>
282dad52baaSShawn O. Pearce</project>
283