xref: /JGit/org.eclipse.jgit/pom.xml (revision f6a15f049be28e3878a823f727c6965ffcee90e1)
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/>
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>
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>
95f8eb7e16SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
96f8eb7e16SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
97f8eb7e16SMatthias Sohn        <executions>
98f8eb7e16SMatthias Sohn          <execution>
99f8eb7e16SMatthias Sohn            <id>translate-source-qualifier</id>
100f8eb7e16SMatthias Sohn            <phase>generate-resources</phase>
101f8eb7e16SMatthias Sohn            <configuration>
102f8eb7e16SMatthias Sohn              <tasks>
103f8eb7e16SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
104f8eb7e16SMatthias Sohn                <replace file="${source-bundle-manifest}">
105f8eb7e16SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
106f8eb7e16SMatthias Sohn                </replace>
107f8eb7e16SMatthias Sohn              </tasks>
108f8eb7e16SMatthias Sohn            </configuration>
109f8eb7e16SMatthias Sohn            <goals>
110f8eb7e16SMatthias Sohn              <goal>run</goal>
111f8eb7e16SMatthias Sohn            </goals>
112f8eb7e16SMatthias Sohn          </execution>
113f8eb7e16SMatthias Sohn        </executions>
114f8eb7e16SMatthias Sohn      </plugin>
115f8eb7e16SMatthias Sohn
116f8eb7e16SMatthias Sohn      <plugin>
117f8eb7e16SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
118f8eb7e16SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
119f8eb7e16SMatthias Sohn        <inherited>true</inherited>
120f8eb7e16SMatthias Sohn        <executions>
121f8eb7e16SMatthias Sohn          <execution>
122f8eb7e16SMatthias Sohn            <id>attach-sources</id>
123f8eb7e16SMatthias Sohn            <phase>process-classes</phase>
124f8eb7e16SMatthias Sohn            <goals>
125f8eb7e16SMatthias Sohn              <goal>jar</goal>
126f8eb7e16SMatthias Sohn            </goals>
127f8eb7e16SMatthias Sohn            <configuration>
128f8eb7e16SMatthias Sohn              <archive>
129f8eb7e16SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
130f8eb7e16SMatthias Sohn              </archive>
131f8eb7e16SMatthias Sohn            </configuration>
132f8eb7e16SMatthias Sohn          </execution>
133f8eb7e16SMatthias Sohn        </executions>
134f8eb7e16SMatthias Sohn      </plugin>
135f8eb7e16SMatthias Sohn
136f8eb7e16SMatthias 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>
144241ab227SChris Aniszczyk         <plugin>
145241ab227SChris Aniszczyk            <groupId>org.codehaus.mojo</groupId>
146241ab227SChris Aniszczyk            <artifactId>findbugs-maven-plugin</artifactId>
147241ab227SChris Aniszczyk            <configuration>
148241ab227SChris Aniszczyk               <findbugsXmlOutput>true</findbugsXmlOutput>
149241ab227SChris Aniszczyk               <failOnError>false</failOnError>
150*f6a15f04SMatthias Sohn               <excludeFilterFile>findBugs/FindBugsExcludeFilter.xml</excludeFilterFile>
151241ab227SChris Aniszczyk            </configuration>
152241ab227SChris Aniszczyk            <executions>
153241ab227SChris Aniszczyk               <execution>
154241ab227SChris Aniszczyk                  <goals>
155241ab227SChris Aniszczyk                     <goal>check</goal>
156241ab227SChris Aniszczyk                  </goals>
157241ab227SChris Aniszczyk               </execution>
158241ab227SChris Aniszczyk            </executions>
159241ab227SChris Aniszczyk         </plugin>
160241ab227SChris Aniszczyk         <plugin>
161241ab227SChris Aniszczyk            <groupId>org.apache.maven.plugins</groupId>
162241ab227SChris Aniszczyk            <artifactId>maven-pmd-plugin</artifactId>
163241ab227SChris Aniszczyk            <configuration>
164241ab227SChris Aniszczyk               <sourceEncoding>utf-8</sourceEncoding>
165241ab227SChris Aniszczyk               <minimumTokens>100</minimumTokens>
166241ab227SChris Aniszczyk               <targetJdk>1.5</targetJdk>
167241ab227SChris Aniszczyk               <format>xml</format>
168241ab227SChris Aniszczyk               <failOnViolation>false</failOnViolation>
169241ab227SChris Aniszczyk            </configuration>
170241ab227SChris Aniszczyk            <executions>
171241ab227SChris Aniszczyk               <execution>
172241ab227SChris Aniszczyk                  <goals>
173241ab227SChris Aniszczyk                     <goal>cpd-check</goal>
174241ab227SChris Aniszczyk                  </goals>
175241ab227SChris Aniszczyk               </execution>
176241ab227SChris Aniszczyk            </executions>
177241ab227SChris Aniszczyk         </plugin>
178fc5fc70eSShawn O. Pearce    </plugins>
179fc5fc70eSShawn O. Pearce  </build>
180dad52baaSShawn O. Pearce</project>
181