You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2018/04/19 09:06:04 UTC

mina-sshd git commit: [SSHD-817] Add netty tests to sshd-git [Forced Update!]

Repository: mina-sshd
Updated Branches:
  refs/heads/master 0fdfc6ddf -> 91592c0f1 (forced update)


[SSHD-817] Add netty tests to sshd-git


Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/91592c0f
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/91592c0f
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/91592c0f

Branch: refs/heads/master
Commit: 91592c0f1f7dfc3b025f2082918782fac570175f
Parents: ec9c0d8
Author: Guillaume Nodet <gn...@apache.org>
Authored: Thu Apr 19 10:41:46 2018 +0200
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Thu Apr 19 11:05:37 2018 +0200

----------------------------------------------------------------------
 sshd-git/pom.xml | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/91592c0f/sshd-git/pom.xml
----------------------------------------------------------------------
diff --git a/sshd-git/pom.xml b/sshd-git/pom.xml
index 4cf0873..37c19d5 100644
--- a/sshd-git/pom.xml
+++ b/sshd-git/pom.xml
@@ -207,5 +207,45 @@
                 </plugins>
             </build>
         </profile>
+
+        <profile>
+            <id>test-netty</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.sshd</groupId>
+                    <artifactId>sshd-netty</artifactId>
+                    <version>${project.version}</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>netty</id>
+                                <goals>
+                                    <goal>test</goal>
+                                </goals>
+                                <configuration>
+                                    <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                                    <reportsDirectory>${project.build.directory}/surefire-reports-netty</reportsDirectory>
+                                    <systemProperties>
+                                        <org.apache.sshd.common.io.IoServiceFactoryFactory>org.apache.sshd.netty.NettyIoServiceFactoryFactory</org.apache.sshd.common.io.IoServiceFactoryFactory>
+                                    </systemProperties>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>