xref: /JGit/org.eclipse.jgit.gpg.bc.test/pom.xml (revision 77848d635b76d8294697ffaf11acf51256df2a5b)
1*77848d63SMatthias Sohn<?xml version="1.0" encoding="UTF-8"?>
2*77848d63SMatthias Sohn<!--
3*77848d63SMatthias Sohn  Copyright (C) 2018, Thomas Wolf <thomas.wolf@paranor.ch> and others
4*77848d63SMatthias Sohn
5*77848d63SMatthias Sohn  This program and the accompanying materials are made available under the
6*77848d63SMatthias Sohn  terms of the Eclipse Distribution License v. 1.0 which is available at
7*77848d63SMatthias Sohn  http://www.eclipse.org/org/documents/edl-v10.php.
8*77848d63SMatthias Sohn
9*77848d63SMatthias Sohn  SPDX-License-Identifier: BSD-3-Clause
10*77848d63SMatthias Sohn-->
11*77848d63SMatthias Sohn
12*77848d63SMatthias Sohn<project xmlns="http://maven.apache.org/POM/4.0.0"
13*77848d63SMatthias Sohn    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14*77848d63SMatthias Sohn    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
15*77848d63SMatthias Sohn  <modelVersion>4.0.0</modelVersion>
16*77848d63SMatthias Sohn
17*77848d63SMatthias Sohn  <parent>
18*77848d63SMatthias Sohn    <groupId>org.eclipse.jgit</groupId>
19*77848d63SMatthias Sohn    <artifactId>org.eclipse.jgit-parent</artifactId>
20*77848d63SMatthias Sohn    <version>5.8.0-SNAPSHOT</version>
21*77848d63SMatthias Sohn  </parent>
22*77848d63SMatthias Sohn
23*77848d63SMatthias Sohn  <artifactId>org.eclipse.jgit.gpg.bc.test</artifactId>
24*77848d63SMatthias Sohn  <name>JGit - BouncyCastle GPG Tests</name>
25*77848d63SMatthias Sohn
26*77848d63SMatthias Sohn  <description>
27*77848d63SMatthias Sohn    JUnit tests for the JGit GPG support based on BouncyCastle.
28*77848d63SMatthias Sohn  </description>
29*77848d63SMatthias Sohn
30*77848d63SMatthias Sohn  <properties>
31*77848d63SMatthias Sohn    <maven.javadoc.skip>true</maven.javadoc.skip>
32*77848d63SMatthias Sohn  </properties>
33*77848d63SMatthias Sohn
34*77848d63SMatthias Sohn  <dependencies>
35*77848d63SMatthias Sohn    <dependency>
36*77848d63SMatthias Sohn      <groupId>junit</groupId>
37*77848d63SMatthias Sohn      <artifactId>junit</artifactId>
38*77848d63SMatthias Sohn    </dependency>
39*77848d63SMatthias Sohn
40*77848d63SMatthias Sohn    <dependency>
41*77848d63SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
42*77848d63SMatthias Sohn      <artifactId>org.eclipse.jgit</artifactId>
43*77848d63SMatthias Sohn      <version>${project.version}</version>
44*77848d63SMatthias Sohn    </dependency>
45*77848d63SMatthias Sohn
46*77848d63SMatthias Sohn    <dependency>
47*77848d63SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
48*77848d63SMatthias Sohn      <artifactId>org.eclipse.jgit.junit</artifactId>
49*77848d63SMatthias Sohn      <version>${project.version}</version>
50*77848d63SMatthias Sohn    </dependency>
51*77848d63SMatthias Sohn
52*77848d63SMatthias Sohn    <dependency>
53*77848d63SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
54*77848d63SMatthias Sohn      <artifactId>org.eclipse.jgit.gpg.bc</artifactId>
55*77848d63SMatthias Sohn      <version>${project.version}</version>
56*77848d63SMatthias Sohn    </dependency>
57*77848d63SMatthias Sohn
58*77848d63SMatthias Sohn    <dependency>
59*77848d63SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
60*77848d63SMatthias Sohn      <artifactId>org.eclipse.jgit.test</artifactId>
61*77848d63SMatthias Sohn      <version>${project.version}</version>
62*77848d63SMatthias Sohn    </dependency>
63*77848d63SMatthias Sohn
64*77848d63SMatthias Sohn  </dependencies>
65*77848d63SMatthias Sohn
66*77848d63SMatthias Sohn  <profiles>
67*77848d63SMatthias Sohn    <!-- Profile provides a property which enables long running tests. -->
68*77848d63SMatthias Sohn    <profile>
69*77848d63SMatthias Sohn      <id>test.long</id>
70*77848d63SMatthias Sohn      <build>
71*77848d63SMatthias Sohn        <plugins>
72*77848d63SMatthias Sohn          <plugin>
73*77848d63SMatthias Sohn            <groupId>org.apache.maven.plugins</groupId>
74*77848d63SMatthias Sohn            <artifactId>maven-surefire-plugin</artifactId>
75*77848d63SMatthias Sohn            <configuration>
76*77848d63SMatthias Sohn              <argLine>@{argLine} -Djgit.test.long=true</argLine>
77*77848d63SMatthias Sohn            </configuration>
78*77848d63SMatthias Sohn          </plugin>
79*77848d63SMatthias Sohn        </plugins>
80*77848d63SMatthias Sohn      </build>
81*77848d63SMatthias Sohn    </profile>
82*77848d63SMatthias Sohn  </profiles>
83*77848d63SMatthias Sohn
84*77848d63SMatthias Sohn  <build>
85*77848d63SMatthias Sohn    <sourceDirectory>src/</sourceDirectory>
86*77848d63SMatthias Sohn    <testSourceDirectory>tst/</testSourceDirectory>
87*77848d63SMatthias Sohn
88*77848d63SMatthias Sohn    <plugins>
89*77848d63SMatthias Sohn      <plugin>
90*77848d63SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
91*77848d63SMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
92*77848d63SMatthias Sohn        <executions>
93*77848d63SMatthias Sohn          <execution>
94*77848d63SMatthias Sohn            <goals>
95*77848d63SMatthias Sohn              <goal>test-jar</goal>
96*77848d63SMatthias Sohn            </goals>
97*77848d63SMatthias Sohn          </execution>
98*77848d63SMatthias Sohn        </executions>
99*77848d63SMatthias Sohn      </plugin>
100*77848d63SMatthias Sohn      <plugin>
101*77848d63SMatthias Sohn        <artifactId>maven-surefire-plugin</artifactId>
102*77848d63SMatthias Sohn        <configuration>
103*77848d63SMatthias Sohn          <argLine>@{argLine} -Xmx1024m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
104*77848d63SMatthias Sohn          <includes>
105*77848d63SMatthias Sohn            <include>**/*Test.java</include>
106*77848d63SMatthias Sohn            <include>**/*Tests.java</include>
107*77848d63SMatthias Sohn          </includes>
108*77848d63SMatthias Sohn        </configuration>
109*77848d63SMatthias Sohn      </plugin>
110*77848d63SMatthias Sohn    </plugins>
111*77848d63SMatthias Sohn  </build>
112*77848d63SMatthias Sohn</project>
113