xref: /JGit/org.eclipse.jgit.ssh.apache/pom.xml (revision 1cbfea9ece03b40669377a7f858218f6994562ea)
1488d9557SThomas Wolf<?xml version="1.0" encoding="UTF-8"?>
2488d9557SThomas Wolf<!--
35c5f7c6bSMatthias Sohn  Copyright (C) 2018, Thomas Wolf <thomas.wolf@paranor.ch> and others
4488d9557SThomas Wolf
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.
8488d9557SThomas Wolf
95c5f7c6bSMatthias Sohn  SPDX-License-Identifier: BSD-3-Clause
10488d9557SThomas Wolf-->
11488d9557SThomas Wolf
12488d9557SThomas Wolf<project xmlns="http://maven.apache.org/POM/4.0.0"
13488d9557SThomas Wolf    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14488d9557SThomas Wolf    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
15488d9557SThomas Wolf  <modelVersion>4.0.0</modelVersion>
16488d9557SThomas Wolf
17488d9557SThomas Wolf  <parent>
18488d9557SThomas Wolf    <groupId>org.eclipse.jgit</groupId>
19488d9557SThomas Wolf    <artifactId>org.eclipse.jgit-parent</artifactId>
20*1cbfea9eSMatthias Sohn    <version>5.13.0-SNAPSHOT</version>
21488d9557SThomas Wolf  </parent>
22488d9557SThomas Wolf
23488d9557SThomas Wolf  <artifactId>org.eclipse.jgit.ssh.apache</artifactId>
24488d9557SThomas Wolf  <name>JGit - Apache sshd-based SSH support</name>
25488d9557SThomas Wolf
26488d9557SThomas Wolf  <description>
27488d9557SThomas Wolf    SSH support for JGit based on Apache MINA sshd
28488d9557SThomas Wolf  </description>
29488d9557SThomas Wolf
30488d9557SThomas Wolf  <properties>
31488d9557SThomas Wolf    <translate-qualifier/>
329b31969fSThomas Wolf    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
33db627c41SThomas Wolf    <eddsa-version>0.3.0</eddsa-version>
34488d9557SThomas Wolf  </properties>
35488d9557SThomas Wolf
36488d9557SThomas Wolf  <dependencies>
37488d9557SThomas Wolf    <dependency>
38488d9557SThomas Wolf      <groupId>org.eclipse.jgit</groupId>
39488d9557SThomas Wolf      <artifactId>org.eclipse.jgit</artifactId>
40488d9557SThomas Wolf      <version>${project.version}</version>
41488d9557SThomas Wolf    </dependency>
42488d9557SThomas Wolf
43488d9557SThomas Wolf    <dependency>
44488d9557SThomas Wolf      <groupId>org.apache.sshd</groupId>
4586cee68eSThomas Wolf      <artifactId>sshd-osgi</artifactId>
46488d9557SThomas Wolf      <version>${apache-sshd-version}</version>
47488d9557SThomas Wolf    </dependency>
48488d9557SThomas Wolf
49488d9557SThomas Wolf    <dependency>
50488d9557SThomas Wolf      <groupId>org.apache.sshd</groupId>
51488d9557SThomas Wolf      <artifactId>sshd-sftp</artifactId>
52488d9557SThomas Wolf      <version>${apache-sshd-version}</version>
53488d9557SThomas Wolf    </dependency>
54488d9557SThomas Wolf
55488d9557SThomas Wolf    <dependency>
56db627c41SThomas Wolf      <groupId>net.i2p.crypto</groupId>
57db627c41SThomas Wolf      <artifactId>eddsa</artifactId>
58db627c41SThomas Wolf      <version>${eddsa-version}</version>
59db627c41SThomas Wolf    </dependency>
60db627c41SThomas Wolf
61db627c41SThomas Wolf    <dependency>
62488d9557SThomas Wolf      <groupId>org.slf4j</groupId>
63488d9557SThomas Wolf      <artifactId>slf4j-api</artifactId>
64488d9557SThomas Wolf    </dependency>
65488d9557SThomas Wolf  </dependencies>
66488d9557SThomas Wolf
67488d9557SThomas Wolf  <build>
68488d9557SThomas Wolf    <sourceDirectory>src/</sourceDirectory>
69488d9557SThomas Wolf
70488d9557SThomas Wolf    <resources>
71488d9557SThomas Wolf      <resource>
72488d9557SThomas Wolf        <directory>.</directory>
73488d9557SThomas Wolf        <includes>
74488d9557SThomas Wolf          <include>plugin.properties</include>
75488d9557SThomas Wolf          <include>about.html</include>
76488d9557SThomas Wolf        </includes>
77488d9557SThomas Wolf      </resource>
78488d9557SThomas Wolf      <resource>
79488d9557SThomas Wolf        <directory>resources/</directory>
80488d9557SThomas Wolf      </resource>
81488d9557SThomas Wolf    </resources>
82488d9557SThomas Wolf
83488d9557SThomas Wolf    <plugins>
84488d9557SThomas Wolf      <plugin>
859b31969fSThomas Wolf        <groupId>org.apache.maven.plugins</groupId>
869b31969fSThomas Wolf        <artifactId>maven-antrun-plugin</artifactId>
879b31969fSThomas Wolf        <executions>
889b31969fSThomas Wolf          <execution>
899b31969fSThomas Wolf            <id>translate-source-qualifier</id>
909b31969fSThomas Wolf            <phase>generate-resources</phase>
919b31969fSThomas Wolf            <configuration>
929b31969fSThomas Wolf              <target>
939b31969fSThomas Wolf                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true" />
949b31969fSThomas Wolf                <replace file="${source-bundle-manifest}">
959b31969fSThomas Wolf                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}" />
969b31969fSThomas Wolf                </replace>
979b31969fSThomas Wolf              </target>
989b31969fSThomas Wolf            </configuration>
999b31969fSThomas Wolf            <goals>
1009b31969fSThomas Wolf              <goal>run</goal>
1019b31969fSThomas Wolf            </goals>
1029b31969fSThomas Wolf          </execution>
1039b31969fSThomas Wolf        </executions>
1049b31969fSThomas Wolf      </plugin>
1059b31969fSThomas Wolf
1069b31969fSThomas Wolf      <plugin>
1079b31969fSThomas Wolf        <groupId>org.apache.maven.plugins</groupId>
1089b31969fSThomas Wolf          <artifactId>maven-source-plugin</artifactId>
1099b31969fSThomas Wolf          <inherited>true</inherited>
1109b31969fSThomas Wolf          <executions>
1119b31969fSThomas Wolf            <execution>
1129b31969fSThomas Wolf              <id>attach-sources</id>
1139b31969fSThomas Wolf              <phase>process-classes</phase>
1149b31969fSThomas Wolf              <goals>
1159b31969fSThomas Wolf                <goal>jar</goal>
1169b31969fSThomas Wolf              </goals>
1179b31969fSThomas Wolf            <configuration>
1189b31969fSThomas Wolf              <archive>
1199b31969fSThomas Wolf                <manifestFile>${source-bundle-manifest}</manifestFile>
1209b31969fSThomas Wolf              </archive>
1219b31969fSThomas Wolf            </configuration>
1229b31969fSThomas Wolf          </execution>
1239b31969fSThomas Wolf        </executions>
1249b31969fSThomas Wolf      </plugin>
1259b31969fSThomas Wolf
1269b31969fSThomas Wolf      <plugin>
127488d9557SThomas Wolf        <artifactId>maven-jar-plugin</artifactId>
128488d9557SThomas Wolf        <configuration>
129488d9557SThomas Wolf          <archive>
130488d9557SThomas Wolf            <manifestFile>${bundle-manifest}</manifestFile>
131488d9557SThomas Wolf          </archive>
132488d9557SThomas Wolf        </configuration>
133488d9557SThomas Wolf      </plugin>
134488d9557SThomas Wolf
135488d9557SThomas Wolf      <plugin>
136488d9557SThomas Wolf          <groupId>com.github.siom79.japicmp</groupId>
137488d9557SThomas Wolf          <artifactId>japicmp-maven-plugin</artifactId>
138488d9557SThomas Wolf          <version>${japicmp-version}</version>
139488d9557SThomas Wolf          <configuration>
140488d9557SThomas Wolf              <oldVersion>
141488d9557SThomas Wolf                  <dependency>
142488d9557SThomas Wolf                      <groupId>${project.groupId}</groupId>
143488d9557SThomas Wolf                      <artifactId>${project.artifactId}</artifactId>
144488d9557SThomas Wolf                      <version>${jgit-last-release-version}</version>
145488d9557SThomas Wolf                  </dependency>
146488d9557SThomas Wolf              </oldVersion>
147488d9557SThomas Wolf              <newVersion>
148488d9557SThomas Wolf                  <file>
149488d9557SThomas Wolf                      <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
150488d9557SThomas Wolf                  </file>
151488d9557SThomas Wolf              </newVersion>
152488d9557SThomas Wolf              <parameter>
153488d9557SThomas Wolf                  <onlyModified>true</onlyModified>
154488d9557SThomas Wolf                  <includes>
155488d9557SThomas Wolf                      <include>org.eclipse.jgit.*</include>
156488d9557SThomas Wolf                  </includes>
157488d9557SThomas Wolf                  <accessModifier>public</accessModifier>
158488d9557SThomas Wolf                  <breakBuildOnModifications>false</breakBuildOnModifications>
159488d9557SThomas Wolf                  <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
160488d9557SThomas Wolf                  <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
161488d9557SThomas Wolf                  <includeSynthetic>false</includeSynthetic>
162488d9557SThomas Wolf                  <ignoreMissingClasses>false</ignoreMissingClasses>
163488d9557SThomas Wolf                  <skipPomModules>true</skipPomModules>
164488d9557SThomas Wolf              </parameter>
165e71e0068SThomas Wolf              <skip>false</skip>
166488d9557SThomas Wolf          </configuration>
167488d9557SThomas Wolf          <executions>
168488d9557SThomas Wolf            <execution>
169488d9557SThomas Wolf             <phase>verify</phase>
170488d9557SThomas Wolf             <goals>
171488d9557SThomas Wolf               <goal>cmp</goal>
172488d9557SThomas Wolf             </goals>
173488d9557SThomas Wolf          </execution>
174488d9557SThomas Wolf        </executions>
175488d9557SThomas Wolf      </plugin>
176488d9557SThomas Wolf    </plugins>
177488d9557SThomas Wolf  </build>
178488d9557SThomas Wolf
179488d9557SThomas Wolf  <reporting>
180488d9557SThomas Wolf    <plugins>
181488d9557SThomas Wolf      <plugin>
182488d9557SThomas Wolf          <groupId>com.github.siom79.japicmp</groupId>
183488d9557SThomas Wolf          <artifactId>japicmp-maven-plugin</artifactId>
184488d9557SThomas Wolf          <version>${japicmp-version}</version>
185488d9557SThomas Wolf          <reportSets>
186488d9557SThomas Wolf              <reportSet>
187488d9557SThomas Wolf                  <reports>
188488d9557SThomas Wolf                      <report>cmp-report</report>
189488d9557SThomas Wolf                  </reports>
190488d9557SThomas Wolf              </reportSet>
191488d9557SThomas Wolf          </reportSets>
192488d9557SThomas Wolf          <configuration>
193488d9557SThomas Wolf              <oldVersion>
194488d9557SThomas Wolf                  <dependency>
195488d9557SThomas Wolf                      <groupId>${project.groupId}</groupId>
196488d9557SThomas Wolf                      <artifactId>${project.artifactId}</artifactId>
197488d9557SThomas Wolf                      <version>${jgit-last-release-version}</version>
198488d9557SThomas Wolf                  </dependency>
199488d9557SThomas Wolf              </oldVersion>
200488d9557SThomas Wolf              <newVersion>
201488d9557SThomas Wolf                  <file>
202488d9557SThomas Wolf                      <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
203488d9557SThomas Wolf                  </file>
204488d9557SThomas Wolf              </newVersion>
205488d9557SThomas Wolf              <parameter>
206488d9557SThomas Wolf                  <onlyModified>true</onlyModified>
207488d9557SThomas Wolf                  <includes>
208488d9557SThomas Wolf                      <include>org.eclipse.jgit.*</include>
209488d9557SThomas Wolf                  </includes>
210488d9557SThomas Wolf                  <accessModifier>public</accessModifier>
211488d9557SThomas Wolf                  <breakBuildOnModifications>false</breakBuildOnModifications>
212488d9557SThomas Wolf                  <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
213488d9557SThomas Wolf                  <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
214488d9557SThomas Wolf                  <includeSynthetic>false</includeSynthetic>
215488d9557SThomas Wolf                  <ignoreMissingClasses>false</ignoreMissingClasses>
216488d9557SThomas Wolf                  <skipPomModules>true</skipPomModules>
217488d9557SThomas Wolf              </parameter>
218e71e0068SThomas Wolf              <skip>false</skip>
219488d9557SThomas Wolf          </configuration>
220488d9557SThomas Wolf      </plugin>
221488d9557SThomas Wolf    </plugins>
222488d9557SThomas Wolf  </reporting>
223488d9557SThomas Wolf</project>
224