Discussion:
[1/2] mina-sshd git commit: [SSHD-847] Updated README file to include a description of the produced artifacts and their broad functionality (including OSGi)
l***@apache.org
2018-10-11 04:14:00 UTC
Permalink
Repository: mina-sshd
Updated Branches:
refs/heads/master 313551c29 -> 51eaca295


[SSHD-847] Updated README file to include a description of the produced artifacts and their broad functionality (including OSGi)


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

Branch: refs/heads/master
Commit: 51eaca2953eb8635ed9be6abc1949a64239d6340
Parents: 0181a55
Author: Goldstein Lyor <***@cb4.com>
Authored: Wed Oct 10 17:57:01 2018 +0300
Committer: Goldstein Lyor <***@cb4.com>
Committed: Thu Oct 11 07:13:51 2018 +0300

----------------------------------------------------------------------
README.md | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/51eaca29/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 4fb0f17..bfbc5cb 100644
--- a/README.md
+++ b/README.md
@@ -153,6 +153,32 @@ Required for supporting [ssh-ed25519](https://tools.ietf.org/html/draft-bjh21-ss

The code contains support for reading _ed25519_ [OpenSSH formatted private keys](https://issues.apache.org/jira/browse/SSHD-703).

+# Basic artifacts structure
+
+* *sshd-common* - contains basic classes used throughout the project as well as code that does not require client or server network support.
+
+* *sshd-core* - contains the basic SSH client/server code implementing the connection, transport, channels, forwarding, etc..
+ * *sshd-mina*, *sshd-netty* - replacements for the default NIO2 connector used to establish and manage network connections using
+[MINA](https://mina.apache.org/mina-project/index.html) and/or [Netty](https://netty.io/) libraries respectively.
+
+* *sshd-sftp* - contains the server side SFTP subsystem and the SFTP client code.
+ * *sshd-spring-sftp* - contains a [Spring Integration](https://spring.io/projects/spring-integration) compatible SFTP adapter
+
+* *sshd-scp* - contains the server side SCP command handler and the SCP client code.
+
+* *sshd-ldap* - contains server-side password and public key authenticators that use and LDAP server.
+
+* *sshd-git* - contains replacements for [JGit](https://www.eclipse.org/jgit/) SSH session factory.
+
+* *sshd-osgi* - contains an artifact that combines *sshd-common* and *sshd-core* so it can be deployed in OSGi environments.
+
+* *sshd-putty* - contains code that can parse [PUTTY](https://www.putty.org/) key files.
+
+* *sshd-cli* - contains simple templates for command-line client/server - used to provide look-and-feel similar to the Linux *ssh/sshd* commands.
+
+* *sshd-contrib* - **experimental** code that is currently under review and may find its way into one of the other artifacts
+(or become an entirely new artifact - e.g., *sshd-putty* evolved this way).
+
# Set up an SSH client in 5 minutes

SSHD is designed to easily allow setting up and using an SSH client in a few simple steps. The client needs to be configured and then started before it can be used to connect to an SSH server. There are a few simple steps for creating a client instance - for more details refer to the `SshClient` class.
l***@apache.org
2018-10-11 04:14:01 UTC
Permalink
[SSHD-847] Add sshd-osgi artifact shading sshd-common and sshd-core


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

Branch: refs/heads/master
Commit: 0181a55c0c03b44e50c4ee6afdba43ff11412bfc
Parents: 313551c
Author: Robert Varga <***@pantheon.tech>
Authored: Wed Oct 10 17:24:40 2018 +0300
Committer: Goldstein Lyor <***@cb4.com>
Committed: Thu Oct 11 07:13:51 2018 +0300

----------------------------------------------------------------------
assembly/pom.xml | 5 +++
pom.xml | 1 +
sshd-osgi/pom.xml | 105 +++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 111 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/0181a55c/assembly/pom.xml
----------------------------------------------------------------------
diff --git a/assembly/pom.xml b/assembly/pom.xml
index 6663f1e..a15606d 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -66,6 +66,11 @@
<artifactId>sshd-cli</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.sshd</groupId>
+ <artifactId>sshd-osgi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<!-- For the I/O factories -->
<dependency>
<groupId>org.apache.sshd</groupId>

http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/0181a55c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f8818aa..6ad4ef6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1204,6 +1204,7 @@
<module>sshd-contrib</module>
<module>sshd-spring-sftp</module>
<module>sshd-cli</module>
+ <module>sshd-osgi</module>
<module>assembly</module>
</modules>
</project>

http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/0181a55c/sshd-osgi/pom.xml
----------------------------------------------------------------------
diff --git a/sshd-osgi/pom.xml b/sshd-osgi/pom.xml
new file mode 100644
index 0000000..09c53fb
--- /dev/null
+++ b/sshd-osgi/pom.xml
@@ -0,0 +1,105 @@
+<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">
+
+
+ <!--
+
+ 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.1.1-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>sshd-osgi</artifactId>
+ <name>Apache Mina SSHD :: OSGi</name>
+ <packaging>jar</packaging>
+ <inceptionYear>2018</inceptionYear>
+
+ <properties>
+ <projectRoot>${project.basedir}/..</projectRoot>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.sshd</groupId>
+ <artifactId>sshd-common</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sshd</groupId>
+ <artifactId>sshd-core</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcpg-jdk15on</artifactId>
+ <optional>true</optional>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcpkix-jdk15on</artifactId>
+ <optional>true</optional>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>net.i2p.crypto</groupId>
+ <artifactId>eddsa</artifactId>
+ <optional>true</optional>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>tomcat</groupId>
+ <artifactId>tomcat-apr</artifactId>
+ <optional>true</optional>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack-dependencies</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <configuration>
+ <excludeTransitive>true</excludeTransitive>
+ <includeGroupIds>org.apache.sshd</includeGroupIds>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ <!-- Exclude the unpacked Maven files from the dependencies -->
+ <excludes>META-INF/maven/**/*.*,META-INF/maven/**/*</excludes>
+ <outputDirectory>${project.build.directory}/classes</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>

Loading...