| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd"> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.sshd</groupId> |
| <artifactId>sshd</artifactId> |
| <version>2.13.2</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <artifactId>sshd-mina</artifactId> |
| <name>Apache Mina SSHD :: Mina</name> |
| <packaging>jar</packaging> |
| <inceptionYear>2008</inceptionYear> |
| |
| <properties> |
| <projectRoot>${project.basedir}/..</projectRoot> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.sshd</groupId> |
| <artifactId>sshd-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-core</artifactId> |
| </dependency> |
| |
| <!-- test dependencies --> |
| <dependency> |
| <groupId>org.apache.sshd</groupId> |
| <artifactId>sshd-core</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sshd</groupId> |
| <artifactId>sshd-core</artifactId> |
| <version>${project.version}</version> |
| <classifier>reusable-tests</classifier> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sshd</groupId> |
| <artifactId>sshd-common</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.i2p.crypto</groupId> |
| <artifactId>eddsa</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.github.mwiede</groupId> |
| <artifactId>jsch</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-httpclient</groupId> |
| <artifactId>commons-httpclient</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>ch.ethz.ganymed</groupId> |
| <artifactId>ganymed-ssh2</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.not-yet-commons-ssl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <reportsDirectory>${project.build.directory}/surefire-reports-mina</reportsDirectory> |
| <forkCount>1</forkCount> |
| <reuseForks>false</reuseForks> |
| <excludes> |
| <!-- These tests use NIO2 explicitly --> |
| <exclude>**/Nio2ServiceTest.java</exclude> |
| <!-- testcontainers filesystem building from classpath doesn't work from reusable test jar classpath --> |
| <exclude>**/ArcFourOpenSshTest.java</exclude> |
| <exclude>**/ClientOpenSSHCertificatesTest.java</exclude> |
| <exclude>**/SessionReKeyHostKeyExchangeTest.java</exclude> |
| <exclude>**/HostBoundPubKeyAuthTest.java</exclude> |
| <exclude>**/OpenSshCipherTest.java</exclude> |
| <exclude>**/PortForwardingWithOpenSshTest.java</exclude> |
| <exclude>**/StrictKexInteroperabilityTest.java</exclude> |
| <!-- reading files from classpath doesn't work correctly w/ reusable test jar --> |
| <exclude>**/OpenSSHCertificateTest.java</exclude> |
| <!-- A MinaServiceFactory cannot be instantiated with a mock CloseableExecutorService. --> |
| <exclude>**/DefaultIoServiceFactoryFactoryTest.java</exclude> |
| </excludes> |
| <!-- No need to re-run core tests that do not involve session creation --> |
| <excludedGroups>org.apache.sshd.util.test.NoIoTestCase</excludedGroups> |
| <!-- Tests are located in the sshd-core reusable test jar --> |
| <dependenciesToScan> |
| <dependency>org.apache.sshd:sshd-core</dependency> |
| </dependenciesToScan> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <additionalparam>-Xdoclint:none</additionalparam> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |