Tests how sshj behaves in an OSGI environment
- Check out the source code of sshj.
- Adjust the
sshj.version
property in sshj.osgi.tests/pom.xml to match the check out sshj code. - Build
sshj
and copy its artifacts to your local maven repository:sshj/gradlew publishToMavenLocal
. - Run tests for OSGI environment:
mvn -f sshj.osgi.tests verify
. You may wish to specify the version of sshj under test on the command-line, like thismvn -f sshj.osgi.tests -Dsshj.version=0.19.2-dev.5+ac2720b verify
- Fix errors in sshj and continue with step 3.