Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brentvukmer opened this issue Feb 11, 2025 · 0 comments
Open

Comments

@brentvukmer
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant