xref: /JGit/org.eclipse.jgit.pgm/pom.xml (revision 1e48c338dc237d5d4e314646d7b4d775249065c9) !
1dad52baaSShawn O. Pearce<?xml version="1.0" encoding="UTF-8"?>
2dad52baaSShawn O. Pearce<!--
3*1e48c338SShawn 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>
53dad52baaSShawn O. Pearce    <version>0.6.0-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
63dad52baaSShawn O. Pearce  <dependencies>
64dad52baaSShawn O. Pearce    <dependency>
65dad52baaSShawn O. Pearce      <groupId>args4j</groupId>
66dad52baaSShawn O. Pearce      <artifactId>args4j</artifactId>
67dad52baaSShawn O. Pearce    </dependency>
68dad52baaSShawn O. Pearce
69dad52baaSShawn O. Pearce    <dependency>
70dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
71dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit</artifactId>
72fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
73dad52baaSShawn O. Pearce    </dependency>
74dad52baaSShawn O. Pearce
75dad52baaSShawn O. Pearce    <dependency>
76dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
77*1e48c338SShawn O. Pearce      <artifactId>org.eclipse.jgit.iplog</artifactId>
78*1e48c338SShawn O. Pearce      <version>${project.version}</version>
79*1e48c338SShawn O. Pearce    </dependency>
80*1e48c338SShawn O. Pearce
81*1e48c338SShawn O. Pearce    <dependency>
82*1e48c338SShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
83dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit.ui</artifactId>
84fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
85dad52baaSShawn O. Pearce    </dependency>
86dad52baaSShawn O. Pearce  </dependencies>
87dad52baaSShawn O. Pearce
887e8dc538SShawn O. Pearce  <profiles>
897e8dc538SShawn O. Pearce    <profile>
907e8dc538SShawn O. Pearce      <id>java6</id>
917e8dc538SShawn O. Pearce      <activation>
927e8dc538SShawn O. Pearce        <activeByDefault>true</activeByDefault>
937e8dc538SShawn O. Pearce      </activation>
947e8dc538SShawn O. Pearce      <dependencies>
957e8dc538SShawn O. Pearce        <dependency>
967e8dc538SShawn O. Pearce          <groupId>org.eclipse.jgit</groupId>
977e8dc538SShawn O. Pearce          <artifactId>org.eclipse.jgit.console</artifactId>
987e8dc538SShawn O. Pearce          <version>${project.version}</version>
997e8dc538SShawn O. Pearce        </dependency>
1007e8dc538SShawn O. Pearce      </dependencies>
1017e8dc538SShawn O. Pearce    </profile>
1027e8dc538SShawn O. Pearce  </profiles>
1037e8dc538SShawn O. Pearce
104dad52baaSShawn O. Pearce  <build>
105dad52baaSShawn O. Pearce    <sourceDirectory>src/</sourceDirectory>
106dad52baaSShawn O. Pearce
107dad52baaSShawn O. Pearce    <resources>
108dad52baaSShawn O. Pearce      <resource>
109dad52baaSShawn O. Pearce        <directory>.</directory>
110dad52baaSShawn O. Pearce        <includes>
111dad52baaSShawn O. Pearce          <include>META-INF/services/org.eclipse.jgit.pgm.TextBuiltin</include>
112dad52baaSShawn O. Pearce        </includes>
113dad52baaSShawn O. Pearce      </resource>
114dad52baaSShawn O. Pearce    </resources>
115dad52baaSShawn O. Pearce
116dad52baaSShawn O. Pearce    <plugins>
117dad52baaSShawn O. Pearce      <plugin>
118dad52baaSShawn O. Pearce        <groupId>org.apache.maven.plugins</groupId>
119dad52baaSShawn O. Pearce        <artifactId>maven-shade-plugin</artifactId>
120dad52baaSShawn O. Pearce        <executions>
121dad52baaSShawn O. Pearce          <execution>
122dad52baaSShawn O. Pearce            <phase>package</phase>
123dad52baaSShawn O. Pearce            <goals>
124dad52baaSShawn O. Pearce              <goal>shade</goal>
125dad52baaSShawn O. Pearce            </goals>
126dad52baaSShawn O. Pearce            <configuration>
127dad52baaSShawn O. Pearce              <finalName>jgit-cli</finalName>
128dad52baaSShawn O. Pearce              <createDependencyReducedPom>false</createDependencyReducedPom>
129dad52baaSShawn O. Pearce              <transformers>
130dad52baaSShawn O. Pearce                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
131dad52baaSShawn O. Pearce                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
132dad52baaSShawn O. Pearce                  <manifestEntries>
133dad52baaSShawn O. Pearce                    <Main-Class>org.eclipse.jgit.pgm.Main</Main-Class>
134dad52baaSShawn O. Pearce                    <Implementation-Title>JGit Command Line Interface</Implementation-Title>
135dad52baaSShawn O. Pearce                  </manifestEntries>
136dad52baaSShawn O. Pearce                </transformer>
137dad52baaSShawn O. Pearce              </transformers>
138dad52baaSShawn O. Pearce            </configuration>
139dad52baaSShawn O. Pearce          </execution>
140dad52baaSShawn O. Pearce        </executions>
141dad52baaSShawn O. Pearce      </plugin>
142dad52baaSShawn O. Pearce
143dad52baaSShawn O. Pearce      <plugin>
144dad52baaSShawn O. Pearce        <groupId>org.apache.maven.plugins</groupId>
145dad52baaSShawn O. Pearce        <artifactId>maven-antrun-plugin</artifactId>
146dad52baaSShawn O. Pearce        <executions>
147dad52baaSShawn O. Pearce          <execution>
148dad52baaSShawn O. Pearce            <id>create_jgit</id>
149dad52baaSShawn O. Pearce            <phase>package</phase>
150dad52baaSShawn O. Pearce            <configuration>
151dad52baaSShawn O. Pearce              <tasks>
152dad52baaSShawn O. Pearce                <concat destfile="${basedir}/target/jgit" force="yes" binary="true">
153dad52baaSShawn O. Pearce                  <fileset file="${basedir}/jgit.sh" />
154dad52baaSShawn O. Pearce                  <fileset file="${basedir}/target/jgit-cli.jar" />
155dad52baaSShawn O. Pearce                </concat>
156dad52baaSShawn O. Pearce                <chmod file="${basedir}/target/jgit" perm="a+x"/>
157dad52baaSShawn O. Pearce              </tasks>
158dad52baaSShawn O. Pearce            </configuration>
159dad52baaSShawn O. Pearce            <goals>
160dad52baaSShawn O. Pearce              <goal>run</goal>
161dad52baaSShawn O. Pearce            </goals>
162dad52baaSShawn O. Pearce          </execution>
163dad52baaSShawn O. Pearce        </executions>
164dad52baaSShawn O. Pearce      </plugin>
165dad52baaSShawn O. Pearce
166dad52baaSShawn O. Pearce      <plugin>
167dad52baaSShawn O. Pearce        <groupId>org.codehaus.mojo</groupId>
168dad52baaSShawn O. Pearce        <artifactId>build-helper-maven-plugin</artifactId>
169dad52baaSShawn O. Pearce        <executions>
170dad52baaSShawn O. Pearce          <execution>
171dad52baaSShawn O. Pearce            <id>attach_jgit</id>
172dad52baaSShawn O. Pearce            <phase>package</phase>
173dad52baaSShawn O. Pearce            <goals>
174dad52baaSShawn O. Pearce              <goal>attach-artifact</goal>
175dad52baaSShawn O. Pearce            </goals>
176dad52baaSShawn O. Pearce            <configuration>
177dad52baaSShawn O. Pearce              <artifacts>
178dad52baaSShawn O. Pearce                <artifact>
179dad52baaSShawn O. Pearce                  <file>${basedir}/target/jgit</file>
180dad52baaSShawn O. Pearce                  <type>sh</type>
181dad52baaSShawn O. Pearce                </artifact>
182dad52baaSShawn O. Pearce              </artifacts>
183dad52baaSShawn O. Pearce            </configuration>
184dad52baaSShawn O. Pearce          </execution>
185dad52baaSShawn O. Pearce        </executions>
186dad52baaSShawn O. Pearce      </plugin>
187dad52baaSShawn O. Pearce    </plugins>
188dad52baaSShawn O. Pearce  </build>
189dad52baaSShawn O. Pearce</project>
190