1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (C) 2009-2010, Google Inc.
4 and other copyright owners as documented in the project's IP log.
6 This program and the accompanying materials are made available
7 under the terms of the Eclipse Distribution License v1.0 which
8 accompanies this distribution, is reproduced below, and is
9 available at http://www.eclipse.org/org/documents/edl-v10.php
13 Redistribution and use in source and binary forms, with or
14 without modification, are permitted provided that the following
17 - Redistributions of source code must retain the above copyright
18 notice, this list of conditions and the following disclaimer.
20 - Redistributions in binary form must reproduce the above
21 copyright notice, this list of conditions and the following
22 disclaimer in the documentation and/or other materials provided
23 with the distribution.
25 - Neither the name of the Eclipse Foundation, Inc. nor the
26 names of its contributors may be used to endorse or promote
27 products derived from this software without specific prior
30 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
31 CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
32 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
33 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
35 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
36 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
37 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
42 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45 <project xmlns="http://maven.apache.org/POM/4.0.0"
46 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
47 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
48 <modelVersion>4.0.0</modelVersion>
51 <groupId>org.eclipse.jgit</groupId>
52 <artifactId>org.eclipse.jgit-parent</artifactId>
53 <version>0.8.0-SNAPSHOT</version>
56 <artifactId>org.eclipse.jgit.pgm</artifactId>
57 <name>JGit - Command Line Interface</name>
60 Command line client tools built on top of JGit.
65 <groupId>args4j</groupId>
66 <artifactId>args4j</artifactId>
70 <groupId>org.eclipse.jgit</groupId>
71 <artifactId>org.eclipse.jgit</artifactId>
72 <version>${project.version}</version>
76 <groupId>org.eclipse.jgit</groupId>
77 <artifactId>org.eclipse.jgit.iplog</artifactId>
78 <version>${project.version}</version>
82 <groupId>org.eclipse.jgit</groupId>
83 <artifactId>org.eclipse.jgit.ui</artifactId>
84 <version>${project.version}</version>
92 <activeByDefault>true</activeByDefault>
96 <groupId>org.eclipse.jgit</groupId>
97 <artifactId>org.eclipse.jgit.console</artifactId>
98 <version>${project.version}</version>
105 <sourceDirectory>src/</sourceDirectory>
109 <directory>.</directory>
111 <include>META-INF/services/org.eclipse.jgit.pgm.TextBuiltin</include>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-shade-plugin</artifactId>
122 <phase>package</phase>
127 <finalName>jgit-cli</finalName>
128 <createDependencyReducedPom>false</createDependencyReducedPom>
130 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
131 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
133 <Main-Class>org.eclipse.jgit.pgm.Main</Main-Class>
134 <Implementation-Title>JGit Command Line Interface</Implementation-Title>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-antrun-plugin</artifactId>
149 <phase>package</phase>
152 <concat destfile="${basedir}/target/jgit" force="yes" binary="true">
153 <fileset file="${basedir}/jgit.sh" />
154 <fileset file="${basedir}/target/jgit-cli.jar" />
156 <chmod file="${basedir}/target/jgit" perm="a+x"/>
167 <groupId>org.codehaus.mojo</groupId>
168 <artifactId>build-helper-maven-plugin</artifactId>
172 <phase>package</phase>
174 <goal>attach-artifact</goal>
179 <file>${basedir}/target/jgit</file>