blob: 4ab09667e714763e4ac6c8db49ba20bcf6b0d82e [file] [log] [blame]
Thomas Wolf488d9552018-09-23 16:45:45 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Matthias Sohn5c5f7c62020-01-04 00:50:50 +01003 Copyright (C) 2018, Thomas Wolf <thomas.wolf@paranor.ch> and others
Thomas Wolf488d9552018-09-23 16:45:45 +02004
Matthias Sohn5c5f7c62020-01-04 00:50:50 +01005 This program and the accompanying materials are made available under the
6 terms of the Eclipse Distribution License v. 1.0 which is available at
7 http://www.eclipse.org/org/documents/edl-v10.php.
Thomas Wolf488d9552018-09-23 16:45:45 +02008
Matthias Sohn5c5f7c62020-01-04 00:50:50 +01009 SPDX-License-Identifier: BSD-3-Clause
Thomas Wolf488d9552018-09-23 16:45:45 +020010-->
11
12<project xmlns="http://maven.apache.org/POM/4.0.0"
13 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
15 <modelVersion>4.0.0</modelVersion>
16
17 <parent>
18 <groupId>org.eclipse.jgit</groupId>
19 <artifactId>org.eclipse.jgit-parent</artifactId>
Matthias Sohnd0a22882024-06-03 23:10:25 +020020 <version>6.10.0.202406032110-r</version>
Thomas Wolf488d9552018-09-23 16:45:45 +020021 </parent>
22
23 <artifactId>org.eclipse.jgit.ssh.apache</artifactId>
24 <name>JGit - Apache sshd-based SSH support</name>
25
26 <description>
27 SSH support for JGit based on Apache MINA sshd
28 </description>
29
30 <properties>
31 <translate-qualifier/>
Thomas Wolf9b319692018-11-01 11:28:15 +010032 <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
Thomas Wolfdb627c42018-11-19 23:11:13 +010033 <eddsa-version>0.3.0</eddsa-version>
Thomas Wolf488d9552018-09-23 16:45:45 +020034 </properties>
35
36 <dependencies>
37 <dependency>
38 <groupId>org.eclipse.jgit</groupId>
39 <artifactId>org.eclipse.jgit</artifactId>
40 <version>${project.version}</version>
41 </dependency>
42
43 <dependency>
44 <groupId>org.apache.sshd</groupId>
Thomas Wolf86cee682019-01-14 17:30:03 +010045 <artifactId>sshd-osgi</artifactId>
Thomas Wolf488d9552018-09-23 16:45:45 +020046 <version>${apache-sshd-version}</version>
47 </dependency>
48
49 <dependency>
50 <groupId>org.apache.sshd</groupId>
51 <artifactId>sshd-sftp</artifactId>
52 <version>${apache-sshd-version}</version>
Thomas Wolf913e6cf2023-04-03 19:33:24 +020053 <exclusions>
54 <exclusion>
55 <groupId>org.apache.sshd</groupId>
56 <artifactId>sshd-common</artifactId>
57 </exclusion>
58 <exclusion>
59 <groupId>org.apache.sshd</groupId>
60 <artifactId>sshd-core</artifactId>
61 </exclusion>
62 </exclusions>
Thomas Wolf488d9552018-09-23 16:45:45 +020063 </dependency>
64
65 <dependency>
Thomas Wolfdb627c42018-11-19 23:11:13 +010066 <groupId>net.i2p.crypto</groupId>
67 <artifactId>eddsa</artifactId>
68 <version>${eddsa-version}</version>
69 </dependency>
70
71 <dependency>
Thomas Wolf488d9552018-09-23 16:45:45 +020072 <groupId>org.slf4j</groupId>
73 <artifactId>slf4j-api</artifactId>
74 </dependency>
75 </dependencies>
76
Thomas Wolf9b319692018-11-01 11:28:15 +010077 <build>
78 <sourceDirectory>src/</sourceDirectory>
Thomas Wolf488d9552018-09-23 16:45:45 +020079
Thomas Wolf9b319692018-11-01 11:28:15 +010080 <resources>
81 <resource>
82 <directory>.</directory>
83 <includes>
84 <include>plugin.properties</include>
85 <include>about.html</include>
86 </includes>
87 </resource>
88 <resource>
89 <directory>resources/</directory>
90 </resource>
91 </resources>
Thomas Wolf488d9552018-09-23 16:45:45 +020092
Thomas Wolf9b319692018-11-01 11:28:15 +010093 <plugins>
94 <plugin>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-antrun-plugin</artifactId>
97 <executions>
98 <execution>
99 <id>translate-source-qualifier</id>
100 <phase>generate-resources</phase>
101 <configuration>
102 <target>
103 <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true" />
104 <replace file="${source-bundle-manifest}">
Matthias Sohn60073712023-10-06 01:10:40 +0200105 <replacefilter token=".qualifier" value=".${commit.time.version}" />
Thomas Wolf9b319692018-11-01 11:28:15 +0100106 </replace>
107 </target>
108 </configuration>
109 <goals>
110 <goal>run</goal>
111 </goals>
112 </execution>
113 </executions>
114 </plugin>
115
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
Thomas Wolfff3c3d82021-10-24 21:32:33 +0200118 <artifactId>maven-source-plugin</artifactId>
119 <inherited>true</inherited>
120 <executions>
121 <execution>
122 <id>attach-sources</id>
123 <phase>process-classes</phase>
124 <goals>
125 <goal>jar</goal>
126 </goals>
Thomas Wolf9b319692018-11-01 11:28:15 +0100127 <configuration>
128 <archive>
129 <manifestFile>${source-bundle-manifest}</manifestFile>
130 </archive>
131 </configuration>
132 </execution>
133 </executions>
134 </plugin>
135
136 <plugin>
137 <artifactId>maven-jar-plugin</artifactId>
138 <configuration>
139 <archive>
140 <manifestFile>${bundle-manifest}</manifestFile>
141 </archive>
142 </configuration>
143 </plugin>
Thomas Wolf488d9552018-09-23 16:45:45 +0200144
145 <plugin>
146 <groupId>com.github.siom79.japicmp</groupId>
147 <artifactId>japicmp-maven-plugin</artifactId>
148 <version>${japicmp-version}</version>
149 <configuration>
150 <oldVersion>
151 <dependency>
152 <groupId>${project.groupId}</groupId>
153 <artifactId>${project.artifactId}</artifactId>
154 <version>${jgit-last-release-version}</version>
155 </dependency>
156 </oldVersion>
157 <newVersion>
158 <file>
159 <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
160 </file>
161 </newVersion>
162 <parameter>
163 <onlyModified>true</onlyModified>
164 <includes>
165 <include>org.eclipse.jgit.*</include>
166 </includes>
Thomas Wolf709087c2021-12-27 11:32:15 +0100167 <excludes>
168 <exclude>*.internal.*</exclude>
169 </excludes>
Thomas Wolf488d9552018-09-23 16:45:45 +0200170 <accessModifier>public</accessModifier>
171 <breakBuildOnModifications>false</breakBuildOnModifications>
172 <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
173 <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
174 <includeSynthetic>false</includeSynthetic>
175 <ignoreMissingClasses>false</ignoreMissingClasses>
176 <skipPomModules>true</skipPomModules>
177 </parameter>
Thomas Wolfe71e0062018-12-15 20:27:34 +0100178 <skip>false</skip>
Thomas Wolf488d9552018-09-23 16:45:45 +0200179 </configuration>
180 <executions>
181 <execution>
182 <phase>verify</phase>
183 <goals>
184 <goal>cmp</goal>
185 </goals>
186 </execution>
187 </executions>
188 </plugin>
Thomas Wolf9b319692018-11-01 11:28:15 +0100189 </plugins>
190 </build>
Thomas Wolf488d9552018-09-23 16:45:45 +0200191
Thomas Wolf9b319692018-11-01 11:28:15 +0100192 <reporting>
Thomas Wolf488d9552018-09-23 16:45:45 +0200193 <plugins>
194 <plugin>
195 <groupId>com.github.siom79.japicmp</groupId>
196 <artifactId>japicmp-maven-plugin</artifactId>
197 <version>${japicmp-version}</version>
198 <reportSets>
199 <reportSet>
200 <reports>
201 <report>cmp-report</report>
202 </reports>
203 </reportSet>
204 </reportSets>
205 <configuration>
206 <oldVersion>
207 <dependency>
208 <groupId>${project.groupId}</groupId>
209 <artifactId>${project.artifactId}</artifactId>
210 <version>${jgit-last-release-version}</version>
211 </dependency>
212 </oldVersion>
213 <newVersion>
214 <file>
215 <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
216 </file>
217 </newVersion>
218 <parameter>
219 <onlyModified>true</onlyModified>
220 <includes>
221 <include>org.eclipse.jgit.*</include>
222 </includes>
Thomas Wolf709087c2021-12-27 11:32:15 +0100223 <excludes>
224 <exclude>*.internal.*</exclude>
225 </excludes>
Thomas Wolf488d9552018-09-23 16:45:45 +0200226 <accessModifier>public</accessModifier>
227 <breakBuildOnModifications>false</breakBuildOnModifications>
228 <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
229 <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
230 <includeSynthetic>false</includeSynthetic>
231 <ignoreMissingClasses>false</ignoreMissingClasses>
232 <skipPomModules>true</skipPomModules>
233 </parameter>
Thomas Wolfe71e0062018-12-15 20:27:34 +0100234 <skip>false</skip>
Thomas Wolf488d9552018-09-23 16:45:45 +0200235 </configuration>
236 </plugin>
237 </plugins>
238 </reporting>
239</project>