xref: /JGit/org.eclipse.jgit.junit.http/pom.xml (revision 27f1fb668f09bccf7c506f51f16d70d04ec8a240)
151e2646dSJens Baumgart<?xml version="1.0" encoding="UTF-8"?>
251e2646dSJens Baumgart<!--
351e2646dSJens Baumgart   Copyright (C) 2010, Jens Baumgart <jens.baumgart@sap.com>
451e2646dSJens Baumgart   and other copyright owners as documented in the project's IP log.
551e2646dSJens Baumgart
651e2646dSJens Baumgart   This program and the accompanying materials are made available
751e2646dSJens Baumgart   under the terms of the Eclipse Distribution License v1.0 which
851e2646dSJens Baumgart   accompanies this distribution, is reproduced below, and is
951e2646dSJens Baumgart   available at http://www.eclipse.org/org/documents/edl-v10.php
1051e2646dSJens Baumgart
1151e2646dSJens Baumgart   All rights reserved.
1251e2646dSJens Baumgart
1351e2646dSJens Baumgart   Redistribution and use in source and binary forms, with or
1451e2646dSJens Baumgart   without modification, are permitted provided that the following
1551e2646dSJens Baumgart   conditions are met:
1651e2646dSJens Baumgart
1751e2646dSJens Baumgart   - Redistributions of source code must retain the above copyright
1851e2646dSJens Baumgart     notice, this list of conditions and the following disclaimer.
1951e2646dSJens Baumgart
2051e2646dSJens Baumgart   - Redistributions in binary form must reproduce the above
2151e2646dSJens Baumgart     copyright notice, this list of conditions and the following
2251e2646dSJens Baumgart     disclaimer in the documentation and/or other materials provided
2351e2646dSJens Baumgart     with the distribution.
2451e2646dSJens Baumgart
2551e2646dSJens Baumgart   - Neither the name of the Eclipse Foundation, Inc. nor the
2651e2646dSJens Baumgart     names of its contributors may be used to endorse or promote
2751e2646dSJens Baumgart     products derived from this software without specific prior
2851e2646dSJens Baumgart     written permission.
2951e2646dSJens Baumgart
3051e2646dSJens Baumgart   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
3151e2646dSJens Baumgart   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
3251e2646dSJens Baumgart   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
3351e2646dSJens Baumgart   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
3451e2646dSJens Baumgart   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
3551e2646dSJens Baumgart   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3651e2646dSJens Baumgart   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
3751e2646dSJens Baumgart   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
3851e2646dSJens Baumgart   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
3951e2646dSJens Baumgart   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
4051e2646dSJens Baumgart   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
4151e2646dSJens Baumgart   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
4251e2646dSJens Baumgart   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4351e2646dSJens Baumgart-->
4451e2646dSJens Baumgart
4551e2646dSJens Baumgart<project xmlns="http://maven.apache.org/POM/4.0.0"
4651e2646dSJens Baumgart    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4751e2646dSJens Baumgart    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4851e2646dSJens Baumgart  <modelVersion>4.0.0</modelVersion>
4951e2646dSJens Baumgart
5051e2646dSJens Baumgart  <parent>
5151e2646dSJens Baumgart    <groupId>org.eclipse.jgit</groupId>
5251e2646dSJens Baumgart    <artifactId>org.eclipse.jgit-parent</artifactId>
5390107d53SMatthias Sohn    <version>5.4.0-SNAPSHOT</version>
5451e2646dSJens Baumgart  </parent>
5551e2646dSJens Baumgart
5651e2646dSJens Baumgart  <artifactId>org.eclipse.jgit.junit.http</artifactId>
5751e2646dSJens Baumgart  <name>JGit - JUnit Http Utility Classes</name>
5851e2646dSJens Baumgart
5951e2646dSJens Baumgart  <description>
6051e2646dSJens Baumgart    Utility classes to support Http based JUnit testing of JGit applications.
6151e2646dSJens Baumgart  </description>
6251e2646dSJens Baumgart
6351e2646dSJens Baumgart  <properties>
6451e2646dSJens Baumgart    <translate-qualifier/>
65*27f1fb66SMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
6651e2646dSJens Baumgart  </properties>
6751e2646dSJens Baumgart
6851e2646dSJens Baumgart  <dependencies>
6951e2646dSJens Baumgart    <dependency>
7051e2646dSJens Baumgart      <groupId>org.eclipse.jgit</groupId>
7151e2646dSJens Baumgart      <artifactId>org.eclipse.jgit</artifactId>
7251e2646dSJens Baumgart      <version>${project.version}</version>
7351e2646dSJens Baumgart    </dependency>
7451e2646dSJens Baumgart
7551e2646dSJens Baumgart    <dependency>
7651e2646dSJens Baumgart      <groupId>junit</groupId>
7751e2646dSJens Baumgart      <artifactId>junit</artifactId>
7851e2646dSJens Baumgart      <scope>provided</scope>
7951e2646dSJens Baumgart    </dependency>
8051e2646dSJens Baumgart
8151e2646dSJens Baumgart    <dependency>
8251e2646dSJens Baumgart      <groupId>org.eclipse.jgit</groupId>
8351e2646dSJens Baumgart      <artifactId>org.eclipse.jgit.http.server</artifactId>
8451e2646dSJens Baumgart      <version>${project.version}</version>
8551e2646dSJens Baumgart    </dependency>
8651e2646dSJens Baumgart
8751e2646dSJens Baumgart    <dependency>
8851e2646dSJens Baumgart      <groupId>org.eclipse.jgit</groupId>
8951e2646dSJens Baumgart      <artifactId>org.eclipse.jgit.junit</artifactId>
9051e2646dSJens Baumgart      <version>${project.version}</version>
9151e2646dSJens Baumgart    </dependency>
9251e2646dSJens Baumgart
9351e2646dSJens Baumgart    <dependency>
9451e2646dSJens Baumgart      <groupId>org.eclipse.jetty</groupId>
9551e2646dSJens Baumgart      <artifactId>jetty-servlet</artifactId>
9651e2646dSJens Baumgart    </dependency>
9751e2646dSJens Baumgart  </dependencies>
9851e2646dSJens Baumgart
9951e2646dSJens Baumgart  <build>
10051e2646dSJens Baumgart    <sourceDirectory>src/</sourceDirectory>
10151e2646dSJens Baumgart
10251e2646dSJens Baumgart    <resources>
10351e2646dSJens Baumgart      <resource>
10451e2646dSJens Baumgart        <directory>.</directory>
10551e2646dSJens Baumgart        <includes>
10651e2646dSJens Baumgart          <include>plugin.properties</include>
10751e2646dSJens Baumgart        </includes>
10851e2646dSJens Baumgart      </resource>
10951e2646dSJens Baumgart    </resources>
11051e2646dSJens Baumgart
11151e2646dSJens Baumgart    <plugins>
11251e2646dSJens Baumgart      <plugin>
113*27f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
114*27f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
115*27f1fb66SMatthias Sohn        <executions>
116*27f1fb66SMatthias Sohn          <execution>
117*27f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
118*27f1fb66SMatthias Sohn            <phase>generate-resources</phase>
119*27f1fb66SMatthias Sohn            <configuration>
120*27f1fb66SMatthias Sohn              <target>
121*27f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
122*27f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
123*27f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
124*27f1fb66SMatthias Sohn                </replace>
125*27f1fb66SMatthias Sohn              </target>
126*27f1fb66SMatthias Sohn            </configuration>
127*27f1fb66SMatthias Sohn            <goals>
128*27f1fb66SMatthias Sohn              <goal>run</goal>
129*27f1fb66SMatthias Sohn            </goals>
130*27f1fb66SMatthias Sohn          </execution>
131*27f1fb66SMatthias Sohn        </executions>
132*27f1fb66SMatthias Sohn      </plugin>
133*27f1fb66SMatthias Sohn
134*27f1fb66SMatthias Sohn      <plugin>
135*27f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
136*27f1fb66SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
137*27f1fb66SMatthias Sohn        <inherited>true</inherited>
138*27f1fb66SMatthias Sohn        <executions>
139*27f1fb66SMatthias Sohn          <execution>
140*27f1fb66SMatthias Sohn            <id>attach-sources</id>
141*27f1fb66SMatthias Sohn            <phase>process-classes</phase>
142*27f1fb66SMatthias Sohn            <goals>
143*27f1fb66SMatthias Sohn              <goal>jar</goal>
144*27f1fb66SMatthias Sohn            </goals>
145*27f1fb66SMatthias Sohn            <configuration>
146*27f1fb66SMatthias Sohn              <archive>
147*27f1fb66SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
148*27f1fb66SMatthias Sohn              </archive>
149*27f1fb66SMatthias Sohn            </configuration>
150*27f1fb66SMatthias Sohn          </execution>
151*27f1fb66SMatthias Sohn        </executions>
152*27f1fb66SMatthias Sohn      </plugin>
153*27f1fb66SMatthias Sohn
154*27f1fb66SMatthias Sohn      <plugin>
15551e2646dSJens Baumgart        <artifactId>maven-jar-plugin</artifactId>
15651e2646dSJens Baumgart        <configuration>
15751e2646dSJens Baumgart          <archive>
15851e2646dSJens Baumgart            <manifestFile>${bundle-manifest}</manifestFile>
15951e2646dSJens Baumgart          </archive>
16051e2646dSJens Baumgart        </configuration>
16151e2646dSJens Baumgart      </plugin>
16251e2646dSJens Baumgart    </plugins>
16351e2646dSJens Baumgart  </build>
16451e2646dSJens Baumgart</project>
165