xref: /JGit/org.eclipse.jgit.pgm/pom.xml (revision f3d8a8ecad614906a2c4ec0077cdb24129da6c6d)
1dad52baaSShawn O. Pearce<?xml version="1.0" encoding="UTF-8"?>
2dad52baaSShawn O. Pearce<!--
31e48c338SShawn 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>
5314e469c4SShawn O. Pearce    <version>0.8.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>
771e48c338SShawn O. Pearce      <artifactId>org.eclipse.jgit.iplog</artifactId>
781e48c338SShawn O. Pearce      <version>${project.version}</version>
791e48c338SShawn O. Pearce    </dependency>
801e48c338SShawn O. Pearce
811e48c338SShawn O. Pearce    <dependency>
821e48c338SShawn 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>
114*f3d8a8ecSSasa Zivkov      <resource>
115*f3d8a8ecSSasa Zivkov        <directory>resources/</directory>
116*f3d8a8ecSSasa Zivkov      </resource>
117dad52baaSShawn O. Pearce    </resources>
118dad52baaSShawn O. Pearce
119dad52baaSShawn O. Pearce    <plugins>
120dad52baaSShawn O. Pearce      <plugin>
121dad52baaSShawn O. Pearce        <groupId>org.apache.maven.plugins</groupId>
122dad52baaSShawn O. Pearce        <artifactId>maven-shade-plugin</artifactId>
123dad52baaSShawn O. Pearce        <executions>
124dad52baaSShawn O. Pearce          <execution>
125dad52baaSShawn O. Pearce            <phase>package</phase>
126dad52baaSShawn O. Pearce            <goals>
127dad52baaSShawn O. Pearce              <goal>shade</goal>
128dad52baaSShawn O. Pearce            </goals>
129dad52baaSShawn O. Pearce            <configuration>
130dad52baaSShawn O. Pearce              <finalName>jgit-cli</finalName>
131dad52baaSShawn O. Pearce              <createDependencyReducedPom>false</createDependencyReducedPom>
132dad52baaSShawn O. Pearce              <transformers>
133dad52baaSShawn O. Pearce                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
134dad52baaSShawn O. Pearce                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
135dad52baaSShawn O. Pearce                  <manifestEntries>
136dad52baaSShawn O. Pearce                    <Main-Class>org.eclipse.jgit.pgm.Main</Main-Class>
137dad52baaSShawn O. Pearce                    <Implementation-Title>JGit Command Line Interface</Implementation-Title>
138dad52baaSShawn O. Pearce                  </manifestEntries>
139dad52baaSShawn O. Pearce                </transformer>
140dad52baaSShawn O. Pearce              </transformers>
141dad52baaSShawn O. Pearce            </configuration>
142dad52baaSShawn O. Pearce          </execution>
143dad52baaSShawn O. Pearce        </executions>
144dad52baaSShawn O. Pearce      </plugin>
145dad52baaSShawn O. Pearce
146dad52baaSShawn O. Pearce      <plugin>
147dad52baaSShawn O. Pearce        <groupId>org.apache.maven.plugins</groupId>
148dad52baaSShawn O. Pearce        <artifactId>maven-antrun-plugin</artifactId>
149dad52baaSShawn O. Pearce        <executions>
150dad52baaSShawn O. Pearce          <execution>
151dad52baaSShawn O. Pearce            <id>create_jgit</id>
152dad52baaSShawn O. Pearce            <phase>package</phase>
153dad52baaSShawn O. Pearce            <configuration>
154dad52baaSShawn O. Pearce              <tasks>
155dad52baaSShawn O. Pearce                <concat destfile="${basedir}/target/jgit" force="yes" binary="true">
156dad52baaSShawn O. Pearce                  <fileset file="${basedir}/jgit.sh" />
157dad52baaSShawn O. Pearce                  <fileset file="${basedir}/target/jgit-cli.jar" />
158dad52baaSShawn O. Pearce                </concat>
159dad52baaSShawn O. Pearce                <chmod file="${basedir}/target/jgit" perm="a+x"/>
160dad52baaSShawn O. Pearce              </tasks>
161dad52baaSShawn O. Pearce            </configuration>
162dad52baaSShawn O. Pearce            <goals>
163dad52baaSShawn O. Pearce              <goal>run</goal>
164dad52baaSShawn O. Pearce            </goals>
165dad52baaSShawn O. Pearce          </execution>
166dad52baaSShawn O. Pearce        </executions>
167dad52baaSShawn O. Pearce      </plugin>
168dad52baaSShawn O. Pearce
169dad52baaSShawn O. Pearce      <plugin>
170dad52baaSShawn O. Pearce        <groupId>org.codehaus.mojo</groupId>
171dad52baaSShawn O. Pearce        <artifactId>build-helper-maven-plugin</artifactId>
172dad52baaSShawn O. Pearce        <executions>
173dad52baaSShawn O. Pearce          <execution>
174dad52baaSShawn O. Pearce            <id>attach_jgit</id>
175dad52baaSShawn O. Pearce            <phase>package</phase>
176dad52baaSShawn O. Pearce            <goals>
177dad52baaSShawn O. Pearce              <goal>attach-artifact</goal>
178dad52baaSShawn O. Pearce            </goals>
179dad52baaSShawn O. Pearce            <configuration>
180dad52baaSShawn O. Pearce              <artifacts>
181dad52baaSShawn O. Pearce                <artifact>
182dad52baaSShawn O. Pearce                  <file>${basedir}/target/jgit</file>
183dad52baaSShawn O. Pearce                  <type>sh</type>
184dad52baaSShawn O. Pearce                </artifact>
185dad52baaSShawn O. Pearce              </artifacts>
186dad52baaSShawn O. Pearce            </configuration>
187dad52baaSShawn O. Pearce          </execution>
188dad52baaSShawn O. Pearce        </executions>
189dad52baaSShawn O. Pearce      </plugin>
190dad52baaSShawn O. Pearce    </plugins>
191dad52baaSShawn O. Pearce  </build>
192dad52baaSShawn O. Pearce</project>
193