25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

1440 satır
52KB

  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.apache</groupId>
  5. <artifactId>apache</artifactId>
  6. <version>23</version>
  7. </parent>
  8. <groupId>tmp.org.apache.sshd</groupId>
  9. <artifactId>placeholder.sshd</artifactId>
  10. <version>2.9.2</version>
  11. <name>Apache Mina SSHD</name>
  12. <packaging>pom</packaging>
  13. <inceptionYear>2008</inceptionYear>
  14. <licenses>
  15. <license>
  16. <name>Apache 2.0 License</name>
  17. <url>https://www.apache.org/licenses/LICENSE-2.0</url>
  18. <distribution>repo</distribution>
  19. </license>
  20. </licenses>
  21. <mailingLists>
  22. <mailingList>
  23. <name>Users mailing list</name>
  24. <subscribe>users-subscribe@mina.apache.org</subscribe>
  25. <unsubscribe>users-unsubscribe@mina.apache.org</unsubscribe>
  26. <post>users@mina.apache.org</post>
  27. <archive>https://mail-archives.apache.org/mod_mbox/mina-users/</archive>
  28. </mailingList>
  29. <mailingList>
  30. <name>MINA Development mailing list</name>
  31. <subscribe>dev-subscribe@mina.apache.org</subscribe>
  32. <unsubscribe>dev-unsubscribe@mina.apache.org</unsubscribe>
  33. <post>dev@mina.apache.org</post>
  34. <archive>https://mail-archives.apache.org/mod_mbox/mina-dev/</archive>
  35. <otherArchives>
  36. <otherArchive>https://www.nabble.com/Apache-MINA-f16868.html</otherArchive>
  37. </otherArchives>
  38. </mailingList>
  39. <mailingList>
  40. <name>MINA Commit mailing list</name>
  41. <subscribe>commits-subscribe@mina.apache.org</subscribe>
  42. <unsubscribe>commits-unsubscribe@mina.apache.org</unsubscribe>
  43. <archive>https://mail-archives.apache.org/mod_mbox/mina-commits/</archive>
  44. </mailingList>
  45. </mailingLists>
  46. <issueManagement>
  47. <system>JIRA</system>
  48. <url>https://issues.apache.org/jira/browse/SSHD</url>
  49. </issueManagement>
  50. <scm>
  51. <connection>scm:git:https://gitbox.apache.org/repos/asf/mina-sshd.git</connection>
  52. <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/mina-sshd.git</developerConnection>
  53. <url>https://github.com/apache/mina-sshd/tree/${project.scm.tag}</url>
  54. <tag>sshd-2.9.2</tag>
  55. </scm>
  56. <properties>
  57. <projectRoot>${project.basedir}</projectRoot>
  58. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  59. <project.build.outputTimestamp>2022-11-09T13:31:49Z</project.build.outputTimestamp>
  60. <java.major.version>1</java.major.version>
  61. <java.minor.version>8</java.minor.version>
  62. <java.sdk.version>8</java.sdk.version>
  63. <sniffer.signatures.version>1.0</sniffer.signatures.version>
  64. <javac.source>${java.major.version}.${java.minor.version}</javac.source>
  65. <project.build.java.source>${javac.source}</project.build.java.source>
  66. <maven.compiler.source>${javac.source}</maven.compiler.source>
  67. <ant.version>1.10.12</ant.version>
  68. <ant.build.javac.source>${javac.source}</ant.build.javac.source>
  69. <build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version>
  70. <javac.target>${javac.source}</javac.target>
  71. <required.java.version>[${javac.target},)</required.java.version>
  72. <project.build.java.target>${javac.target}</project.build.java.target>
  73. <maven.compiler.target>${javac.target}</maven.compiler.target>
  74. <ant.build.javac.target>${javac.target}</ant.build.javac.target>
  75. <min.required.maven.version>3.5.0</min.required.maven.version>
  76. <groovy.version>3.0.11</groovy.version>
  77. <bouncycastle.version>1.70</bouncycastle.version>
  78. <slf4j.version>1.7.32</slf4j.version>
  79. <logback.version>1.2.11</logback.version>
  80. <spring.version>5.3.20</spring.version>
  81. <jgit.version>5.13.0.202109080827-r</jgit.version>
  82. <junit.version>4.13.2</junit.version>
  83. <bytebuddy.version>1.12.6</bytebuddy.version>
  84. <testcontainers.version>1.16.2</testcontainers.version>
  85. <grpc.version>1.27.2</grpc.version>
  86. <jna.version>5.8.0</jna.version>
  87. <surefire.plugin.version>3.0.0-M7</surefire.plugin.version>
  88. <maven.archiver.version>3.5.1</maven.archiver.version>
  89. <scm.plugin.version>1.12.0</scm.plugin.version>
  90. <plexus.archiver.version>4.2.6</plexus.archiver.version>
  91. <pmd.version>6.47.0</pmd.version>
  92. <sshd.tests.timeout.factor>1.0</sshd.tests.timeout.factor>
  93. <sshd.tests.rerun.count>2</sshd.tests.rerun.count>
  94. <dependency.download.silent>true</dependency.download.silent>
  95. </properties>
  96. <profiles>
  97. <profile>
  98. <id>release</id>
  99. <properties>
  100. <required.java.version>[1.8,1.9)</required.java.version>
  101. </properties>
  102. </profile>
  103. <profile>
  104. <id>ci</id>
  105. <properties>
  106. <sshd.tests.timeout.factor>4.0</sshd.tests.timeout.factor>
  107. <sshd.tests.rerun.count>4</sshd.tests.rerun.count>
  108. </properties>
  109. </profile>
  110. <profile>
  111. <id>quick</id>
  112. <properties>
  113. <skipTests>true</skipTests>
  114. <maven.javadoc.skip>true</maven.javadoc.skip>
  115. </properties>
  116. </profile>
  117. <profile>
  118. <id>findbugs</id>
  119. <build>
  120. <plugins>
  121. <plugin>
  122. <groupId>org.codehaus.mojo</groupId>
  123. <artifactId>findbugs-maven-plugin</artifactId>
  124. <configuration>
  125. <xmlOutput>true</xmlOutput>
  126. <fork>false</fork>
  127. <includeTests>true</includeTests>
  128. <includeFilterFile>${workspace.root.dir}${file.separator}sshd-findbugs.xml</includeFilterFile>
  129. </configuration>
  130. <executions>
  131. <execution>
  132. <id>run-findbugs</id>
  133. <phase>compile</phase>
  134. <goals>
  135. <goal>check</goal>
  136. </goals>
  137. </execution>
  138. </executions>
  139. </plugin>
  140. </plugins>
  141. </build>
  142. </profile>
  143. <profile>
  144. <id>owasp</id>
  145. <build>
  146. <plugins>
  147. <plugin>
  148. <groupId>org.owasp</groupId>
  149. <artifactId>dependency-check-maven</artifactId>
  150. <version>7.1.1</version>
  151. <configuration>
  152. <retireJsAnalyzerEnabled>false</retireJsAnalyzerEnabled>
  153. <suppressionFiles>
  154. <suppressionFile>${workspace.root.dir}${file.separator}sshd-owasp-suppressions.xml</suppressionFile>
  155. </suppressionFiles>
  156. <skipSystemScope>true</skipSystemScope>
  157. <skipTestScope>true</skipTestScope>
  158. <assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
  159. <nuspecAnalyzerEnabled>false</nuspecAnalyzerEnabled>
  160. <versionCheckEnabled>false</versionCheckEnabled>
  161. </configuration>
  162. <executions>
  163. <execution>
  164. <id>run-owasp-dependency-check</id>
  165. <goals>
  166. <goal>check</goal>
  167. </goals>
  168. </execution>
  169. </executions>
  170. </plugin>
  171. </plugins>
  172. </build>
  173. </profile>
  174. <profile>
  175. <id>javac-errorprone</id>
  176. <build>
  177. <plugins>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-compiler-plugin</artifactId>
  181. <configuration>
  182. <compilerId>javac-with-errorprone</compilerId>
  183. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  184. <showWarnings>true</showWarnings>
  185. </configuration>
  186. <dependencies>
  187. <dependency>
  188. <groupId>org.codehaus.plexus</groupId>
  189. <artifactId>plexus-compiler-javac-errorprone</artifactId>
  190. <version>2.8.1</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.google.errorprone</groupId>
  194. <artifactId>error_prone_core</artifactId>
  195. <version>2.0.15</version>
  196. </dependency>
  197. </dependencies>
  198. </plugin>
  199. </plugins>
  200. </build>
  201. </profile>
  202. <profile>
  203. <id>javac-jdk9+</id>
  204. <activation>
  205. <jdk>[9,)</jdk>
  206. </activation>
  207. <build>
  208. <plugins>
  209. <plugin>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-compiler-plugin</artifactId>
  212. <configuration>
  213. <release>${java.sdk.version}</release>
  214. </configuration>
  215. </plugin>
  216. </plugins>
  217. </build>
  218. </profile>
  219. <profile>
  220. <id>only-eclipse</id>
  221. <activation>
  222. <property>
  223. <name>m2e.version</name>
  224. </property>
  225. </activation>
  226. <build>
  227. <pluginManagement>
  228. <plugins>
  229. <plugin>
  230. <groupId>org.eclipse.m2e</groupId>
  231. <artifactId>lifecycle-mapping</artifactId>
  232. <version>1.0.0</version>
  233. <configuration>
  234. <lifecycleMappingMetadata>
  235. <pluginExecutions>
  236. <pluginExecution>
  237. <pluginExecutionFilter>
  238. <groupId>org.apache.maven.plugins</groupId>
  239. <artifactId>maven-dependency-plugin</artifactId>
  240. <versionRange>[1.0,)</versionRange>
  241. <goals>
  242. <goal>copy</goal>
  243. <goal>copy-dependencies</goal>
  244. </goals>
  245. </pluginExecutionFilter>
  246. <action>
  247. <execute />
  248. </action>
  249. </pluginExecution>
  250. <pluginExecution>
  251. <pluginExecutionFilter>
  252. <groupId>org.codehaus.gmavenplus</groupId>
  253. <artifactId>gmavenplus-plugin</artifactId>
  254. <versionRange>[1.0,)</versionRange>
  255. <goals>
  256. <goal>compile</goal>
  257. <goal>execute</goal>
  258. <goal>testCompile</goal>
  259. </goals>
  260. </pluginExecutionFilter>
  261. <action>
  262. <execute />
  263. </action>
  264. </pluginExecution>
  265. <pluginExecution>
  266. <pluginExecutionFilter>
  267. <groupId>org.apache.rat</groupId>
  268. <artifactId>apache-rat-plugin</artifactId>
  269. <versionRange>[0.1,)</versionRange>
  270. <goals>
  271. <goal>check</goal>
  272. </goals>
  273. </pluginExecutionFilter>
  274. <action>
  275. <execute />
  276. </action>
  277. </pluginExecution>
  278. <pluginExecution>
  279. <pluginExecutionFilter>
  280. <groupId>org.apache.maven.plugins</groupId>
  281. <artifactId>maven-checkstyle-plugin</artifactId>
  282. <versionRange>[1.0,)</versionRange>
  283. <goals>
  284. <goal>check</goal>
  285. </goals>
  286. </pluginExecutionFilter>
  287. <action>
  288. <ignore />
  289. </action>
  290. </pluginExecution>
  291. <pluginExecution>
  292. <pluginExecutionFilter>
  293. <groupId>org.apache.maven.plugins</groupId>
  294. <artifactId>maven-pmd-plugin</artifactId>
  295. <versionRange>[3.9.0,)</versionRange>
  296. <goals>
  297. <goal>check</goal>
  298. </goals>
  299. </pluginExecutionFilter>
  300. <action>
  301. <ignore />
  302. </action>
  303. </pluginExecution>
  304. <pluginExecution>
  305. <pluginExecutionFilter>
  306. <groupId>org.apache.felix</groupId>
  307. <artifactId>maven-bundle-plugin</artifactId>
  308. <versionRange>[1.0,)</versionRange>
  309. <goals>
  310. <goal>manifest</goal>
  311. </goals>
  312. </pluginExecutionFilter>
  313. <action>
  314. <execute />
  315. </action>
  316. </pluginExecution>
  317. <pluginExecution>
  318. <pluginExecutionFilter>
  319. <groupId>org.apache.maven.plugins</groupId>
  320. <artifactId>maven-antrun-plugin</artifactId>
  321. <versionRange>[1.8,)</versionRange>
  322. <goals>
  323. <goal>run</goal>
  324. </goals>
  325. </pluginExecutionFilter>
  326. <action>
  327. <execute />
  328. </action>
  329. </pluginExecution>
  330. </pluginExecutions>
  331. </lifecycleMappingMetadata>
  332. </configuration>
  333. </plugin>
  334. </plugins>
  335. </pluginManagement>
  336. </build>
  337. </profile>
  338. </profiles>
  339. <dependencies>
  340. <dependency>
  341. <groupId>org.slf4j</groupId>
  342. <artifactId>slf4j-api</artifactId>
  343. </dependency>
  344. <dependency>
  345. <groupId>org.slf4j</groupId>
  346. <artifactId>jcl-over-slf4j</artifactId>
  347. </dependency>
  348. <dependency>
  349. <groupId>org.slf4j</groupId>
  350. <artifactId>jul-to-slf4j</artifactId>
  351. <scope>test</scope>
  352. </dependency>
  353. <dependency>
  354. <groupId>ch.qos.logback</groupId>
  355. <artifactId>logback-core</artifactId>
  356. <scope>test</scope>
  357. </dependency>
  358. <dependency>
  359. <groupId>ch.qos.logback</groupId>
  360. <artifactId>logback-classic</artifactId>
  361. <scope>test</scope>
  362. </dependency>
  363. <dependency>
  364. <groupId>junit</groupId>
  365. <artifactId>junit</artifactId>
  366. <scope>test</scope>
  367. </dependency>
  368. <dependency>
  369. <groupId>org.mockito</groupId>
  370. <artifactId>mockito-core</artifactId>
  371. <scope>test</scope>
  372. </dependency>
  373. <dependency>
  374. <groupId>org.codehaus.groovy</groupId>
  375. <artifactId>groovy</artifactId>
  376. <version>${groovy.version}</version>
  377. </dependency>
  378. <dependency>
  379. <groupId>org.codehaus.groovy</groupId>
  380. <artifactId>groovy-ant</artifactId>
  381. <version>${groovy.version}</version>
  382. <exclusions>
  383. <exclusion>
  384. <groupId>org.apache.ant</groupId>
  385. <artifactId>ant-junit</artifactId>
  386. </exclusion>
  387. </exclusions>
  388. </dependency>
  389. <dependency>
  390. <groupId>org.apache.mina</groupId>
  391. <artifactId>mina-core</artifactId>
  392. <version>2.0.23</version>
  393. </dependency>
  394. <dependency>
  395. <groupId>tomcat</groupId>
  396. <artifactId>tomcat-apr</artifactId>
  397. <version>5.5.23</version>
  398. </dependency>
  399. <dependency>
  400. <groupId>net.i2p.crypto</groupId>
  401. <artifactId>eddsa</artifactId>
  402. <version>0.3.0</version>
  403. </dependency>
  404. <dependency>
  405. <groupId>org.bouncycastle</groupId>
  406. <artifactId>bcpg-jdk15on</artifactId>
  407. <version>${bouncycastle.version}</version>
  408. </dependency>
  409. <dependency>
  410. <groupId>org.bouncycastle</groupId>
  411. <artifactId>bcpkix-jdk15on</artifactId>
  412. <version>${bouncycastle.version}</version>
  413. </dependency>
  414. <dependency>
  415. <groupId>org.bouncycastle</groupId>
  416. <artifactId>bcprov-jdk15on</artifactId>
  417. <version>${bouncycastle.version}</version>
  418. </dependency>
  419. <dependency>
  420. <groupId>org.bouncycastle</groupId>
  421. <artifactId>bcutil-jdk15on</artifactId>
  422. <version>${bouncycastle.version}</version>
  423. </dependency>
  424. <dependency>
  425. <groupId>org.slf4j</groupId>
  426. <artifactId>slf4j-api</artifactId>
  427. <version>${slf4j.version}</version>
  428. </dependency>
  429. <dependency>
  430. <groupId>org.slf4j</groupId>
  431. <artifactId>jcl-over-slf4j</artifactId>
  432. <version>${slf4j.version}</version>
  433. </dependency>
  434. <dependency>
  435. <groupId>org.slf4j</groupId>
  436. <artifactId>jul-to-slf4j</artifactId>
  437. <version>${slf4j.version}</version>
  438. </dependency>
  439. <dependency>
  440. <groupId>org.slf4j</groupId>
  441. <artifactId>slf4j-jdk14</artifactId>
  442. <version>${slf4j.version}</version>
  443. </dependency>
  444. <dependency>
  445. <groupId>org.slf4j</groupId>
  446. <artifactId>slf4j-simple</artifactId>
  447. <version>${slf4j.version}</version>
  448. </dependency>
  449. <dependency>
  450. <groupId>ch.qos.logback</groupId>
  451. <artifactId>logback-core</artifactId>
  452. <version>${logback.version}</version>
  453. </dependency>
  454. <dependency>
  455. <groupId>ch.qos.logback</groupId>
  456. <artifactId>logback-classic</artifactId>
  457. <version>${logback.version}</version>
  458. </dependency>
  459. <dependency>
  460. <groupId>com.jcraft</groupId>
  461. <artifactId>jsch</artifactId>
  462. <version>0.1.55</version>
  463. </dependency>
  464. <dependency>
  465. <groupId>com.jcraft</groupId>
  466. <artifactId>jzlib</artifactId>
  467. <version>1.1.3</version>
  468. </dependency>
  469. <dependency>
  470. <groupId>commons-io</groupId>
  471. <artifactId>commons-io</artifactId>
  472. <version>2.11.0</version>
  473. </dependency>
  474. <dependency>
  475. <groupId>commons-lang</groupId>
  476. <artifactId>commons-lang</artifactId>
  477. <version>2.6</version>
  478. </dependency>
  479. <dependency>
  480. <groupId>commons-collections</groupId>
  481. <artifactId>commons-collections</artifactId>
  482. <version>3.2.2</version>
  483. </dependency>
  484. <dependency>
  485. <groupId>org.springframework</groupId>
  486. <artifactId>spring-core</artifactId>
  487. <version>${spring.version}</version>
  488. <exclusions>
  489. <exclusion>
  490. <groupId>org.springframework</groupId>
  491. <artifactId>spring-jcl</artifactId>
  492. </exclusion>
  493. </exclusions>
  494. </dependency>
  495. <dependency>
  496. <groupId>org.springframework</groupId>
  497. <artifactId>spring-framework-bom</artifactId>
  498. <version>${spring.version}</version>
  499. <type>pom</type>
  500. <scope>import</scope>
  501. </dependency>
  502. <dependency>
  503. <groupId>junit</groupId>
  504. <artifactId>junit</artifactId>
  505. <version>${junit.version}</version>
  506. </dependency>
  507. <dependency>
  508. <groupId>org.mockito</groupId>
  509. <artifactId>mockito-core</artifactId>
  510. <version>4.2.0</version>
  511. </dependency>
  512. <dependency>
  513. <groupId>com.google.code.findbugs</groupId>
  514. <artifactId>jsr305</artifactId>
  515. <version>3.0.2</version>
  516. </dependency>
  517. <dependency>
  518. <groupId>net.bytebuddy</groupId>
  519. <artifactId>byte-buddy</artifactId>
  520. <version>${bytebuddy.version}</version>
  521. </dependency>
  522. <dependency>
  523. <groupId>net.bytebuddy</groupId>
  524. <artifactId>byte-buddy-agent</artifactId>
  525. <version>${bytebuddy.version}</version>
  526. </dependency>
  527. <dependency>
  528. <groupId>net.sf.jpam</groupId>
  529. <artifactId>jpam</artifactId>
  530. <version>1.1</version>
  531. </dependency>
  532. <dependency>
  533. <groupId>commons-httpclient</groupId>
  534. <artifactId>commons-httpclient</artifactId>
  535. <version>3.1</version>
  536. <exclusions>
  537. <exclusion>
  538. <groupId>commons-logging</groupId>
  539. <artifactId>commons-logging</artifactId>
  540. </exclusion>
  541. </exclusions>
  542. </dependency>
  543. <dependency>
  544. <groupId>org.apache.httpcomponents</groupId>
  545. <artifactId>httpclient</artifactId>
  546. <version>4.5.13</version>
  547. <exclusions>
  548. <exclusion>
  549. <groupId>commons-logging</groupId>
  550. <artifactId>commons-logging</artifactId>
  551. </exclusion>
  552. </exclusions>
  553. </dependency>
  554. <dependency>
  555. <groupId>org.apache.httpcomponents</groupId>
  556. <artifactId>httpcore</artifactId>
  557. <version>4.4.15</version>
  558. </dependency>
  559. <dependency>
  560. <groupId>ch.ethz.ganymed</groupId>
  561. <artifactId>ganymed-ssh2</artifactId>
  562. <version>262</version>
  563. </dependency>
  564. <dependency>
  565. <groupId>org.eclipse.jgit</groupId>
  566. <artifactId>org.eclipse.jgit</artifactId>
  567. <version>${jgit.version}</version>
  568. </dependency>
  569. <dependency>
  570. <groupId>org.eclipse.jgit</groupId>
  571. <artifactId>org.eclipse.jgit.ssh.apache</artifactId>
  572. <version>${jgit.version}</version>
  573. <exclusions>
  574. <exclusion>
  575. <groupId>org.apache.sshd</groupId>
  576. <artifactId>sshd-core</artifactId>
  577. </exclusion>
  578. <exclusion>
  579. <groupId>org.apache.sshd</groupId>
  580. <artifactId>sshd-sftp</artifactId>
  581. </exclusion>
  582. </exclusions>
  583. </dependency>
  584. <dependency>
  585. <groupId>org.eclipse.jgit</groupId>
  586. <artifactId>org.eclipse.jgit.pgm</artifactId>
  587. <version>${jgit.version}</version>
  588. <exclusions>
  589. <exclusion>
  590. <groupId>org.slf4j</groupId>
  591. <artifactId>slf4j-log4j12</artifactId>
  592. </exclusion>
  593. <exclusion>
  594. <groupId>log4j</groupId>
  595. <artifactId>log4j</artifactId>
  596. </exclusion>
  597. </exclusions>
  598. </dependency>
  599. <dependency>
  600. <groupId>org.apache.servicemix.bundles</groupId>
  601. <artifactId>org.apache.servicemix.bundles.not-yet-commons-ssl</artifactId>
  602. <version>0.3.11_1</version>
  603. </dependency>
  604. <dependency>
  605. <groupId>org.apache.sshd</groupId>
  606. <artifactId>sshd</artifactId>
  607. <version>2.9.2</version>
  608. </dependency>
  609. </dependencies>
  610. <build>
  611. <pluginManagement>
  612. <plugins>
  613. <plugin>
  614. <groupId>org.apache.rat</groupId>
  615. <artifactId>apache-rat-plugin</artifactId>
  616. <version>0.13</version>
  617. <configuration>
  618. <consoleOutput>true</consoleOutput>
  619. <excludes>
  620. <exclude>.asf.yaml</exclude>
  621. <exclude>*.md</exclude>
  622. <exclude>docs/**</exclude>
  623. <exclude>sshd-sources/**</exclude>
  624. <exclude>src/test/resources/**</exclude>
  625. <exclude>**/stty-output-*.txt</exclude>
  626. <exclude>**/target/**</exclude>
  627. <exclude>**/.cache/**</exclude>
  628. <exclude>*checkstyle*</exclude>
  629. <exclude>*findbugs*</exclude>
  630. <exclude>*suppressions*</exclude>
  631. <exclude>**/big-msg.txt</exclude>
  632. <exclude>**/BCrypt.java</exclude>
  633. <exclude>LICENSE*</exclude>
  634. <exclude>NOTICE*</exclude>
  635. <exclude>security.txt</exclude>
  636. <exclude>*pmd*</exclude>
  637. <exclude>*.ser</exclude>
  638. <exclude>*.iml</exclude>
  639. <exclude>.metadata/**</exclude>
  640. <exclude>.recommenders/**</exclude>
  641. <exclude>RemoteSystemsTempFiles/**</exclude>
  642. <exclude>**/licenses/*.txt</exclude>
  643. <exclude>.project</exclude>
  644. <exclude>.classpath</exclude>
  645. <exclude>.springBeans</exclude>
  646. <exclude>.pydevproject</exclude>
  647. <exclude>*.pyc</exclude>
  648. <exclude>.settings/**</exclude>
  649. <exclude>.repository/**</exclude>
  650. <exclude>.gitignore</exclude>
  651. <exclude>.gitattributes</exclude>
  652. <exclude>.git/**</exclude>
  653. <exclude>.attach_pid*</exclude>
  654. </excludes>
  655. </configuration>
  656. </plugin>
  657. <plugin>
  658. <groupId>org.codehaus.mojo</groupId>
  659. <artifactId>animal-sniffer-maven-plugin</artifactId>
  660. <version>1.20</version>
  661. <configuration>
  662. <signature>
  663. <groupId>org.codehaus.mojo.signature</groupId>
  664. <artifactId>java${java.major.version}${java.minor.version}</artifactId>
  665. <version>${sniffer.signatures.version}</version>
  666. </signature>
  667. </configuration>
  668. <dependencies>
  669. <dependency>
  670. <groupId>org.codehaus.mojo.signature</groupId>
  671. <artifactId>java${java.major.version}${java.minor.version}</artifactId>
  672. <version>${sniffer.signatures.version}</version>
  673. <type>pom</type>
  674. </dependency>
  675. </dependencies>
  676. </plugin>
  677. <plugin>
  678. <groupId>org.apache.maven.plugins</groupId>
  679. <artifactId>maven-scm-plugin</artifactId>
  680. <version>${scm.plugin.version}</version>
  681. <dependencies>
  682. <dependency>
  683. <groupId>org.apache.maven.scm</groupId>
  684. <artifactId>maven-scm-api</artifactId>
  685. <version>${scm.plugin.version}</version>
  686. </dependency>
  687. <dependency>
  688. <groupId>org.apache.maven.scm</groupId>
  689. <artifactId>maven-scm-provider-gitexe</artifactId>
  690. <version>${scm.plugin.version}</version>
  691. </dependency>
  692. <dependency>
  693. <groupId>org.apache.maven.scm</groupId>
  694. <artifactId>maven-scm-provider-svn-commons</artifactId>
  695. <version>${scm.plugin.version}</version>
  696. </dependency>
  697. <dependency>
  698. <groupId>org.apache.maven.scm</groupId>
  699. <artifactId>maven-scm-provider-svnexe</artifactId>
  700. <version>${scm.plugin.version}</version>
  701. </dependency>
  702. </dependencies>
  703. </plugin>
  704. <plugin>
  705. <groupId>org.apache.maven.plugins</groupId>
  706. <artifactId>maven-release-plugin</artifactId>
  707. <version>3.0.0-M4</version>
  708. <configuration>
  709. <autoVersionSubmodules>true</autoVersionSubmodules>
  710. </configuration>
  711. </plugin>
  712. <plugin>
  713. <groupId>org.apache.maven.plugins</groupId>
  714. <artifactId>maven-gpg-plugin</artifactId>
  715. <version>3.0.1</version>
  716. </plugin>
  717. <plugin>
  718. <groupId>org.apache.maven.plugins</groupId>
  719. <artifactId>maven-source-plugin</artifactId>
  720. <version>3.2.1</version>
  721. <dependencies>
  722. <dependency>
  723. <groupId>org.apache.maven</groupId>
  724. <artifactId>maven-archiver</artifactId>
  725. <version>${maven.archiver.version}</version>
  726. </dependency>
  727. <dependency>
  728. <groupId>org.codehaus.plexus</groupId>
  729. <artifactId>plexus-archiver</artifactId>
  730. <version>${plexus.archiver.version}</version>
  731. </dependency>
  732. </dependencies>
  733. </plugin>
  734. <plugin>
  735. <groupId>org.apache.maven.plugins</groupId>
  736. <artifactId>maven-resources-plugin</artifactId>
  737. <version>3.2.0</version>
  738. <configuration>
  739. <propertiesEncoding>ISO-8859-1</propertiesEncoding>
  740. </configuration>
  741. </plugin>
  742. <plugin>
  743. <groupId>org.apache.maven.plugins</groupId>
  744. <artifactId>maven-clean-plugin</artifactId>
  745. <version>3.1.0</version>
  746. </plugin>
  747. <plugin>
  748. <groupId>org.apache.maven.plugins</groupId>
  749. <artifactId>maven-install-plugin</artifactId>
  750. <version>3.0.0-M1</version>
  751. </plugin>
  752. <plugin>
  753. <groupId>org.apache.maven.plugins</groupId>
  754. <artifactId>maven-javadoc-plugin</artifactId>
  755. <version>3.3.1</version>
  756. <configuration>
  757. <additionalOptions>-Xdoclint:-missing</additionalOptions>
  758. <encoding>${project.build.sourceEncoding}</encoding>
  759. <quiet>true</quiet>
  760. <links>
  761. <link>http://docs.oracle.com/javase/${java.sdk.version}/docs/api</link>
  762. </links>
  763. </configuration>
  764. <dependencies>
  765. <dependency>
  766. <groupId>org.apache.maven</groupId>
  767. <artifactId>maven-archiver</artifactId>
  768. <version>${maven.archiver.version}</version>
  769. </dependency>
  770. <dependency>
  771. <groupId>org.codehaus.plexus</groupId>
  772. <artifactId>plexus-archiver</artifactId>
  773. <version>${plexus.archiver.version}</version>
  774. </dependency>
  775. </dependencies>
  776. </plugin>
  777. <plugin>
  778. <groupId>org.codehaus.gmavenplus</groupId>
  779. <artifactId>gmavenplus-plugin</artifactId>
  780. <version>1.13.1</version>
  781. <dependencies>
  782. <dependency>
  783. <groupId>org.apache.ant</groupId>
  784. <artifactId>ant</artifactId>
  785. <version>${ant.version}</version>
  786. </dependency>
  787. <dependency>
  788. <groupId>org.apache.ant</groupId>
  789. <artifactId>ant-launcher</artifactId>
  790. <version>${ant.version}</version>
  791. </dependency>
  792. <dependency>
  793. <groupId>org.apache.ant</groupId>
  794. <artifactId>ant-junit4</artifactId>
  795. <version>${ant.version}</version>
  796. </dependency>
  797. <dependency>
  798. <groupId>org.apache.ant</groupId>
  799. <artifactId>ant-antlr</artifactId>
  800. <version>${ant.version}</version>
  801. </dependency>
  802. <dependency>
  803. <groupId>junit</groupId>
  804. <artifactId>junit</artifactId>
  805. <version>${junit.version}</version>
  806. </dependency>
  807. <dependency>
  808. <groupId>org.codehaus.groovy</groupId>
  809. <artifactId>groovy</artifactId>
  810. <version>${groovy.version}</version>
  811. </dependency>
  812. <dependency>
  813. <groupId>org.codehaus.groovy</groupId>
  814. <artifactId>groovy-ant</artifactId>
  815. <version>${groovy.version}</version>
  816. <exclusions>
  817. <exclusion>
  818. <groupId>org.apache.ant</groupId>
  819. <artifactId>ant-junit</artifactId>
  820. </exclusion>
  821. </exclusions>
  822. </dependency>
  823. </dependencies>
  824. </plugin>
  825. <plugin>
  826. <groupId>org.apache.maven.plugins</groupId>
  827. <artifactId>maven-checkstyle-plugin</artifactId>
  828. <version>3.1.2</version>
  829. <configuration>
  830. <logViolationsToConsole>true</logViolationsToConsole>
  831. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  832. <resourceExcludes>**/*.properties</resourceExcludes>
  833. </configuration>
  834. <dependencies>
  835. <dependency>
  836. <groupId>com.puppycrawl.tools</groupId>
  837. <artifactId>checkstyle</artifactId>
  838. <version>9.3</version>
  839. <exclusions>
  840. <exclusion>
  841. <groupId>com.sun</groupId>
  842. <artifactId>tools</artifactId>
  843. </exclusion>
  844. <exclusion>
  845. <groupId>commons-logging</groupId>
  846. <artifactId>commons-logging</artifactId>
  847. </exclusion>
  848. </exclusions>
  849. </dependency>
  850. <dependency>
  851. <groupId>org.slf4j</groupId>
  852. <artifactId>slf4j-api</artifactId>
  853. <version>${slf4j.version}</version>
  854. </dependency>
  855. <dependency>
  856. <groupId>org.slf4j</groupId>
  857. <artifactId>jcl-over-slf4j</artifactId>
  858. <version>${slf4j.version}</version>
  859. </dependency>
  860. <dependency>
  861. <groupId>org.slf4j</groupId>
  862. <artifactId>slf4j-log4j12</artifactId>
  863. <version>${slf4j.version}</version>
  864. </dependency>
  865. </dependencies>
  866. </plugin>
  867. <plugin>
  868. <groupId>org.codehaus.mojo</groupId>
  869. <artifactId>findbugs-maven-plugin</artifactId>
  870. <version>3.0.5</version>
  871. <configuration>
  872. <effort>Max</effort>
  873. <threshold>Low</threshold>
  874. <xmlOutput>true</xmlOutput>
  875. <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
  876. </configuration>
  877. <dependencies>
  878. <dependency>
  879. <groupId>com.google.code.findbugs</groupId>
  880. <artifactId>findbugs</artifactId>
  881. <version>3.0.1</version>
  882. </dependency>
  883. <dependency>
  884. <groupId>org.apache.ant</groupId>
  885. <artifactId>ant</artifactId>
  886. <version>${ant.version}</version>
  887. </dependency>
  888. <dependency>
  889. <groupId>org.apache.ant</groupId>
  890. <artifactId>ant-junit4</artifactId>
  891. <version>${ant.version}</version>
  892. </dependency>
  893. <dependency>
  894. <groupId>org.apache.ant</groupId>
  895. <artifactId>ant-antlr</artifactId>
  896. <version>${ant.version}</version>
  897. </dependency>
  898. <dependency>
  899. <groupId>org.apache.ant</groupId>
  900. <artifactId>ant-launcher</artifactId>
  901. <version>${ant.version}</version>
  902. </dependency>
  903. <dependency>
  904. <groupId>org.codehaus.groovy</groupId>
  905. <artifactId>groovy</artifactId>
  906. <version>${groovy.version}</version>
  907. </dependency>
  908. <dependency>
  909. <groupId>org.codehaus.groovy</groupId>
  910. <artifactId>groovy-xml</artifactId>
  911. <version>${groovy.version}</version>
  912. </dependency>
  913. <dependency>
  914. <groupId>org.codehaus.groovy</groupId>
  915. <artifactId>groovy-groovydoc</artifactId>
  916. <version>${groovy.version}</version>
  917. </dependency>
  918. <dependency>
  919. <groupId>org.codehaus.groovy</groupId>
  920. <artifactId>groovy-templates</artifactId>
  921. <version>${groovy.version}</version>
  922. </dependency>
  923. <dependency>
  924. <groupId>org.codehaus.groovy</groupId>
  925. <artifactId>groovy-ant</artifactId>
  926. <version>${groovy.version}</version>
  927. <exclusions>
  928. <exclusion>
  929. <groupId>org.apache.ant</groupId>
  930. <artifactId>ant-junit</artifactId>
  931. </exclusion>
  932. </exclusions>
  933. </dependency>
  934. </dependencies>
  935. </plugin>
  936. <plugin>
  937. <groupId>org.apache.maven.plugins</groupId>
  938. <artifactId>maven-pmd-plugin</artifactId>
  939. <version>3.17.0</version>
  940. <configuration>
  941. <targetJdk>${javac.target}</targetJdk>
  942. <printFailingErrors>true</printFailingErrors>
  943. <skipPmdError>false</skipPmdError>
  944. <analysisCache>true</analysisCache>
  945. <showPmdLog>false</showPmdLog>
  946. <excludeRoots>
  947. <excludeRoot>target/generated-sources/java</excludeRoot>
  948. </excludeRoots>
  949. <excludes>
  950. <exclude>**/BCrypt.java</exclude>
  951. </excludes>
  952. </configuration>
  953. <dependencies>
  954. <dependency>
  955. <groupId>net.sourceforge.pmd</groupId>
  956. <artifactId>pmd-core</artifactId>
  957. <version>${pmd.version}</version>
  958. </dependency>
  959. <dependency>
  960. <groupId>net.sourceforge.pmd</groupId>
  961. <artifactId>pmd-java</artifactId>
  962. <version>${pmd.version}</version>
  963. </dependency>
  964. <dependency>
  965. <groupId>net.sourceforge.pmd</groupId>
  966. <artifactId>pmd-javascript</artifactId>
  967. <version>${pmd.version}</version>
  968. </dependency>
  969. <dependency>
  970. <groupId>net.sourceforge.pmd</groupId>
  971. <artifactId>pmd-jsp</artifactId>
  972. <version>${pmd.version}</version>
  973. </dependency>
  974. </dependencies>
  975. </plugin>
  976. <plugin>
  977. <groupId>org.apache.maven.plugins</groupId>
  978. <artifactId>maven-surefire-plugin</artifactId>
  979. <version>${surefire.plugin.version}</version>
  980. </plugin>
  981. <plugin>
  982. <groupId>org.apache.maven.plugins</groupId>
  983. <artifactId>maven-dependency-plugin</artifactId>
  984. <version>3.2.0</version>
  985. <dependencies>
  986. <dependency>
  987. <groupId>org.codehaus.plexus</groupId>
  988. <artifactId>plexus-archiver</artifactId>
  989. <version>${plexus.archiver.version}</version>
  990. </dependency>
  991. </dependencies>
  992. </plugin>
  993. <plugin>
  994. <groupId>org.apache.maven.plugins</groupId>
  995. <artifactId>maven-antrun-plugin</artifactId>
  996. <version>3.0.0</version>
  997. <dependencies>
  998. <dependency>
  999. <groupId>org.apache.ant</groupId>
  1000. <artifactId>ant</artifactId>
  1001. <version>${ant.version}</version>
  1002. </dependency>
  1003. </dependencies>
  1004. </plugin>
  1005. <plugin>
  1006. <groupId>net.revelc.code.formatter</groupId>
  1007. <artifactId>formatter-maven-plugin</artifactId>
  1008. <version>2.16.0</version>
  1009. <configuration>
  1010. <skipXmlFormatting>true</skipXmlFormatting>
  1011. <skipHtmlFormatting>true</skipHtmlFormatting>
  1012. <skipJsonFormatting>true</skipJsonFormatting>
  1013. <cachedir>${project.build.outputDirectory}${file.separator}.cache</cachedir>
  1014. <configFile>${workspace.root.dir}${file.separator}sshd-eclipse-formatter-config.xml</configFile>
  1015. <lineEnding>LF</lineEnding>
  1016. </configuration>
  1017. </plugin>
  1018. <plugin>
  1019. <groupId>net.revelc.code</groupId>
  1020. <artifactId>impsort-maven-plugin</artifactId>
  1021. <version>1.6.2</version>
  1022. <configuration>
  1023. <lineEnding>LF</lineEnding>
  1024. <groups>java.,javax.,org.w3c.,org.xml.,junit.</groups>
  1025. <removeUnused>true</removeUnused>
  1026. <staticAfter>true</staticAfter>
  1027. <staticGroups>java.,javax.,org.w3c.,org.xml.,junit.</staticGroups>
  1028. </configuration>
  1029. </plugin>
  1030. <plugin>
  1031. <groupId>org.codehaus.mojo</groupId>
  1032. <artifactId>build-helper-maven-plugin</artifactId>
  1033. <version>${build-helper-maven-plugin.version}</version>
  1034. </plugin>
  1035. </plugins>
  1036. </pluginManagement>
  1037. <plugins>
  1038. <plugin>
  1039. <groupId>org.codehaus.gmavenplus</groupId>
  1040. <artifactId>gmavenplus-plugin</artifactId>
  1041. <executions>
  1042. <execution>
  1043. <id>detect-workspace-root-dir</id>
  1044. <phase>validate</phase>
  1045. <goals>
  1046. <goal>execute</goal>
  1047. </goals>
  1048. <configuration>
  1049. <scripts>
  1050. <script>
  1051. for (java.io.File file = new java.io.File(new java.net.URI('${project.baseUri}')); file != null; file = file.getParentFile()) {
  1052. if (!file.isDirectory()) {
  1053. continue
  1054. }
  1055. java.io.File testFile = new java.io.File(file, 'LICENSE.txt')
  1056. if (testFile.canRead()) {
  1057. project.properties['workspace.root.dir'] = file.getAbsolutePath()
  1058. // System.out.println("Workspace root dir: " + project.properties['workspace.root.dir'])
  1059. return
  1060. }
  1061. }
  1062. System.err.println("Failed to detect workspace root dir")
  1063. </script>
  1064. </scripts>
  1065. </configuration>
  1066. </execution>
  1067. </executions>
  1068. </plugin>
  1069. <plugin>
  1070. <groupId>net.revelc.code.formatter</groupId>
  1071. <artifactId>formatter-maven-plugin</artifactId>
  1072. <executions>
  1073. <execution>
  1074. <id>format</id>
  1075. <phase>process-sources</phase>
  1076. <goals>
  1077. <goal>format</goal>
  1078. </goals>
  1079. </execution>
  1080. </executions>
  1081. </plugin>
  1082. <plugin>
  1083. <groupId>net.revelc.code</groupId>
  1084. <artifactId>impsort-maven-plugin</artifactId>
  1085. <executions>
  1086. <execution>
  1087. <id>sort-imports</id>
  1088. <phase>process-sources</phase>
  1089. <goals>
  1090. <goal>sort</goal>
  1091. </goals>
  1092. </execution>
  1093. </executions>
  1094. </plugin>
  1095. <plugin>
  1096. <groupId>org.apache.maven.plugins</groupId>
  1097. <artifactId>maven-checkstyle-plugin</artifactId>
  1098. <configuration>
  1099. <configLocation>${workspace.root.dir}${file.separator}sshd-checkstyle.xml</configLocation>
  1100. <headerLocation>${workspace.root.dir}${file.separator}java-checkstyle-license-header.txt</headerLocation>
  1101. <propertyExpansion>samedir=${workspace.root.dir}</propertyExpansion>
  1102. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  1103. </configuration>
  1104. <executions>
  1105. <execution>
  1106. <id>verify-style</id>
  1107. <phase>process-sources</phase>
  1108. <goals>
  1109. <goal>check</goal>
  1110. </goals>
  1111. </execution>
  1112. </executions>
  1113. </plugin>
  1114. <plugin>
  1115. <groupId>org.apache.maven.plugins</groupId>
  1116. <artifactId>maven-pmd-plugin</artifactId>
  1117. <configuration>
  1118. <rulesets>
  1119. <ruleset>${workspace.root.dir}${file.separator}sshd-pmd-ruleset.xml</ruleset>
  1120. </rulesets>
  1121. <includeTests>true</includeTests>
  1122. </configuration>
  1123. <executions>
  1124. <execution>
  1125. <id>pmd-checker</id>
  1126. <phase>process-test-classes</phase>
  1127. <goals>
  1128. <goal>check</goal>
  1129. </goals>
  1130. </execution>
  1131. </executions>
  1132. </plugin>
  1133. <plugin>
  1134. <groupId>org.codehaus.mojo</groupId>
  1135. <artifactId>animal-sniffer-maven-plugin</artifactId>
  1136. <executions>
  1137. <execution>
  1138. <id>check-java-api</id>
  1139. <phase>compile</phase>
  1140. <goals>
  1141. <goal>check</goal>
  1142. </goals>
  1143. </execution>
  1144. </executions>
  1145. </plugin>
  1146. <plugin>
  1147. <groupId>org.apache.maven.plugins</groupId>
  1148. <artifactId>maven-enforcer-plugin</artifactId>
  1149. <version>3.0.0</version>
  1150. <executions>
  1151. <execution>
  1152. <id>enforce-maven-version</id>
  1153. <goals>
  1154. <goal>enforce</goal>
  1155. </goals>
  1156. <configuration>
  1157. <rules>
  1158. <requireMavenVersion>
  1159. <version>${min.required.maven.version}</version>
  1160. </requireMavenVersion>
  1161. <requireJavaVersion>
  1162. <version>${required.java.version}</version>
  1163. </requireJavaVersion>
  1164. <requireReleaseDeps>
  1165. <onlyWhenRelease>true</onlyWhenRelease>
  1166. <message>No Snapshot Dependencies Allowed</message>
  1167. </requireReleaseDeps>
  1168. <dependencyConvergence />
  1169. </rules>
  1170. </configuration>
  1171. </execution>
  1172. </executions>
  1173. </plugin>
  1174. <plugin>
  1175. <groupId>org.apache.maven.plugins</groupId>
  1176. <artifactId>maven-clean-plugin</artifactId>
  1177. <executions>
  1178. <execution>
  1179. <id>auto-clean-key-files</id>
  1180. <phase>initialize</phase>
  1181. <goals>
  1182. <goal>clean</goal>
  1183. </goals>
  1184. <configuration>
  1185. <excludeDefaultDirectories>true</excludeDefaultDirectories>
  1186. <filesets>
  1187. <fileset>
  1188. <directory>${projects.basedir}</directory>
  1189. <includes>
  1190. <include>*.ser</include>
  1191. <include>*.pem</include>
  1192. </includes>
  1193. </fileset>
  1194. </filesets>
  1195. </configuration>
  1196. </execution>
  1197. </executions>
  1198. </plugin>
  1199. <plugin>
  1200. <groupId>org.apache.maven.plugins</groupId>
  1201. <artifactId>maven-compiler-plugin</artifactId>
  1202. <version>3.8.1</version>
  1203. <configuration>
  1204. <source>${javac.source}</source>
  1205. <target>${javac.target}</target>
  1206. <compilerArgument>-g</compilerArgument>
  1207. <compilerArgument>-Xlint:-serial</compilerArgument>
  1208. <compilerArgument>-Xlint:unchecked</compilerArgument>
  1209. </configuration>
  1210. </plugin>
  1211. <plugin>
  1212. <groupId>org.apache.maven.plugins</groupId>
  1213. <artifactId>maven-dependency-plugin</artifactId>
  1214. <executions>
  1215. <execution>
  1216. <id>download-sources</id>
  1217. <phase>install</phase>
  1218. <goals>
  1219. <goal>sources</goal>
  1220. </goals>
  1221. <configuration>
  1222. <excludeGroupIds>org.apache.sshd</excludeGroupIds>
  1223. <markersDirectory>${settings.localRepository}/org/apache/sshd/dependency-maven-plugin-markers</markersDirectory>
  1224. <silent>${dependency.download.silent}</silent>
  1225. </configuration>
  1226. </execution>
  1227. <execution>
  1228. <id>download-javadoc</id>
  1229. <phase>install</phase>
  1230. <goals>
  1231. <goal>resolve</goal>
  1232. </goals>
  1233. <configuration>
  1234. <excludeGroupIds>org.apache.sshd</excludeGroupIds>
  1235. <markersDirectory>${settings.localRepository}/org/apache/sshd/dependency-maven-plugin-markers</markersDirectory>
  1236. <classifier>javadoc</classifier>
  1237. <silent>${dependency.download.silent}</silent>
  1238. </configuration>
  1239. </execution>
  1240. </executions>
  1241. </plugin>
  1242. <plugin>
  1243. <groupId>org.apache.maven.plugins</groupId>
  1244. <artifactId>maven-remote-resources-plugin</artifactId>
  1245. <version>1.7.0</version>
  1246. <executions>
  1247. <execution>
  1248. <goals>
  1249. <goal>process</goal>
  1250. </goals>
  1251. <configuration>
  1252. <resourceBundles>
  1253. <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
  1254. </resourceBundles>
  1255. <supplementalModels>
  1256. <supplementalModel>${workspace.root.dir}${file.separator}assembly${file.separator}src${file.separator}main${file.separator}legal${file.separator}notices.xml</supplementalModel>
  1257. </supplementalModels>
  1258. <properties>
  1259. <projectName>Apache MINA SSHD</projectName>
  1260. <addLicense>true</addLicense>
  1261. <addArtifact>true</addArtifact>
  1262. </properties>
  1263. <outputTimestamp>${project.build.outputTimestamp}</outputTimestamp>
  1264. </configuration>
  1265. </execution>
  1266. </executions>
  1267. </plugin>
  1268. <plugin>
  1269. <groupId>org.apache.rat</groupId>
  1270. <artifactId>apache-rat-plugin</artifactId>
  1271. <executions>
  1272. <execution>
  1273. <id>check-apache-license-header</id>
  1274. <phase>validate</phase>
  1275. <goals>
  1276. <goal>check</goal>
  1277. </goals>
  1278. </execution>
  1279. </executions>
  1280. </plugin>
  1281. <plugin>
  1282. <groupId>org.apache.maven.plugins</groupId>
  1283. <artifactId>maven-assembly-plugin</artifactId>
  1284. <version>3.3.0</version>
  1285. <executions>
  1286. <execution>
  1287. <id>source-release-assembly</id>
  1288. <phase>none</phase>
  1289. </execution>
  1290. </executions>
  1291. </plugin>
  1292. <plugin>
  1293. <groupId>org.apache.felix</groupId>
  1294. <artifactId>maven-bundle-plugin</artifactId>
  1295. <version>5.1.3</version>
  1296. <inherited>true</inherited>
  1297. <extensions>true</extensions>
  1298. <executions>
  1299. <execution>
  1300. <id>versions</id>
  1301. <phase>validate</phase>
  1302. <goals>
  1303. <goal>cleanVersions</goal>
  1304. </goals>
  1305. <configuration>
  1306. <versions>
  1307. <sshd.osgi.version.clean>${project.version}</sshd.osgi.version.clean>
  1308. </versions>
  1309. </configuration>
  1310. </execution>
  1311. <execution>
  1312. <id>bundle-manifest</id>
  1313. <phase>process-classes</phase>
  1314. <goals>
  1315. <goal>manifest</goal>
  1316. </goals>
  1317. <configuration>
  1318. <instructions>
  1319. <Import-Package>org.apache.sshd*;version="[$(version;==;${sshd.osgi.version.clean}),$(version;=+;${sshd.osgi.version.clean}))",*</Import-Package>
  1320. <Export-Package>*;-noimport:=true</Export-Package>
  1321. </instructions>
  1322. <noWarningProjectTypes>pom</noWarningProjectTypes>
  1323. </configuration>
  1324. </execution>
  1325. </executions>
  1326. </plugin>
  1327. <plugin>
  1328. <groupId>org.apache.maven.plugins</groupId>
  1329. <artifactId>maven-jar-plugin</artifactId>
  1330. <version>3.2.0</version>
  1331. <inherited>true</inherited>
  1332. <configuration>
  1333. <archive>
  1334. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  1335. </archive>
  1336. </configuration>
  1337. <dependencies>
  1338. <dependency>
  1339. <groupId>org.apache.maven</groupId>
  1340. <artifactId>maven-archiver</artifactId>
  1341. <version>${maven.archiver.version}</version>
  1342. </dependency>
  1343. <dependency>
  1344. <groupId>org.codehaus.plexus</groupId>
  1345. <artifactId>plexus-archiver</artifactId>
  1346. <version>${plexus.archiver.version}</version>
  1347. </dependency>
  1348. </dependencies>
  1349. </plugin>
  1350. <plugin>
  1351. <groupId>org.apache.maven.plugins</groupId>
  1352. <artifactId>maven-surefire-plugin</artifactId>
  1353. <configuration>
  1354. <includes>
  1355. <include>**/*Test.java</include>
  1356. </includes>
  1357. <runOrder>alphabetical</runOrder>
  1358. <forkCount>1</forkCount>
  1359. <reuseForks>true</reuseForks>
  1360. <perCoreThreadCount>false</perCoreThreadCount>
  1361. <threadCount>1</threadCount>
  1362. <systemPropertyVariables>
  1363. <java.awt.headless>true</java.awt.headless>
  1364. <org.slf4j.simpleLogger.logFile>System.out</org.slf4j.simpleLogger.logFile>
  1365. <org.apache.sshd.test.timeout.factor>${sshd.tests.timeout.factor}</org.apache.sshd.test.timeout.factor>
  1366. <logback.configurationFile>${workspace.root.folder}${file.separator}sshd-common${file.separator}src${file.separator}test${file.separator}resources${file.separator}logback-test.xml</logback.configurationFile>
  1367. </systemPropertyVariables>
  1368. <trimStackTrace>false</trimStackTrace>
  1369. <rerunFailingTestsCount>${sshd.tests.rerun.count}</rerunFailingTestsCount>
  1370. </configuration>
  1371. <dependencies>
  1372. <dependency>
  1373. <groupId>junit</groupId>
  1374. <artifactId>junit</artifactId>
  1375. <version>${junit.version}</version>
  1376. </dependency>
  1377. <dependency>
  1378. <groupId>org.apache.maven.surefire</groupId>
  1379. <artifactId>surefire-junit47</artifactId>
  1380. <version>${surefire.plugin.version}</version>
  1381. </dependency>
  1382. </dependencies>
  1383. </plugin>
  1384. <plugin>
  1385. <groupId>org.codehaus.mojo</groupId>
  1386. <artifactId>build-helper-maven-plugin</artifactId>
  1387. <version>${build-helper-maven-plugin.version}</version>
  1388. <executions>
  1389. <execution>
  1390. <id>remove-previous-artifact</id>
  1391. <phase>clean</phase>
  1392. <goals>
  1393. <goal>remove-project-artifact</goal>
  1394. </goals>
  1395. <configuration>
  1396. <removeAll>false</removeAll>
  1397. </configuration>
  1398. </execution>
  1399. </executions>
  1400. </plugin>
  1401. </plugins>
  1402. </build>
  1403. <distributionManagement>
  1404. <repository>
  1405. <id>dummy</id>
  1406. <name>Dummy to avoid accidental deploys</name>
  1407. <url />
  1408. </repository>
  1409. </distributionManagement>
  1410. <reporting>
  1411. <plugins>
  1412. <plugin>
  1413. <groupId>org.apache.maven.plugins</groupId>
  1414. <artifactId>maven-jxr-plugin</artifactId>
  1415. <version>3.1.1</version>
  1416. </plugin>
  1417. </plugins>
  1418. </reporting>
  1419. <modules>
  1420. <module>sshd-common</module>
  1421. <module>sshd-putty</module>
  1422. <module>sshd-openpgp</module>
  1423. <module>sshd-core</module>
  1424. <module>sshd-mina</module>
  1425. <module>sshd-netty</module>
  1426. <module>sshd-scp</module>
  1427. <module>sshd-sftp</module>
  1428. <module>sshd-ldap</module>
  1429. <module>sshd-git</module>
  1430. <module>sshd-contrib</module>
  1431. <module>sshd-spring-sftp</module>
  1432. <module>sshd-cli</module>
  1433. <module>sshd-osgi</module>
  1434. <module>assembly</module>
  1435. </modules>
  1436. </project>