rshell
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.snamp.connectors</groupId>
<artifactId>rshell</artifactId>
<version>2.0.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>connectors</artifactId>
<groupId>io.snamp.connectors</groupId>
<version>2.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>rshell</artifactId>
<packaging>bundle</packaging>
<name>RShell Connector</name>
<version>2.0.0</version>
<description>RShell resource connector that uses remote shells (ssh, rsh, rexec, local process execution) to obtain management information</description>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<ssh-cert-file>../../hostkey.ser</ssh-cert-file>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>snamp-${project.artifactId}-connector</Bundle-SymbolicName>
<Bundle-Activator>com.bytex.snamp.connector.rshell.RShellResourceConnectorActivator</Bundle-Activator>
<Export-Package>com.bytex.jcommands</Export-Package>
<Import-Package>com.bytex.snamp,
com.bytex.snamp.configuration,
com.bytex.snamp.connector,
com.bytex.snamp.connector.attributes,
com.bytex.snamp.connector.metrics,
com.bytex.snamp.connector.operations,
com.bytex.snamp.core,
com.bytex.snamp.internal,
com.bytex.snamp.io,
com.bytex.snamp.jmx,
com.bytex.snamp.scripting,
com.google.common.base,
com.google.common.cache,
com.google.common.collect,
com.google.common.io,
com.google.common.reflect,
javax.management,
javax.management.openmbean,
javax.script,
javax.xml.bind,
javax.xml.bind.annotation,
javax.xml.transform,
javax.xml.transform.stream,
net.schmizz.sshj,
net.schmizz.sshj.common,
net.schmizz.sshj.connection.channel.direct,
net.schmizz.sshj.transport,
net.schmizz.sshj.userauth,
org.osgi.framework,
org.antlr.runtime.tree,
org.stringtemplate.v4,
org.stringtemplate.v4.misc,
org.stringtemplate.v4.compiler,
org.stringtemplate.v4.adaptors,
org.stringtemplate.v4.helpers</Import-Package>
<Provide-Capability>com.bytex.snamp.connector; type=rshell</Provide-Capability>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.snamp</groupId>
<artifactId>framework</artifactId>
<version>2.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>5.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>5.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.snamp.osgi</groupId>
<artifactId>sshj</artifactId>
<version>0.18.0</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>sshj</artifactId>
<groupId>com.hierynomus</groupId>
</exclusion>
<exclusion>
<artifactId>jzlib</artifactId>
<groupId>com.jcraft</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.snamp.osgi</groupId>
<artifactId>stringtemplate4</artifactId>
<version>4.0.8</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>antlr-runtime</artifactId>
<groupId>org.antlr</groupId>
</exclusion>
<exclusion>
<artifactId>ST4</artifactId>
<groupId>org.antlr</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>19.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>hamcrest-core</artifactId>
<groupId>org.hamcrest</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId>
<version>0.14.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>