xref: /JGit/org.eclipse.jgit.pgm/pom.xml (revision 77848d635b76d8294697ffaf11acf51256df2a5b)
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>
208fab712fSMatthias Sohn    <version>5.8.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>
66*77848d63SMatthias Sohn      <artifactId>org.eclipse.jgit.gpg.bc</artifactId>
67*77848d63SMatthias Sohn      <version>${project.version}</version>
68*77848d63SMatthias Sohn    </dependency>
69*77848d63SMatthias Sohn
70*77848d63SMatthias Sohn    <dependency>
71*77848d63SMatthias 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>
832647d024SMatthias Sohn      <groupId>org.apache.httpcomponents</groupId>
842647d024SMatthias Sohn      <artifactId>httpclient</artifactId>
852647d024SMatthias Sohn    </dependency>
862647d024SMatthias Sohn
872647d024SMatthias Sohn    <dependency>
88dd453f41SMatthias Sohn      <groupId>org.slf4j</groupId>
89dd453f41SMatthias Sohn      <artifactId>slf4j-api</artifactId>
90dd453f41SMatthias Sohn    </dependency>
91dd453f41SMatthias Sohn
92dd453f41SMatthias Sohn    <dependency>
93dd453f41SMatthias Sohn      <groupId>org.slf4j</groupId>
94dd453f41SMatthias Sohn      <artifactId>slf4j-log4j12</artifactId>
95dd453f41SMatthias Sohn    </dependency>
96dd453f41SMatthias Sohn
97dd453f41SMatthias Sohn    <dependency>
98dd453f41SMatthias Sohn      <groupId>log4j</groupId>
99dd453f41SMatthias Sohn      <artifactId>log4j</artifactId>
100dd453f41SMatthias Sohn    </dependency>
1013bae524fSMatthias Sohn
1023bae524fSMatthias Sohn    <dependency>
1033bae524fSMatthias Sohn      <groupId>org.eclipse.jetty</groupId>
1043bae524fSMatthias Sohn      <artifactId>jetty-servlet</artifactId>
1053bae524fSMatthias Sohn    </dependency>
1063bae524fSMatthias Sohn
1073bae524fSMatthias Sohn    <dependency>
1083bae524fSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
1093bae524fSMatthias Sohn      <artifactId>org.eclipse.jgit.lfs</artifactId>
1103bae524fSMatthias Sohn      <version>${project.version}</version>
1113bae524fSMatthias Sohn    </dependency>
1123bae524fSMatthias Sohn
1133bae524fSMatthias Sohn    <dependency>
1143bae524fSMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
1153bae524fSMatthias Sohn      <artifactId>org.eclipse.jgit.lfs.server</artifactId>
1163bae524fSMatthias Sohn      <version>${project.version}</version>
1173bae524fSMatthias Sohn    </dependency>
11876b3781fSMatthias Sohn
11976b3781fSMatthias Sohn    <dependency>
12076b3781fSMatthias Sohn      <groupId>org.tukaani</groupId>
12176b3781fSMatthias Sohn      <artifactId>xz</artifactId>
12276b3781fSMatthias Sohn      <optional>true</optional>
12376b3781fSMatthias Sohn    </dependency>
124dad52baaSShawn O. Pearce  </dependencies>
125dad52baaSShawn O. Pearce
126dad52baaSShawn O. Pearce  <build>
127dad52baaSShawn O. Pearce    <sourceDirectory>src/</sourceDirectory>
128dad52baaSShawn O. Pearce
129dad52baaSShawn O. Pearce    <resources>
130dad52baaSShawn O. Pearce      <resource>
131dad52baaSShawn O. Pearce        <directory>.</directory>
132dad52baaSShawn O. Pearce        <includes>
1334974090dSMatthias Sohn          <include>plugin.properties</include>
134dad52baaSShawn O. Pearce          <include>META-INF/services/org.eclipse.jgit.pgm.TextBuiltin</include>
135e1af16adSMatthias Sohn          <include>about.html</include>
136dad52baaSShawn O. Pearce        </includes>
137dad52baaSShawn O. Pearce      </resource>
138f3d8a8ecSSasa Zivkov      <resource>
139f3d8a8ecSSasa Zivkov        <directory>resources/</directory>
140f3d8a8ecSSasa Zivkov      </resource>
141dad52baaSShawn O. Pearce    </resources>
142dad52baaSShawn O. Pearce
143dad52baaSShawn O. Pearce    <plugins>
144dad52baaSShawn O. Pearce      <plugin>
1454974090dSMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
1464974090dSMatthias Sohn        <configuration>
1474974090dSMatthias Sohn          <archive>
1484974090dSMatthias Sohn            <manifestFile>${bundle-manifest}</manifestFile>
1494974090dSMatthias Sohn          </archive>
1504974090dSMatthias Sohn        </configuration>
1514974090dSMatthias Sohn      </plugin>
1524974090dSMatthias Sohn
1534974090dSMatthias Sohn      <plugin>
154137e91a4SMedha Bhargav Prabhala        <groupId>org.springframework.boot</groupId>
155137e91a4SMedha Bhargav Prabhala        <artifactId>spring-boot-maven-plugin</artifactId>
156dad52baaSShawn O. Pearce        <executions>
157dad52baaSShawn O. Pearce          <execution>
158dad52baaSShawn O. Pearce            <goals>
159137e91a4SMedha Bhargav Prabhala              <goal>repackage</goal>
160dad52baaSShawn O. Pearce            </goals>
161dad52baaSShawn O. Pearce            <configuration>
162dad52baaSShawn O. Pearce              <finalName>jgit-cli</finalName>
163137e91a4SMedha Bhargav Prabhala              <attach>false</attach>
164137e91a4SMedha Bhargav Prabhala              <mainClass>org.eclipse.jgit.pgm.Main</mainClass>
165137e91a4SMedha Bhargav Prabhala              <executable>true</executable>
166137e91a4SMedha Bhargav Prabhala              <embeddedLaunchScript>jgit.sh</embeddedLaunchScript>
167dad52baaSShawn O. Pearce            </configuration>
168dad52baaSShawn O. Pearce          </execution>
169dad52baaSShawn O. Pearce        </executions>
170dad52baaSShawn O. Pearce      </plugin>
171dad52baaSShawn O. Pearce
172dad52baaSShawn O. Pearce      <plugin>
173dad52baaSShawn O. Pearce        <groupId>org.apache.maven.plugins</groupId>
174dad52baaSShawn O. Pearce        <artifactId>maven-antrun-plugin</artifactId>
175dad52baaSShawn O. Pearce        <executions>
176dad52baaSShawn O. Pearce          <execution>
177dad52baaSShawn O. Pearce            <id>create_jgit</id>
178dad52baaSShawn O. Pearce            <phase>package</phase>
179dad52baaSShawn O. Pearce            <configuration>
1805c788e2cSAlexander Kurtakov              <target>
181137e91a4SMedha Bhargav Prabhala                <move
182137e91a4SMedha Bhargav Prabhala                  file="${basedir}/target/jgit-cli.jar"
183137e91a4SMedha Bhargav Prabhala                  force="yes"
184137e91a4SMedha Bhargav Prabhala                  tofile="${basedir}/target/jgit" />
185137e91a4SMedha Bhargav Prabhala                <chmod
186137e91a4SMedha Bhargav Prabhala                  file="${basedir}/target/jgit"
187137e91a4SMedha Bhargav Prabhala                  perm="a+x" />
1885c788e2cSAlexander Kurtakov              </target>
189dad52baaSShawn O. Pearce            </configuration>
190dad52baaSShawn O. Pearce            <goals>
191dad52baaSShawn O. Pearce              <goal>run</goal>
192dad52baaSShawn O. Pearce            </goals>
193dad52baaSShawn O. Pearce          </execution>
1944974090dSMatthias Sohn          <execution>
1954974090dSMatthias Sohn            <id>translate-source-qualifier</id>
1964974090dSMatthias Sohn            <phase>generate-resources</phase>
1974974090dSMatthias Sohn            <configuration>
1985c788e2cSAlexander Kurtakov              <target>
1994974090dSMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
2004974090dSMatthias Sohn                <replace file="${source-bundle-manifest}">
2014974090dSMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
2024974090dSMatthias Sohn                </replace>
2035c788e2cSAlexander Kurtakov              </target>
2044974090dSMatthias Sohn            </configuration>
2054974090dSMatthias Sohn            <goals>
2064974090dSMatthias Sohn              <goal>run</goal>
2074974090dSMatthias Sohn            </goals>
2084974090dSMatthias Sohn          </execution>
2094974090dSMatthias Sohn        </executions>
2104974090dSMatthias Sohn      </plugin>
2114974090dSMatthias Sohn
2124974090dSMatthias Sohn      <plugin>
2134974090dSMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
2144974090dSMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
2154974090dSMatthias Sohn        <inherited>true</inherited>
2164974090dSMatthias Sohn        <executions>
2174974090dSMatthias Sohn          <execution>
2184974090dSMatthias Sohn            <id>attach-sources</id>
2194974090dSMatthias Sohn            <phase>process-classes</phase>
2204974090dSMatthias Sohn            <goals>
2214974090dSMatthias Sohn              <goal>jar</goal>
2224974090dSMatthias Sohn            </goals>
2234974090dSMatthias Sohn            <configuration>
2244974090dSMatthias Sohn              <archive>
2254974090dSMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
2264974090dSMatthias Sohn              </archive>
2274974090dSMatthias Sohn            </configuration>
2284974090dSMatthias Sohn          </execution>
229dad52baaSShawn O. Pearce        </executions>
230dad52baaSShawn O. Pearce      </plugin>
231dad52baaSShawn O. Pearce
232dad52baaSShawn O. Pearce      <plugin>
233dad52baaSShawn O. Pearce        <groupId>org.codehaus.mojo</groupId>
234dad52baaSShawn O. Pearce        <artifactId>build-helper-maven-plugin</artifactId>
235dad52baaSShawn O. Pearce        <executions>
236dad52baaSShawn O. Pearce          <execution>
237dad52baaSShawn O. Pearce            <id>attach_jgit</id>
238dad52baaSShawn O. Pearce            <phase>package</phase>
239dad52baaSShawn O. Pearce            <goals>
240dad52baaSShawn O. Pearce              <goal>attach-artifact</goal>
241dad52baaSShawn O. Pearce            </goals>
242dad52baaSShawn O. Pearce            <configuration>
243dad52baaSShawn O. Pearce              <artifacts>
244dad52baaSShawn O. Pearce                <artifact>
245dad52baaSShawn O. Pearce                  <file>${basedir}/target/jgit</file>
246dad52baaSShawn O. Pearce                  <type>sh</type>
247dad52baaSShawn O. Pearce                </artifact>
248dad52baaSShawn O. Pearce              </artifacts>
249dad52baaSShawn O. Pearce            </configuration>
250dad52baaSShawn O. Pearce          </execution>
251dad52baaSShawn O. Pearce        </executions>
252dad52baaSShawn O. Pearce      </plugin>
253dad52baaSShawn O. Pearce    </plugins>
254dad52baaSShawn O. Pearce  </build>
255dad52baaSShawn O. Pearce</project>
256