xref: /JGit/org.eclipse.jgit/pom.xml (revision f8eb7e16aab4f9a63860d58e1ff7692160dcfb9a)
1dad52baaSShawn O. Pearce<?xml version="1.0" encoding="UTF-8"?>
2dad52baaSShawn O. Pearce<!--
3dad52baaSShawn O. Pearce   Copyright (C) 2009, Google Inc.
496c7f75fSIgor Fedorenko   Copyright (C) 2009, Igor Fedorenko <igor@ifedorenko.com>
5dad52baaSShawn O. Pearce   Copyright (C) 2008, Imran M Yousuf <imyousuf@smartitengineering.com>
6407fe631SMatthias Sohn   Copyright (C) 2010, Matthias Sohn <matthias.sohn@sap.com>
7dad52baaSShawn O. Pearce   and other copyright owners as documented in the project's IP log.
8dad52baaSShawn O. Pearce
9dad52baaSShawn O. Pearce   This program and the accompanying materials are made available
10dad52baaSShawn O. Pearce   under the terms of the Eclipse Distribution License v1.0 which
11dad52baaSShawn O. Pearce   accompanies this distribution, is reproduced below, and is
12dad52baaSShawn O. Pearce   available at http://www.eclipse.org/org/documents/edl-v10.php
13dad52baaSShawn O. Pearce
14dad52baaSShawn O. Pearce   All rights reserved.
15dad52baaSShawn O. Pearce
16dad52baaSShawn O. Pearce   Redistribution and use in source and binary forms, with or
17dad52baaSShawn O. Pearce   without modification, are permitted provided that the following
18dad52baaSShawn O. Pearce   conditions are met:
19dad52baaSShawn O. Pearce
20dad52baaSShawn O. Pearce   - Redistributions of source code must retain the above copyright
21dad52baaSShawn O. Pearce     notice, this list of conditions and the following disclaimer.
22dad52baaSShawn O. Pearce
23dad52baaSShawn O. Pearce   - Redistributions in binary form must reproduce the above
24dad52baaSShawn O. Pearce     copyright notice, this list of conditions and the following
25dad52baaSShawn O. Pearce     disclaimer in the documentation and/or other materials provided
26dad52baaSShawn O. Pearce     with the distribution.
27dad52baaSShawn O. Pearce
28dad52baaSShawn O. Pearce   - Neither the name of the Eclipse Foundation, Inc. nor the
29dad52baaSShawn O. Pearce     names of its contributors may be used to endorse or promote
30dad52baaSShawn O. Pearce     products derived from this software without specific prior
31dad52baaSShawn O. Pearce     written permission.
32dad52baaSShawn O. Pearce
33dad52baaSShawn O. Pearce   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
34dad52baaSShawn O. Pearce   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
35dad52baaSShawn O. Pearce   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
36dad52baaSShawn O. Pearce   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
37dad52baaSShawn O. Pearce   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
38dad52baaSShawn O. Pearce   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
39dad52baaSShawn O. Pearce   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
40dad52baaSShawn O. Pearce   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
41dad52baaSShawn O. Pearce   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
42dad52baaSShawn O. Pearce   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
43dad52baaSShawn O. Pearce   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
44dad52baaSShawn O. Pearce   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
45dad52baaSShawn O. Pearce   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
46dad52baaSShawn O. Pearce-->
47dad52baaSShawn O. Pearce
48dad52baaSShawn O. Pearce<project xmlns="http://maven.apache.org/POM/4.0.0"
49dad52baaSShawn O. Pearce    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
50dad52baaSShawn O. Pearce    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
51dad52baaSShawn O. Pearce  <modelVersion>4.0.0</modelVersion>
52dad52baaSShawn O. Pearce
53dad52baaSShawn O. Pearce  <parent>
54dad52baaSShawn O. Pearce    <groupId>org.eclipse.jgit</groupId>
55fc5fc70eSShawn O. Pearce    <artifactId>org.eclipse.jgit-parent</artifactId>
564b5d3d29SShawn O. Pearce    <version>0.10.0-SNAPSHOT</version>
57dad52baaSShawn O. Pearce  </parent>
58dad52baaSShawn O. Pearce
59dad52baaSShawn O. Pearce  <artifactId>org.eclipse.jgit</artifactId>
60dad52baaSShawn O. Pearce  <name>JGit - Core</name>
61dad52baaSShawn O. Pearce
62dad52baaSShawn O. Pearce  <description>
63dad52baaSShawn O. Pearce    Repository access and algorithms
64dad52baaSShawn O. Pearce  </description>
65dad52baaSShawn O. Pearce
66407fe631SMatthias Sohn  <properties>
67407fe631SMatthias Sohn    <translate-qualifier/>
68*f8eb7e16SMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
69407fe631SMatthias Sohn  </properties>
70407fe631SMatthias Sohn
71dad52baaSShawn O. Pearce  <dependencies>
72dad52baaSShawn O. Pearce    <dependency>
73dad52baaSShawn O. Pearce      <groupId>com.jcraft</groupId>
74dad52baaSShawn O. Pearce      <artifactId>jsch</artifactId>
75dad52baaSShawn O. Pearce    </dependency>
76dad52baaSShawn O. Pearce  </dependencies>
77dad52baaSShawn O. Pearce
78dad52baaSShawn O. Pearce  <build>
79dad52baaSShawn O. Pearce    <sourceDirectory>src/</sourceDirectory>
80dad52baaSShawn O. Pearce
81dad52baaSShawn O. Pearce    <resources>
82dad52baaSShawn O. Pearce      <resource>
83dad52baaSShawn O. Pearce        <directory>.</directory>
84dad52baaSShawn O. Pearce        <includes>
85dad52baaSShawn O. Pearce          <include>plugin.properties</include>
86dad52baaSShawn O. Pearce        </includes>
87dad52baaSShawn O. Pearce      </resource>
88f3d8a8ecSSasa Zivkov      <resource>
89f3d8a8ecSSasa Zivkov        <directory>resources/</directory>
90f3d8a8ecSSasa Zivkov      </resource>
91dad52baaSShawn O. Pearce    </resources>
9296c7f75fSIgor Fedorenko
93fc5fc70eSShawn O. Pearce    <plugins>
94fc5fc70eSShawn O. Pearce      <plugin>
95*f8eb7e16SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
96*f8eb7e16SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
97*f8eb7e16SMatthias Sohn        <executions>
98*f8eb7e16SMatthias Sohn          <execution>
99*f8eb7e16SMatthias Sohn            <id>translate-source-qualifier</id>
100*f8eb7e16SMatthias Sohn            <phase>generate-resources</phase>
101*f8eb7e16SMatthias Sohn            <configuration>
102*f8eb7e16SMatthias Sohn              <tasks>
103*f8eb7e16SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
104*f8eb7e16SMatthias Sohn                <replace file="${source-bundle-manifest}">
105*f8eb7e16SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
106*f8eb7e16SMatthias Sohn                </replace>
107*f8eb7e16SMatthias Sohn              </tasks>
108*f8eb7e16SMatthias Sohn            </configuration>
109*f8eb7e16SMatthias Sohn            <goals>
110*f8eb7e16SMatthias Sohn              <goal>run</goal>
111*f8eb7e16SMatthias Sohn            </goals>
112*f8eb7e16SMatthias Sohn          </execution>
113*f8eb7e16SMatthias Sohn        </executions>
114*f8eb7e16SMatthias Sohn      </plugin>
115*f8eb7e16SMatthias Sohn
116*f8eb7e16SMatthias Sohn      <plugin>
117*f8eb7e16SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
118*f8eb7e16SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
119*f8eb7e16SMatthias Sohn        <inherited>true</inherited>
120*f8eb7e16SMatthias Sohn        <executions>
121*f8eb7e16SMatthias Sohn          <execution>
122*f8eb7e16SMatthias Sohn            <id>attach-sources</id>
123*f8eb7e16SMatthias Sohn            <phase>process-classes</phase>
124*f8eb7e16SMatthias Sohn            <goals>
125*f8eb7e16SMatthias Sohn              <goal>jar</goal>
126*f8eb7e16SMatthias Sohn            </goals>
127*f8eb7e16SMatthias Sohn            <configuration>
128*f8eb7e16SMatthias Sohn              <archive>
129*f8eb7e16SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
130*f8eb7e16SMatthias Sohn              </archive>
131*f8eb7e16SMatthias Sohn            </configuration>
132*f8eb7e16SMatthias Sohn          </execution>
133*f8eb7e16SMatthias Sohn        </executions>
134*f8eb7e16SMatthias Sohn      </plugin>
135*f8eb7e16SMatthias Sohn
136*f8eb7e16SMatthias Sohn      <plugin>
137fc5fc70eSShawn O. Pearce        <artifactId>maven-jar-plugin</artifactId>
138fc5fc70eSShawn O. Pearce        <configuration>
139fc5fc70eSShawn O. Pearce          <archive>
140407fe631SMatthias Sohn            <manifestFile>${bundle-manifest}</manifestFile>
141fc5fc70eSShawn O. Pearce          </archive>
142fc5fc70eSShawn O. Pearce        </configuration>
143fc5fc70eSShawn O. Pearce      </plugin>
144fc5fc70eSShawn O. Pearce    </plugins>
145fc5fc70eSShawn O. Pearce  </build>
146dad52baaSShawn O. Pearce</project>
147