You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2018/10/11 04:14:01 UTC
[2/2] mina-sshd git commit: [SSHD-847] Add sshd-osgi artifact shading
sshd-common and sshd-core
[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 <ro...@pantheon.tech>
Authored: Wed Oct 10 17:24:40 2018 +0300
Committer: Goldstein Lyor <ly...@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>