xref: /JGit/org.eclipse.jgit.junit.http/pom.xml (revision 1cbfea9ece03b40669377a7f858218f6994562ea)
151e2646dSJens Baumgart<?xml version="1.0" encoding="UTF-8"?>
251e2646dSJens Baumgart<!--
35c5f7c6bSMatthias Sohn  Copyright (C) 2010, Jens Baumgart <jens.baumgart@sap.com> and others
451e2646dSJens Baumgart
55c5f7c6bSMatthias Sohn  This program and the accompanying materials are made available under the
65c5f7c6bSMatthias Sohn  terms of the Eclipse Distribution License v. 1.0 which is available at
75c5f7c6bSMatthias Sohn  http://www.eclipse.org/org/documents/edl-v10.php.
851e2646dSJens Baumgart
95c5f7c6bSMatthias Sohn  SPDX-License-Identifier: BSD-3-Clause
1051e2646dSJens Baumgart-->
1151e2646dSJens Baumgart
1251e2646dSJens Baumgart<project xmlns="http://maven.apache.org/POM/4.0.0"
1351e2646dSJens Baumgart    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1451e2646dSJens Baumgart    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1551e2646dSJens Baumgart  <modelVersion>4.0.0</modelVersion>
1651e2646dSJens Baumgart
1751e2646dSJens Baumgart  <parent>
1851e2646dSJens Baumgart    <groupId>org.eclipse.jgit</groupId>
1951e2646dSJens Baumgart    <artifactId>org.eclipse.jgit-parent</artifactId>
20*1cbfea9eSMatthias Sohn    <version>5.13.0-SNAPSHOT</version>
2151e2646dSJens Baumgart  </parent>
2251e2646dSJens Baumgart
2351e2646dSJens Baumgart  <artifactId>org.eclipse.jgit.junit.http</artifactId>
2451e2646dSJens Baumgart  <name>JGit - JUnit Http Utility Classes</name>
2551e2646dSJens Baumgart
2651e2646dSJens Baumgart  <description>
2751e2646dSJens Baumgart    Utility classes to support Http based JUnit testing of JGit applications.
2851e2646dSJens Baumgart  </description>
2951e2646dSJens Baumgart
3051e2646dSJens Baumgart  <properties>
3151e2646dSJens Baumgart    <translate-qualifier/>
3227f1fb66SMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
3351e2646dSJens Baumgart  </properties>
3451e2646dSJens Baumgart
3551e2646dSJens Baumgart  <dependencies>
3651e2646dSJens Baumgart    <dependency>
3751e2646dSJens Baumgart      <groupId>org.eclipse.jgit</groupId>
3851e2646dSJens Baumgart      <artifactId>org.eclipse.jgit</artifactId>
3951e2646dSJens Baumgart      <version>${project.version}</version>
4051e2646dSJens Baumgart    </dependency>
4151e2646dSJens Baumgart
4251e2646dSJens Baumgart    <dependency>
4351e2646dSJens Baumgart      <groupId>junit</groupId>
4451e2646dSJens Baumgart      <artifactId>junit</artifactId>
4551e2646dSJens Baumgart      <scope>provided</scope>
4651e2646dSJens Baumgart    </dependency>
4751e2646dSJens Baumgart
4851e2646dSJens Baumgart    <dependency>
4951e2646dSJens Baumgart      <groupId>org.eclipse.jgit</groupId>
5051e2646dSJens Baumgart      <artifactId>org.eclipse.jgit.http.server</artifactId>
5151e2646dSJens Baumgart      <version>${project.version}</version>
5251e2646dSJens Baumgart    </dependency>
5351e2646dSJens Baumgart
5451e2646dSJens Baumgart    <dependency>
5551e2646dSJens Baumgart      <groupId>org.eclipse.jgit</groupId>
5651e2646dSJens Baumgart      <artifactId>org.eclipse.jgit.junit</artifactId>
5751e2646dSJens Baumgart      <version>${project.version}</version>
5851e2646dSJens Baumgart    </dependency>
5951e2646dSJens Baumgart
6051e2646dSJens Baumgart    <dependency>
6151e2646dSJens Baumgart      <groupId>org.eclipse.jetty</groupId>
6251e2646dSJens Baumgart      <artifactId>jetty-servlet</artifactId>
6351e2646dSJens Baumgart    </dependency>
6451e2646dSJens Baumgart  </dependencies>
6551e2646dSJens Baumgart
6651e2646dSJens Baumgart  <build>
6751e2646dSJens Baumgart    <sourceDirectory>src/</sourceDirectory>
6851e2646dSJens Baumgart
6951e2646dSJens Baumgart    <resources>
7051e2646dSJens Baumgart      <resource>
7151e2646dSJens Baumgart        <directory>.</directory>
7251e2646dSJens Baumgart        <includes>
7351e2646dSJens Baumgart          <include>plugin.properties</include>
7451e2646dSJens Baumgart        </includes>
7551e2646dSJens Baumgart      </resource>
7651e2646dSJens Baumgart    </resources>
7751e2646dSJens Baumgart
7851e2646dSJens Baumgart    <plugins>
7951e2646dSJens Baumgart      <plugin>
8027f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
8127f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
8227f1fb66SMatthias Sohn        <executions>
8327f1fb66SMatthias Sohn          <execution>
8427f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
8527f1fb66SMatthias Sohn            <phase>generate-resources</phase>
8627f1fb66SMatthias Sohn            <configuration>
8727f1fb66SMatthias Sohn              <target>
8827f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
8927f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
9027f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
9127f1fb66SMatthias Sohn                </replace>
9227f1fb66SMatthias Sohn              </target>
9327f1fb66SMatthias Sohn            </configuration>
9427f1fb66SMatthias Sohn            <goals>
9527f1fb66SMatthias Sohn              <goal>run</goal>
9627f1fb66SMatthias Sohn            </goals>
9727f1fb66SMatthias Sohn          </execution>
9827f1fb66SMatthias Sohn        </executions>
9927f1fb66SMatthias Sohn      </plugin>
10027f1fb66SMatthias Sohn
10127f1fb66SMatthias Sohn      <plugin>
10227f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
10327f1fb66SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
10427f1fb66SMatthias Sohn        <inherited>true</inherited>
10527f1fb66SMatthias Sohn        <executions>
10627f1fb66SMatthias Sohn          <execution>
10727f1fb66SMatthias Sohn            <id>attach-sources</id>
10827f1fb66SMatthias Sohn            <phase>process-classes</phase>
10927f1fb66SMatthias Sohn            <goals>
11027f1fb66SMatthias Sohn              <goal>jar</goal>
11127f1fb66SMatthias Sohn            </goals>
11227f1fb66SMatthias Sohn            <configuration>
11327f1fb66SMatthias Sohn              <archive>
11427f1fb66SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
11527f1fb66SMatthias Sohn              </archive>
11627f1fb66SMatthias Sohn            </configuration>
11727f1fb66SMatthias Sohn          </execution>
11827f1fb66SMatthias Sohn        </executions>
11927f1fb66SMatthias Sohn      </plugin>
12027f1fb66SMatthias Sohn
12127f1fb66SMatthias Sohn      <plugin>
12251e2646dSJens Baumgart        <artifactId>maven-jar-plugin</artifactId>
12351e2646dSJens Baumgart        <configuration>
12451e2646dSJens Baumgart          <archive>
12551e2646dSJens Baumgart            <manifestFile>${bundle-manifest}</manifestFile>
12651e2646dSJens Baumgart          </archive>
12751e2646dSJens Baumgart        </configuration>
12851e2646dSJens Baumgart      </plugin>
12951e2646dSJens Baumgart    </plugins>
13051e2646dSJens Baumgart  </build>
13151e2646dSJens Baumgart</project>
132