xref: /JGit/org.eclipse.jgit.pgm/pom.xml (revision 1cbfea9ece03b40669377a7f858218f6994562ea)
1dad52baaSShawn O. Pearce<?xml version="1.0" encoding="UTF-8"?>
2dad52baaSShawn O. Pearce<!--
35c5f7c6bSMatthias Sohn  Copyright (C) 2009-2010, Google Inc. and others
4dad52baaSShawn O. Pearce
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.
8dad52baaSShawn O. Pearce
95c5f7c6bSMatthias Sohn  SPDX-License-Identifier: BSD-3-Clause
10dad52baaSShawn O. Pearce-->
11dad52baaSShawn O. Pearce
12dad52baaSShawn O. Pearce<project xmlns="http://maven.apache.org/POM/4.0.0"
13dad52baaSShawn O. Pearce    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14dad52baaSShawn O. Pearce    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
15dad52baaSShawn O. Pearce  <modelVersion>4.0.0</modelVersion>
16dad52baaSShawn O. Pearce
17dad52baaSShawn O. Pearce  <parent>
18dad52baaSShawn O. Pearce    <groupId>org.eclipse.jgit</groupId>
19fc5fc70eSShawn O. Pearce    <artifactId>org.eclipse.jgit-parent</artifactId>
20*1cbfea9eSMatthias Sohn    <version>5.13.0-SNAPSHOT</version>
21dad52baaSShawn O. Pearce  </parent>
22dad52baaSShawn O. Pearce
23dad52baaSShawn O. Pearce  <artifactId>org.eclipse.jgit.pgm</artifactId>
24dad52baaSShawn O. Pearce  <name>JGit - Command Line Interface</name>
25dad52baaSShawn O. Pearce
26dad52baaSShawn O. Pearce  <description>
27dad52baaSShawn O. Pearce    Command line client tools built on top of JGit.
28dad52baaSShawn O. Pearce  </description>
29dad52baaSShawn O. Pearce
304974090dSMatthias Sohn  <properties>
314974090dSMatthias Sohn    <translate-qualifier/>
324974090dSMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
334974090dSMatthias Sohn  </properties>
344974090dSMatthias Sohn
35dad52baaSShawn O. Pearce  <dependencies>
36dad52baaSShawn O. Pearce    <dependency>
37dad52baaSShawn O. Pearce      <groupId>args4j</groupId>
38dad52baaSShawn O. Pearce      <artifactId>args4j</artifactId>
39dad52baaSShawn O. Pearce    </dependency>
40dad52baaSShawn O. Pearce
41dad52baaSShawn O. Pearce    <dependency>
421547eaf7SJonathan Nieder      <groupId>org.apache.commons</groupId>
431547eaf7SJonathan Nieder      <artifactId>commons-compress</artifactId>
441547eaf7SJonathan Nieder    </dependency>
451547eaf7SJonathan Nieder
461547eaf7SJonathan Nieder    <dependency>
4756276d05SJonathan Nieder      <groupId>org.eclipse.jgit</groupId>
4856276d05SJonathan Nieder      <artifactId>org.eclipse.jgit.archive</artifactId>
4956276d05SJonathan Nieder      <version>${project.version}</version>
50fc5fc70eSShawn O. Pearce    </dependency>
51dad52baaSShawn O. Pearce
52dad52baaSShawn O. Pearce    <dependency>
53dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
54dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit</artifactId>
551e48c338SShawn O. Pearce      <version>${project.version}</version>
561e48c338SShawn O. Pearce    </dependency>
571e48c338SShawn O. Pearce
581e48c338SShawn O. Pearce    <dependency>
591e48c338SShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
60dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit.ui</artifactId>
61fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
62dad52baaSShawn O. Pearce    </dependency>
63dd453f41SMatthias Sohn
64dd453f41SMatthias Sohn    <dependency>
652647d024SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
6677848d63SMatthias Sohn      <artifactId>org.eclipse.jgit.gpg.bc</artifactId>
6777848d63SMatthias Sohn      <version>${project.version}</version>
6877848d63SMatthias Sohn    </dependency>
6977848d63SMatthias Sohn
7077848d63SMatthias Sohn    <dependency>
7177848d63SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
722647d024SMatthias Sohn      <artifactId>org.eclipse.jgit.http.apache</artifactId>
732647d024SMatthias Sohn      <version>${project.version}</version>
742647d024SMatthias Sohn    </dependency>
752647d024SMatthias Sohn
762647d024SMatthias Sohn    <dependency>
77a151190bSThomas Wolf      <groupId>org.eclipse.jgit</groupId>
78a151190bSThomas Wolf      <artifactId>org.eclipse.jgit.ssh.apache</artifactId>
79a151190bSThomas Wolf      <version>${project.version}</version>
80a151190bSThomas Wolf    </dependency>
81a151190bSThomas Wolf
82a151190bSThomas Wolf    <dependency>
838d2d6836SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
848d2d6836SMatthias Sohn      <artifactId>org.eclipse.jgit.ssh.jsch</artifactId>
858d2d6836SMatthias Sohn      <version>${project.version}</version>
868d2d6836SMatthias Sohn    </dependency>
878d2d6836SMatthias Sohn
888d2d6836SMatthias Sohn    <dependency>
892647d024SMatthias Sohn      <groupId>org.apache.httpcomponents</groupId>
902647d024SMatthias Sohn      <artifactId>httpclient</artifactId>
912647d024SMatthias Sohn    </dependency>
922647d024SMatthias Sohn
932647d024SMatthias Sohn    <dependency>
94dd453f41SMatthias Sohn      <groupId>org.slf4j</groupId>
95dd453f41SMatthias Sohn      <artifactId>slf4j-api</artifactId>
96dd453f41SMatthias Sohn    </dependency>
97dd453f41SMatthias Sohn
98dd453f41SMatthias Sohn    <dependency>
99dd453f41SMatthias Sohn      <groupId>org.slf4j</groupId>
100dd453f41SMatthias Sohn      <artifactId>slf4j-log4j12</artifactId>
101dd453f41SMatthias Sohn    </dependency>
102dd453f41SMatthias Sohn
103dd453f41SMatthias Sohn    <dependency>
104dd453f41SMatthias Sohn      <groupId>log4j</groupId>
105dd453f41SMatthias Sohn      <artifactId>log4j</artifactId>
106dd453f41SMatthias Sohn    </dependency>
1073bae524fSMatthias Sohn
1083bae524fSMatthias Sohn    <dependency>
1093bae524fSMatthias Sohn      <groupId>org.eclipse.jetty</groupId>
1103bae524fSMatthias Sohn      <artifactId>jetty-servlet</artifactId>
1113bae524fSMatthias Sohn    </dependency>
1123bae524fSMatthias Sohn
1133bae524fSMatthias Sohn    <dependency>
1143bae524fSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
1153bae524fSMatthias Sohn      <artifactId>org.eclipse.jgit.lfs</artifactId>
1163bae524fSMatthias Sohn      <version>${project.version}</version>
1173bae524fSMatthias Sohn    </dependency>
1183bae524fSMatthias Sohn
1193bae524fSMatthias Sohn    <dependency>
1203bae524fSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
1213bae524fSMatthias Sohn      <artifactId>org.eclipse.jgit.lfs.server</artifactId>
1223bae524fSMatthias Sohn      <version>${project.version}</version>
1233bae524fSMatthias Sohn    </dependency>
12476b3781fSMatthias Sohn
12576b3781fSMatthias Sohn    <dependency>
12676b3781fSMatthias Sohn      <groupId>org.tukaani</groupId>
12776b3781fSMatthias Sohn      <artifactId>xz</artifactId>
12876b3781fSMatthias Sohn      <optional>true</optional>
12976b3781fSMatthias Sohn    </dependency>
130dad52baaSShawn O. Pearce  </dependencies>
131dad52baaSShawn O. Pearce
132dad52baaSShawn O. Pearce  <build>
133dad52baaSShawn O. Pearce    <sourceDirectory>src/</sourceDirectory>
134dad52baaSShawn O. Pearce
135dad52baaSShawn O. Pearce    <resources>
136dad52baaSShawn O. Pearce      <resource>
137dad52baaSShawn O. Pearce        <directory>.</directory>
138dad52baaSShawn O. Pearce        <includes>
1394974090dSMatthias Sohn          <include>plugin.properties</include>
140dad52baaSShawn O. Pearce          <include>META-INF/services/org.eclipse.jgit.pgm.TextBuiltin</include>
141e1af16adSMatthias Sohn          <include>about.html</include>
142dad52baaSShawn O. Pearce        </includes>
143dad52baaSShawn O. Pearce      </resource>
144f3d8a8ecSSasa Zivkov      <resource>
145f3d8a8ecSSasa Zivkov        <directory>resources/</directory>
146f3d8a8ecSSasa Zivkov      </resource>
147dad52baaSShawn O. Pearce    </resources>
148dad52baaSShawn O. Pearce
149dad52baaSShawn O. Pearce    <plugins>
150dad52baaSShawn O. Pearce      <plugin>
1514974090dSMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
1524974090dSMatthias Sohn        <configuration>
1534974090dSMatthias Sohn          <archive>
1544974090dSMatthias Sohn            <manifestFile>${bundle-manifest}</manifestFile>
1554974090dSMatthias Sohn          </archive>
1564974090dSMatthias Sohn        </configuration>
1574974090dSMatthias Sohn      </plugin>
1584974090dSMatthias Sohn
1594974090dSMatthias Sohn      <plugin>
160137e91a4SMedha Bhargav Prabhala        <groupId>org.springframework.boot</groupId>
161137e91a4SMedha Bhargav Prabhala        <artifactId>spring-boot-maven-plugin</artifactId>
162dad52baaSShawn O. Pearce        <executions>
163dad52baaSShawn O. Pearce          <execution>
164dad52baaSShawn O. Pearce            <goals>
165137e91a4SMedha Bhargav Prabhala              <goal>repackage</goal>
166dad52baaSShawn O. Pearce            </goals>
167dad52baaSShawn O. Pearce            <configuration>
168dad52baaSShawn O. Pearce              <finalName>jgit-cli</finalName>
169137e91a4SMedha Bhargav Prabhala              <attach>false</attach>
170137e91a4SMedha Bhargav Prabhala              <mainClass>org.eclipse.jgit.pgm.Main</mainClass>
171137e91a4SMedha Bhargav Prabhala              <executable>true</executable>
172137e91a4SMedha Bhargav Prabhala              <embeddedLaunchScript>jgit.sh</embeddedLaunchScript>
173dad52baaSShawn O. Pearce            </configuration>
174dad52baaSShawn O. Pearce          </execution>
175dad52baaSShawn O. Pearce        </executions>
176dad52baaSShawn O. Pearce      </plugin>
177dad52baaSShawn O. Pearce
178dad52baaSShawn O. Pearce      <plugin>
179dad52baaSShawn O. Pearce        <groupId>org.apache.maven.plugins</groupId>
180dad52baaSShawn O. Pearce        <artifactId>maven-antrun-plugin</artifactId>
181dad52baaSShawn O. Pearce        <executions>
182dad52baaSShawn O. Pearce          <execution>
183dad52baaSShawn O. Pearce            <id>create_jgit</id>
184dad52baaSShawn O. Pearce            <phase>package</phase>
185dad52baaSShawn O. Pearce            <configuration>
1865c788e2cSAlexander Kurtakov              <target>
187137e91a4SMedha Bhargav Prabhala                <move
188137e91a4SMedha Bhargav Prabhala                  file="${basedir}/target/jgit-cli.jar"
189137e91a4SMedha Bhargav Prabhala                  force="yes"
190137e91a4SMedha Bhargav Prabhala                  tofile="${basedir}/target/jgit" />
191137e91a4SMedha Bhargav Prabhala                <chmod
192137e91a4SMedha Bhargav Prabhala                  file="${basedir}/target/jgit"
193137e91a4SMedha Bhargav Prabhala                  perm="a+x" />
1945c788e2cSAlexander Kurtakov              </target>
195dad52baaSShawn O. Pearce            </configuration>
196dad52baaSShawn O. Pearce            <goals>
197dad52baaSShawn O. Pearce              <goal>run</goal>
198dad52baaSShawn O. Pearce            </goals>
199dad52baaSShawn O. Pearce          </execution>
2004974090dSMatthias Sohn          <execution>
2014974090dSMatthias Sohn            <id>translate-source-qualifier</id>
2024974090dSMatthias Sohn            <phase>generate-resources</phase>
2034974090dSMatthias Sohn            <configuration>
2045c788e2cSAlexander Kurtakov              <target>
2054974090dSMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
2064974090dSMatthias Sohn                <replace file="${source-bundle-manifest}">
2074974090dSMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
2084974090dSMatthias Sohn                </replace>
2095c788e2cSAlexander Kurtakov              </target>
2104974090dSMatthias Sohn            </configuration>
2114974090dSMatthias Sohn            <goals>
2124974090dSMatthias Sohn              <goal>run</goal>
2134974090dSMatthias Sohn            </goals>
2144974090dSMatthias Sohn          </execution>
2154974090dSMatthias Sohn        </executions>
2164974090dSMatthias Sohn      </plugin>
2174974090dSMatthias Sohn
2184974090dSMatthias Sohn      <plugin>
2194974090dSMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
2204974090dSMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
2214974090dSMatthias Sohn        <inherited>true</inherited>
2224974090dSMatthias Sohn        <executions>
2234974090dSMatthias Sohn          <execution>
2244974090dSMatthias Sohn            <id>attach-sources</id>
2254974090dSMatthias Sohn            <phase>process-classes</phase>
2264974090dSMatthias Sohn            <goals>
2274974090dSMatthias Sohn              <goal>jar</goal>
2284974090dSMatthias Sohn            </goals>
2294974090dSMatthias Sohn            <configuration>
2304974090dSMatthias Sohn              <archive>
2314974090dSMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
2324974090dSMatthias Sohn              </archive>
2334974090dSMatthias Sohn            </configuration>
2344974090dSMatthias Sohn          </execution>
235dad52baaSShawn O. Pearce        </executions>
236dad52baaSShawn O. Pearce      </plugin>
237dad52baaSShawn O. Pearce
238dad52baaSShawn O. Pearce      <plugin>
239dad52baaSShawn O. Pearce        <groupId>org.codehaus.mojo</groupId>
240dad52baaSShawn O. Pearce        <artifactId>build-helper-maven-plugin</artifactId>
241dad52baaSShawn O. Pearce        <executions>
242dad52baaSShawn O. Pearce          <execution>
243dad52baaSShawn O. Pearce            <id>attach_jgit</id>
244dad52baaSShawn O. Pearce            <phase>package</phase>
245dad52baaSShawn O. Pearce            <goals>
246dad52baaSShawn O. Pearce              <goal>attach-artifact</goal>
247dad52baaSShawn O. Pearce            </goals>
248dad52baaSShawn O. Pearce            <configuration>
249dad52baaSShawn O. Pearce              <artifacts>
250dad52baaSShawn O. Pearce                <artifact>
251dad52baaSShawn O. Pearce                  <file>${basedir}/target/jgit</file>
252dad52baaSShawn O. Pearce                  <type>sh</type>
253dad52baaSShawn O. Pearce                </artifact>
254dad52baaSShawn O. Pearce              </artifacts>
255dad52baaSShawn O. Pearce            </configuration>
256dad52baaSShawn O. Pearce          </execution>
257dad52baaSShawn O. Pearce        </executions>
258dad52baaSShawn O. Pearce      </plugin>
259dad52baaSShawn O. Pearce    </plugins>
260dad52baaSShawn O. Pearce  </build>
261dad52baaSShawn O. Pearce</project>
262