Yep! That did the trick! :)

I now include the following:

<dependency>
    <groupId>org.apache.sshd</groupId>
    <artifactId>sshd-core</artifactId>
    <version>1.7.0</version>
</dependency>


and it compiles just fine! Thanks a lot!

Greetings,
Borislav Kirilov

On Thu, May 17, 2018 at 3:48 PM, Guillaume Nodet <gno...@apache.org> wrote:

> 2018-05-17 14:42 GMT+02:00 Borislav Kirilov <
> borislav.kiri...@programista.pro>:
>
> > Hello everyone,
> >
> > I'm trying to compile my program using "project Jigsaw" from Java9 which
> is
> > supposed to compile an executable from my Java program that is able to
> > execute without Java preinstalled on the machine and to be small as a
> size
> > (because this project only adds what you actually use from the Java
> > framework ... ). But unfortunately, when trying to compile(with Maven and
> > IntelliJ), I was getting "zip END header not found" from
> > maven-compiler-plugin.
> > That lead me to a suspicion, that one of the jars I include is malformed.
> > Then I tried excluding one by one all the jars I use in my project and
> > found out, that when I comment the following dependency:
> >
> > <dependency>
> >     <groupId>org.apache.sshd</groupId>
> >     <artifactId>apache-sshd</artifactId>
> >     <version>1.7.0</version>
> >     <type>pom</type>
> >
>
> Your dependency is the pom file, not a jar, so the result is expected.
> You need to fix your pom, but it's not related to SSHD.
>
> Guillaume
>
>
> >     <exclusions>
> >         <exclusion>
> >             <groupId>org.slf4j</groupId>
> >             <artifactId>slf4j-jdk14</artifactId>
> >         </exclusion>
> >     </exclusions>
> > </dependency>
> >
> >
> > the project compiles just fine and doesn't give me the warning ... So my
> > question is - is it possible, that "apache-sshd" does not support Java
> > above 8 (which currently is 9 and 10 ... )? And if that so, is there any
> > chance for updating it soon to start supporting Java 9?
> >
> > Thanks in advance,
> > Greetings,
> > Borislav Kirilov
> >
>
>
>
> --
> ------------------------
> Guillaume Nodet
>

Reply via email to