weupnp icon indicating copy to clipboard operation
weupnp copied to clipboard

Maven

Open Palmeta opened this issue 10 years ago • 5 comments

Hi I think weupnp is a great job! But there seems to be a problem with maven.

this works! <groupId>org.bitlet</groupId> <artifactId>weupnp</artifactId> 0.1.2

but...

org.bitlet weupnp 0.1.3

gives missing artifact.

Palmeta avatar Sep 20 '15 16:09 Palmeta

How are you specifying your dependency? Version 0.1.3 is available on central here, so I would have expected maven to be able to resolve it just like 0.1.2.

abahgat avatar Sep 22 '15 03:09 abahgat

I add it to my pom.xml as usual and 0.1.2 resolves fine but 0.1.3 is missing.

            <dependency>

<groupId>org.bitlet</groupId> <artifactId>weupnp</artifactId> 0.1.2

On Tue, Sep 22, 2015 at 4:59 AM, Alessandro Bahgat <[email protected]

wrote:

How are you specifying your dependency? Version 0.1.3 is available on central here https://search.maven.org/#artifactdetails%7Corg.bitlet%7Cweupnp%7C0.1.3%7Cjar, so I would have expected maven to be able to resolve it just like 0.1.2.

— Reply to this email directly or view it on GitHub https://github.com/bitletorg/weupnp/issues/18#issuecomment-142173683.

Arlindo Bento

Palmeta avatar Sep 22 '15 19:09 Palmeta

I also get : [Fatal Error] :9:3: The element type "p" must be terminated by the matching end-tag "

".

quite frequently when I try to port foreward my router.

On Tue, Sep 22, 2015 at 8:29 PM, Arlindo Bento [email protected] wrote:

I add it to my pom.xml as usual and 0.1.2 resolves fine but 0.1.3 is missing.

            <dependency>

<groupId>org.bitlet</groupId> <artifactId>weupnp</artifactId> 0.1.2

On Tue, Sep 22, 2015 at 4:59 AM, Alessandro Bahgat < [email protected]> wrote:

How are you specifying your dependency? Version 0.1.3 is available on central here https://search.maven.org/#artifactdetails%7Corg.bitlet%7Cweupnp%7C0.1.3%7Cjar, so I would have expected maven to be able to resolve it just like 0.1.2.

— Reply to this email directly or view it on GitHub https://github.com/bitletorg/weupnp/issues/18#issuecomment-142173683.

Arlindo Bento

Arlindo Bento

Palmeta avatar Sep 23 '15 00:09 Palmeta

Hi Palmeta, 0.1.4 is now available, I'm hoping this should work for you.

Regarding the fatal error you reported in the last comment, at which stage does it happen? Do you have a stacktrace?

abahgat avatar Oct 08 '15 04:10 abahgat

Ok I'll try it out as soon as I get the chance. The error happens intermittently. I'm devising a program which at specific intervals checks the router for a forwarded port and attempts to forward it again. I think that the router may at sometimes send back an incomplete message or a malformed one and the xml parser in weupnp throws the exception. I'l see if I can manage to catch it but it is probably catching the exception internally and only printing an error message.

On Thu, Oct 8, 2015 at 5:18 AM, Alessandro Bahgat [email protected] wrote:

Hi Palmeta, 0.1.4 is now available, I'm hoping this should work for you.

Regarding the fatal error you reported in the last comment, at which stage does it happen? Do you have a stacktrace?

— Reply to this email directly or view it on GitHub https://github.com/bitletorg/weupnp/issues/18#issuecomment-146415231.

Arlindo Bento

Palmeta avatar Oct 08 '15 08:10 Palmeta