xref: /JGit/org.eclipse.jgit.pgm/pom.xml (revision dad52baae835f28c7fc4b8cc184f8f6703433ac4)
1*dad52baaSShawn O. Pearce<?xml version="1.0" encoding="UTF-8"?>
2*dad52baaSShawn O. Pearce<!--
3*dad52baaSShawn O. Pearce   Copyright (C) 2009, Google Inc.
4*dad52baaSShawn O. Pearce   and other copyright owners as documented in the project's IP log.
5*dad52baaSShawn O. Pearce
6*dad52baaSShawn O. Pearce   This program and the accompanying materials are made available
7*dad52baaSShawn O. Pearce   under the terms of the Eclipse Distribution License v1.0 which
8*dad52baaSShawn O. Pearce   accompanies this distribution, is reproduced below, and is
9*dad52baaSShawn O. Pearce   available at http://www.eclipse.org/org/documents/edl-v10.php
10*dad52baaSShawn O. Pearce
11*dad52baaSShawn O. Pearce   All rights reserved.
12*dad52baaSShawn O. Pearce
13*dad52baaSShawn O. Pearce   Redistribution and use in source and binary forms, with or
14*dad52baaSShawn O. Pearce   without modification, are permitted provided that the following
15*dad52baaSShawn O. Pearce   conditions are met:
16*dad52baaSShawn O. Pearce
17*dad52baaSShawn O. Pearce   - Redistributions of source code must retain the above copyright
18*dad52baaSShawn O. Pearce     notice, this list of conditions and the following disclaimer.
19*dad52baaSShawn O. Pearce
20*dad52baaSShawn O. Pearce   - Redistributions in binary form must reproduce the above
21*dad52baaSShawn O. Pearce     copyright notice, this list of conditions and the following
22*dad52baaSShawn O. Pearce     disclaimer in the documentation and/or other materials provided
23*dad52baaSShawn O. Pearce     with the distribution.
24*dad52baaSShawn O. Pearce
25*dad52baaSShawn O. Pearce   - Neither the name of the Eclipse Foundation, Inc. nor the
26*dad52baaSShawn O. Pearce     names of its contributors may be used to endorse or promote
27*dad52baaSShawn O. Pearce     products derived from this software without specific prior
28*dad52baaSShawn O. Pearce     written permission.
29*dad52baaSShawn O. Pearce
30*dad52baaSShawn O. Pearce   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
31*dad52baaSShawn O. Pearce   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
32*dad52baaSShawn O. Pearce   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
33*dad52baaSShawn O. Pearce   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34*dad52baaSShawn O. Pearce   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
35*dad52baaSShawn O. Pearce   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
36*dad52baaSShawn O. Pearce   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
37*dad52baaSShawn O. Pearce   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38*dad52baaSShawn O. Pearce   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39*dad52baaSShawn O. Pearce   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40*dad52baaSShawn O. Pearce   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41*dad52baaSShawn O. Pearce   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
42*dad52baaSShawn O. Pearce   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43*dad52baaSShawn O. Pearce-->
44*dad52baaSShawn O. Pearce
45*dad52baaSShawn O. Pearce<project xmlns="http://maven.apache.org/POM/4.0.0"
46*dad52baaSShawn O. Pearce    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
47*dad52baaSShawn O. Pearce    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
48*dad52baaSShawn O. Pearce  <modelVersion>4.0.0</modelVersion>
49*dad52baaSShawn O. Pearce
50*dad52baaSShawn O. Pearce  <parent>
51*dad52baaSShawn O. Pearce    <groupId>org.eclipse.jgit</groupId>
52*dad52baaSShawn O. Pearce    <artifactId>jgit-parent</artifactId>
53*dad52baaSShawn O. Pearce    <version>0.6.0-SNAPSHOT</version>
54*dad52baaSShawn O. Pearce  </parent>
55*dad52baaSShawn O. Pearce
56*dad52baaSShawn O. Pearce  <artifactId>org.eclipse.jgit.pgm</artifactId>
57*dad52baaSShawn O. Pearce  <name>JGit - Command Line Interface</name>
58*dad52baaSShawn O. Pearce
59*dad52baaSShawn O. Pearce  <description>
60*dad52baaSShawn O. Pearce    Command line client tools built on top of JGit.
61*dad52baaSShawn O. Pearce  </description>
62*dad52baaSShawn O. Pearce
63*dad52baaSShawn O. Pearce  <dependencies>
64*dad52baaSShawn O. Pearce    <dependency>
65*dad52baaSShawn O. Pearce      <groupId>args4j</groupId>
66*dad52baaSShawn O. Pearce      <artifactId>args4j</artifactId>
67*dad52baaSShawn O. Pearce    </dependency>
68*dad52baaSShawn O. Pearce
69*dad52baaSShawn O. Pearce    <dependency>
70*dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
71*dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit</artifactId>
72*dad52baaSShawn O. Pearce    </dependency>
73*dad52baaSShawn O. Pearce
74*dad52baaSShawn O. Pearce    <dependency>
75*dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
76*dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit.ui</artifactId>
77*dad52baaSShawn O. Pearce    </dependency>
78*dad52baaSShawn O. Pearce  </dependencies>
79*dad52baaSShawn O. Pearce
80*dad52baaSShawn O. Pearce  <build>
81*dad52baaSShawn O. Pearce    <sourceDirectory>src/</sourceDirectory>
82*dad52baaSShawn O. Pearce
83*dad52baaSShawn O. Pearce    <resources>
84*dad52baaSShawn O. Pearce      <resource>
85*dad52baaSShawn O. Pearce        <directory>.</directory>
86*dad52baaSShawn O. Pearce        <includes>
87*dad52baaSShawn O. Pearce          <include>META-INF/services/org.eclipse.jgit.pgm.TextBuiltin</include>
88*dad52baaSShawn O. Pearce        </includes>
89*dad52baaSShawn O. Pearce      </resource>
90*dad52baaSShawn O. Pearce    </resources>
91*dad52baaSShawn O. Pearce
92*dad52baaSShawn O. Pearce
93*dad52baaSShawn O. Pearce    <plugins>
94*dad52baaSShawn O. Pearce      <plugin>
95*dad52baaSShawn O. Pearce        <groupId>org.apache.maven.plugins</groupId>
96*dad52baaSShawn O. Pearce        <artifactId>maven-shade-plugin</artifactId>
97*dad52baaSShawn O. Pearce        <version>1.2</version>
98*dad52baaSShawn O. Pearce        <executions>
99*dad52baaSShawn O. Pearce          <execution>
100*dad52baaSShawn O. Pearce            <phase>package</phase>
101*dad52baaSShawn O. Pearce            <goals>
102*dad52baaSShawn O. Pearce              <goal>shade</goal>
103*dad52baaSShawn O. Pearce            </goals>
104*dad52baaSShawn O. Pearce            <configuration>
105*dad52baaSShawn O. Pearce              <finalName>jgit-cli</finalName>
106*dad52baaSShawn O. Pearce              <createDependencyReducedPom>false</createDependencyReducedPom>
107*dad52baaSShawn O. Pearce              <transformers>
108*dad52baaSShawn O. Pearce                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
109*dad52baaSShawn O. Pearce                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
110*dad52baaSShawn O. Pearce                  <manifestEntries>
111*dad52baaSShawn O. Pearce                    <Main-Class>org.eclipse.jgit.pgm.Main</Main-Class>
112*dad52baaSShawn O. Pearce                    <Implementation-Title>JGit Command Line Interface</Implementation-Title>
113*dad52baaSShawn O. Pearce                    <Implementation-Version>${project.version}</Implementation-Version>
114*dad52baaSShawn O. Pearce                  </manifestEntries>
115*dad52baaSShawn O. Pearce                </transformer>
116*dad52baaSShawn O. Pearce              </transformers>
117*dad52baaSShawn O. Pearce            </configuration>
118*dad52baaSShawn O. Pearce          </execution>
119*dad52baaSShawn O. Pearce        </executions>
120*dad52baaSShawn O. Pearce      </plugin>
121*dad52baaSShawn O. Pearce
122*dad52baaSShawn O. Pearce      <plugin>
123*dad52baaSShawn O. Pearce        <groupId>org.apache.maven.plugins</groupId>
124*dad52baaSShawn O. Pearce        <artifactId>maven-antrun-plugin</artifactId>
125*dad52baaSShawn O. Pearce        <version>1.3</version>
126*dad52baaSShawn O. Pearce        <executions>
127*dad52baaSShawn O. Pearce          <execution>
128*dad52baaSShawn O. Pearce            <id>create_jgit</id>
129*dad52baaSShawn O. Pearce            <phase>package</phase>
130*dad52baaSShawn O. Pearce            <configuration>
131*dad52baaSShawn O. Pearce              <tasks>
132*dad52baaSShawn O. Pearce                <concat destfile="${basedir}/target/jgit" force="yes" binary="true">
133*dad52baaSShawn O. Pearce                  <fileset file="${basedir}/jgit.sh" />
134*dad52baaSShawn O. Pearce                  <fileset file="${basedir}/target/jgit-cli.jar" />
135*dad52baaSShawn O. Pearce                </concat>
136*dad52baaSShawn O. Pearce                <chmod file="${basedir}/target/jgit" perm="a+x"/>
137*dad52baaSShawn O. Pearce              </tasks>
138*dad52baaSShawn O. Pearce            </configuration>
139*dad52baaSShawn O. Pearce            <goals>
140*dad52baaSShawn O. Pearce              <goal>run</goal>
141*dad52baaSShawn O. Pearce            </goals>
142*dad52baaSShawn O. Pearce          </execution>
143*dad52baaSShawn O. Pearce        </executions>
144*dad52baaSShawn O. Pearce      </plugin>
145*dad52baaSShawn O. Pearce
146*dad52baaSShawn O. Pearce      <plugin>
147*dad52baaSShawn O. Pearce        <groupId>org.codehaus.mojo</groupId>
148*dad52baaSShawn O. Pearce        <artifactId>build-helper-maven-plugin</artifactId>
149*dad52baaSShawn O. Pearce        <version>1.3</version>
150*dad52baaSShawn O. Pearce        <executions>
151*dad52baaSShawn O. Pearce          <execution>
152*dad52baaSShawn O. Pearce            <id>attach_jgit</id>
153*dad52baaSShawn O. Pearce            <phase>package</phase>
154*dad52baaSShawn O. Pearce            <goals>
155*dad52baaSShawn O. Pearce              <goal>attach-artifact</goal>
156*dad52baaSShawn O. Pearce            </goals>
157*dad52baaSShawn O. Pearce            <configuration>
158*dad52baaSShawn O. Pearce              <artifacts>
159*dad52baaSShawn O. Pearce                <artifact>
160*dad52baaSShawn O. Pearce                  <file>${basedir}/target/jgit</file>
161*dad52baaSShawn O. Pearce                  <type>sh</type>
162*dad52baaSShawn O. Pearce                </artifact>
163*dad52baaSShawn O. Pearce              </artifacts>
164*dad52baaSShawn O. Pearce            </configuration>
165*dad52baaSShawn O. Pearce          </execution>
166*dad52baaSShawn O. Pearce        </executions>
167*dad52baaSShawn O. Pearce      </plugin>
168*dad52baaSShawn O. Pearce    </plugins>
169*dad52baaSShawn O. Pearce  </build>
170*dad52baaSShawn O. Pearce</project>
171