xref: /JGit/org.eclipse.jgit/pom.xml (revision e1af16ad99c1e46e840d9afa52bb88af8cc430f0)
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>
5622df55c8SMatthias Sohn    <version>1.0.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/>
68f8eb7e16SMatthias 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>
86*e1af16adSMatthias Sohn          <include>about.html</include>
87dad52baaSShawn O. Pearce        </includes>
88dad52baaSShawn O. Pearce      </resource>
89f3d8a8ecSSasa Zivkov      <resource>
90f3d8a8ecSSasa Zivkov        <directory>resources/</directory>
91f3d8a8ecSSasa Zivkov      </resource>
92dad52baaSShawn O. Pearce    </resources>
9396c7f75fSIgor Fedorenko
94fc5fc70eSShawn O. Pearce    <plugins>
95fc5fc70eSShawn O. Pearce      <plugin>
96f8eb7e16SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
97f8eb7e16SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
98f8eb7e16SMatthias Sohn        <executions>
99f8eb7e16SMatthias Sohn          <execution>
100f8eb7e16SMatthias Sohn            <id>translate-source-qualifier</id>
101f8eb7e16SMatthias Sohn            <phase>generate-resources</phase>
102f8eb7e16SMatthias Sohn            <configuration>
103f8eb7e16SMatthias Sohn              <tasks>
104f8eb7e16SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
105f8eb7e16SMatthias Sohn                <replace file="${source-bundle-manifest}">
106f8eb7e16SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
107f8eb7e16SMatthias Sohn                </replace>
108f8eb7e16SMatthias Sohn              </tasks>
109f8eb7e16SMatthias Sohn            </configuration>
110f8eb7e16SMatthias Sohn            <goals>
111f8eb7e16SMatthias Sohn              <goal>run</goal>
112f8eb7e16SMatthias Sohn            </goals>
113f8eb7e16SMatthias Sohn          </execution>
114f8eb7e16SMatthias Sohn        </executions>
115f8eb7e16SMatthias Sohn      </plugin>
116f8eb7e16SMatthias Sohn
117f8eb7e16SMatthias Sohn      <plugin>
118f8eb7e16SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
119f8eb7e16SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
120f8eb7e16SMatthias Sohn        <inherited>true</inherited>
121f8eb7e16SMatthias Sohn        <executions>
122f8eb7e16SMatthias Sohn          <execution>
123f8eb7e16SMatthias Sohn            <id>attach-sources</id>
124f8eb7e16SMatthias Sohn            <phase>process-classes</phase>
125f8eb7e16SMatthias Sohn            <goals>
126f8eb7e16SMatthias Sohn              <goal>jar</goal>
127f8eb7e16SMatthias Sohn            </goals>
128f8eb7e16SMatthias Sohn            <configuration>
129f8eb7e16SMatthias Sohn              <archive>
130f8eb7e16SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
131f8eb7e16SMatthias Sohn              </archive>
132f8eb7e16SMatthias Sohn            </configuration>
133f8eb7e16SMatthias Sohn          </execution>
134f8eb7e16SMatthias Sohn        </executions>
135f8eb7e16SMatthias Sohn      </plugin>
136f8eb7e16SMatthias Sohn
137f8eb7e16SMatthias Sohn      <plugin>
138fc5fc70eSShawn O. Pearce        <artifactId>maven-jar-plugin</artifactId>
139fc5fc70eSShawn O. Pearce        <configuration>
140fc5fc70eSShawn O. Pearce          <archive>
141407fe631SMatthias Sohn            <manifestFile>${bundle-manifest}</manifestFile>
142fc5fc70eSShawn O. Pearce          </archive>
143fc5fc70eSShawn O. Pearce        </configuration>
144fc5fc70eSShawn O. Pearce      </plugin>
145df85978aSMatthias Sohn    </plugins>
146df85978aSMatthias Sohn    <pluginManagement>
147df85978aSMatthias Sohn      <plugins>
148241ab227SChris Aniszczyk        <plugin>
149241ab227SChris Aniszczyk          <groupId>org.codehaus.mojo</groupId>
150241ab227SChris Aniszczyk          <artifactId>findbugs-maven-plugin</artifactId>
151241ab227SChris Aniszczyk          <configuration>
152f6a15f04SMatthias Sohn            <excludeFilterFile>findBugs/FindBugsExcludeFilter.xml</excludeFilterFile>
153241ab227SChris Aniszczyk          </configuration>
154241ab227SChris Aniszczyk        </plugin>
155fc5fc70eSShawn O. Pearce      </plugins>
156df85978aSMatthias Sohn    </pluginManagement>
157fc5fc70eSShawn O. Pearce  </build>
158dad52baaSShawn O. Pearce</project>
159