| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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. |
| --> |
| <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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-providers</artifactId> |
| <version>3.3.3</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>wagon-ssh</artifactId> |
| <name>Apache Maven Wagon :: Providers :: SSH Provider</name> |
| |
| <properties> |
| <sshd.stopImmediatly>false</sshd.stopImmediatly> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch</artifactId> |
| <version>0.1.55</version> |
| </dependency> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch.agentproxy.connector-factory</artifactId> |
| <version>0.0.9</version> |
| </dependency> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch.agentproxy.jsch</artifactId> |
| <version>0.0.9</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-interactivity-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-ssh-common</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-ssh-common-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty.aggregate</groupId> |
| <artifactId>jetty-all</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-container-default</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>no-ssh-tests</id> |
| <activation> |
| <property> |
| <name>!ssh-tests</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <!-- Tests that currently doesn't work with embedded ssh server --> |
| <excludes> |
| <exclude>**/SftpWagonTest.*</exclude> |
| <exclude>**/SshCommandExecutorTest.*</exclude> |
| <exclude>**/KnownHostsProviderTest.*</exclude> |
| <exclude>**/ScpWagon*Test.*</exclude> |
| <exclude>**/Embedded*Test.*</exclude> |
| </excludes> |
| <systemPropertyVariables> |
| <java.io.tmpdir>${project.build.directory}</java.io.tmpdir> |
| <test.user>olamy</test.user> |
| <sshd.stopImmediatly>${sshd.stopImmediatly}</sshd.stopImmediatly> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>windauze</id> |
| <activation> |
| <os> |
| <family>windows</family> |
| </os> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <!-- Tests that currently doesn't work with embedded ssh server and embedded as won't work on a windauze env --> |
| <excludes> |
| <exclude>**/SftpWagonTest.*</exclude> |
| <exclude>**/SshCommandExecutorTest.*</exclude> |
| <exclude>**/KnownHostsProviderTest.*</exclude> |
| <exclude>**/ScpWagon*Test.*</exclude> |
| <exclude>**/Embedded*Test.*</exclude> |
| </excludes> |
| <systemPropertyVariables> |
| <java.io.tmpdir>${project.build.directory}</java.io.tmpdir> |
| <test.user>olamy</test.user> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>ssh-embedded</id> |
| <activation> |
| <property> |
| <name>ssh-embedded</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <!-- Tests that currently doesn't work with embedded ssh server --> |
| <excludes> |
| <exclude>**/SftpWagonTest.*</exclude> |
| <exclude>**/SshCommandExecutorTest.*</exclude> |
| <exclude>**/KnownHostsProviderTest.*</exclude> |
| <exclude>**/ScpWagon*Test.*</exclude> |
| </excludes> |
| <systemPropertyVariables> |
| <java.io.tmpdir>${project.build.directory}</java.io.tmpdir> |
| <test.user>olamy</test.user> |
| <sshd.stopImmediatly>${sshd.stopImmediatly}</sshd.stopImmediatly> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |