Skip to content

'shell install' failing with error about HTTP URL instead of HTTPS #6

@brentvukmer

Description

@brentvukmer

I'm running on Ubuntu in WSL, trying to follow the quickstart instructions. My JDK is Corretto 21.

When I try to install restx-core-shell from inside a restx session, I see the following error.

It looks like I need to override restx's default Ivy settings to point to the HTTPS Maven Central URL. I'm not sure how to do that. I did review the RestX documentation before asking 😀

restx> shell install
:: loading settings :: url = jar:file:/home/bvukmer/.restx/lib/restx-shell-1.0.jar!/restx/shell/ivysettings.xml
looking for plugins...
found 3 available plugins
 [  1] io.restx:restx-core-shell:1.0
        core commands: generate new app, ...
 [  2] io.restx:restx-build-shell:1.0
        build commands: generate pom, ivy, ...
 [  3] io.restx:restx-specs-shell:1.0
        specs commands: run a specs server, ...
Which plugin would you like to install (eg '1 3 5')?
You can also provide a plugin id in the form <groupId>:<moduleId>:<version>
 plugin to install: 1
installing io.restx:restx-core-shell:1.0...

:: problems summary ::
:::: WARNINGS
        module not found: io.restx#restx-core-shell;1.0

    ==== local: tried

      /home/bvukmer/.ivy2/local/io.restx/restx-core-shell/1.0/ivys/ivy.xml

      -- artifact io.restx#restx-core-shell;1.0!restx-core-shell.jar:

      /home/bvukmer/.ivy2/local/io.restx/restx-core-shell/1.0/jars/restx-core-shell.jar

    ==== shared: tried

      /home/bvukmer/.ivy2/shared/io.restx/restx-core-shell/1.0/ivys/ivy.xml

      -- artifact io.restx#restx-core-shell;1.0!restx-core-shell.jar:

      /home/bvukmer/.ivy2/shared/io.restx/restx-core-shell/1.0/jars/restx-core-shell.jar

    ==== public: tried

      http://repo1.maven.org/maven2/io/restx/restx-core-shell/1.0/restx-core-shell-1.0.pom

      -- artifact io.restx#restx-core-shell;1.0!restx-core-shell.jar:

      http://repo1.maven.org/maven2/io/restx/restx-core-shell/1.0/restx-core-shell-1.0.jar

        ::::::::::::::::::::::::::::::::::::::::::::::

        ::          UNRESOLVED DEPENDENCIES         ::

        ::::::::::::::::::::::::::::::::::::::::::::::

        :: io.restx#restx-core-shell;1.0: not found

        ::::::::::::::::::::::::::::::::::::::::::::::


:::: ERRORS
    SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/io/restx/restx-core-shell/1.0/restx-core-shell-1.0.pom

    SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/io/restx/restx-core-shell/1.0/restx-core-shell-1.0.jar

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
plugin installation failed: io.restx:restx-core-shell:1.0
unresolved dependency: io.restx#restx-core-shell;1.0: not found
unresolved dependency: io.restx#restx-core-shell;1.0: not found
no plugin installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions