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

Fails to Install #6

Open
bputersznit opened this issue Nov 16, 2017 · 3 comments
Open

Fails to Install #6

bputersznit opened this issue Nov 16, 2017 · 3 comments

Comments

@bputersznit
Copy link

No Joy Installing:

bernard@bernard-MS-7823:~/tut/forge/vertx$ forge
Using Forge at /home/bernard/sw/forge/forge-distribution-3.7.2.Final
Warning: JAVA_HOME environment variable is not set.

_____                    

| | _ __ __ _ ___
| |
/ _ | __/ _ |/ _ \ \
| | () | | | (| | __/ //
|
| _/|| _, |_|
|__/

JBoss Forge, version [ 3.7.2.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]
Hit '' for a list of available commands and 'man [cmd]' for help on a specific command.

To quit the shell, type 'exit'.

[vertx]$ addon-install --coordinate org.jboss.forge.addon:vertx
ERROR Error while executing 'addon-install'
INFO (type "export VERBOSE=true" to enable stack traces)
ERROR No Artifact version found for org.jboss.forge.addon:vertx
[vertx]$

@bputersznit
Copy link
Author

Then tried the CATALOG: more detail, but still no install:

bernard@bernard-MS-7823:~/tut/forge/vertx$ forge
Using Forge at /home/bernard/sw/forge/forge-distribution-3.7.2.Final
Warning: JAVA_HOME environment variable is not set.

_____                    

| | _ __ __ _ ___
| |
/ _ | __/ _ |/ _ \ \
| | () | | | (| | __/ //
|
| _/|| _, |_|
|__/

JBoss Forge, version [ 3.7.2.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]
Hit '' for a list of available commands and 'man [cmd]' for help on a specific command.

To quit the shell, type 'exit'.

[vertx]$ addon-install --coordinate org.jboss.forge.addon:vertx
ERROR Error while executing 'addon-install'
INFO (type "export VERBOSE=true" to enable stack traces)
ERROR No Artifact version found for org.jboss.forge.addon:vertx
[vertx]$ addon-
addon-build-and-install addon-remove
addon-install addon-search
addon-install-from-catalog addon-update
addon-install-from-git addon-watch-start
addon-list
[vertx]$ addon-install-from-catalog
INFO Required inputs not satisfied, entering interactive mode

[0] ( ) org.arquillian.forge:arquillian-addon
[1] ( ) org.jboss.forge.addon:asciidoctorj
[2] ( ) org.assertj.forge:assertj-forge-addon
[3] ( ) io.fabric8.forge:camel
[4] ( ) org.bsc.maven:confluence-forge-plugin
[5] ( ) com.github.database.rider.addon:dbunit-addon
[6] ( ) org.jboss.forge.addon:devassistant
[7] ( ) org.jboss.errai.forge:errai-forge-addon
[8] ( ) org.jboss.forge.addon:gradle
[9] ( ) org.jboss.forge.addon:jira
[10] ( ) org.bsc:forge-js-addon
[11] ( ) org.keycloak.forge.addon:keycloak
[12] ( ) org.jboss.forge.addon:mail
[13] ( ) com.github.forge.addon:music-addon
[14] ( ) org.picketlink.tools.forge:picketlink-forge-addon
[15] ( ) org.jboss.forge.addon:portlet
[16] ( ) org.primefaces.forge:primefaces-forge-addon
[17] ( ) me.gastaldi.forge:reflections
[18] ( ) org.richfaces.forge:richfaces-forge-addon
[19] ( ) org.jboss.swagger:swagger-addon
[20] ( ) org.george.twitter:twitter
[21] ( ) org.jboss.aerogear:unifiedpush
[22] ( ) org.jboss.forge.addon:vertx
[23] ( ) org.walkmod:forge-walkmod-plugin
[24] ( ) org.jboss.forge.addon:wildfly-swarm
[25] ( ) org.jboss.forge.addon:jboss-as

Press to confirm, or +C to cancel.

  • Addon: [0-25] 22
    addon-install-from-git --url https://github.com/forge/vertx-addon.git --coordinate org.jboss.forge.addon:vertx
    INFO Installing Addon from Git [1/4] ...
    INFO Installing Addon from Git:Cloning repository in /tmp/tmpdir120158047295441277 [1/4] ...
    INFO Installing Addon from Git:Installing project into local repository [2/4] ...
    [INFO] Scanning for projects...
    [INFO] Inspecting build with total of 1 modules...
    [INFO] Installing Nexus Staging features:
    [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Vert.x add-on for JBoss Forge 1.2.3-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ vertx ---
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ vertx ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 6 resources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ vertx ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 14 source files to /tmp/tmpdir120158047295441277/target/classes
    [INFO] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/facets/CustomResourceFacet.java: /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/facets/CustomResourceFacet.java uses or overrides a deprecated API.
    [INFO] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/facets/CustomResourceFacet.java: Recompile with -Xlint:deprecation for details.
    [INFO] -------------------------------------------------------------
    [SEVERE] COMPILATION ERROR :
    [INFO] -------------------------------------------------------------
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/SetupVertxCommand.java:[5,20] package javax.inject does not exist
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AbstractVertxCommand.java:[3,20] package javax.inject does not exist
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/verticles/Verticles.java:[16,20] package javax.inject does not exist
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AddVerticleCommand.java:[5,20] package javax.inject does not exist
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/VertxMavenFacet.java:[11,20] package javax.inject does not exist
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/SetupVertxCommand.java:[23,6] cannot find symbol
    symbol: class Inject
    location: class io.vertx.forge.commands.SetupVertxCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AbstractVertxCommand.java:[18,6] cannot find symbol
    symbol: class Inject
    location: class io.vertx.forge.commands.AbstractVertxCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AbstractVertxCommand.java:[21,6] cannot find symbol
    symbol: class Inject
    location: class io.vertx.forge.commands.AbstractVertxCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/verticles/Verticles.java:[27,4] cannot find symbol
    symbol: class Inject
    location: class io.vertx.forge.verticles.Verticles
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AddVerticleCommand.java:[27,6] cannot find symbol
    symbol: class Inject
    location: class io.vertx.forge.commands.AddVerticleCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AddVerticleCommand.java:[32,6] cannot find symbol
    symbol: class Inject
    location: class io.vertx.forge.commands.AddVerticleCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AddVerticleCommand.java:[40,6] cannot find symbol
    symbol: class Inject
    location: class io.vertx.forge.commands.AddVerticleCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AddVerticleCommand.java:[48,6] cannot find symbol
    symbol: class Inject
    location: class io.vertx.forge.commands.AddVerticleCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/VertxMavenFacet.java:[58,6] cannot find symbol
    symbol: class Inject
    location: class io.vertx.forge.VertxMavenFacet
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/VertxMavenFacet.java:[61,6] cannot find symbol
    symbol: class Inject
    location: class io.vertx.forge.VertxMavenFacet
    [INFO] 15 errors
    [INFO] -------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3.840 s
    [INFO] Finished at: 2017-11-16T11:33:48-05:00
    [INFO] Final Memory: 75M/1489M
    [INFO] ------------------------------------------------------------------------
    [SEVERE] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project vertx: Compilation failure: Compilation failure:
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/SetupVertxCommand.java:[5,20] package javax.inject does not exist
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AbstractVertxCommand.java:[3,20] package javax.inject does not exist
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/verticles/Verticles.java:[16,20] package javax.inject does not exist
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AddVerticleCommand.java:[5,20] package javax.inject does not exist
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/VertxMavenFacet.java:[11,20] package javax.inject does not exist
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/SetupVertxCommand.java:[23,6] cannot find symbol
    [SEVERE] symbol: class Inject
    [SEVERE] location: class io.vertx.forge.commands.SetupVertxCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AbstractVertxCommand.java:[18,6] cannot find symbol
    [SEVERE] symbol: class Inject
    [SEVERE] location: class io.vertx.forge.commands.AbstractVertxCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AbstractVertxCommand.java:[21,6] cannot find symbol
    [SEVERE] symbol: class Inject
    [SEVERE] location: class io.vertx.forge.commands.AbstractVertxCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/verticles/Verticles.java:[27,4] cannot find symbol
    [SEVERE] symbol: class Inject
    [SEVERE] location: class io.vertx.forge.verticles.Verticles
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AddVerticleCommand.java:[27,6] cannot find symbol
    [SEVERE] symbol: class Inject
    [SEVERE] location: class io.vertx.forge.commands.AddVerticleCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AddVerticleCommand.java:[32,6] cannot find symbol
    [SEVERE] symbol: class Inject
    [SEVERE] location: class io.vertx.forge.commands.AddVerticleCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AddVerticleCommand.java:[40,6] cannot find symbol
    [SEVERE] symbol: class Inject
    [SEVERE] location: class io.vertx.forge.commands.AddVerticleCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/commands/AddVerticleCommand.java:[48,6] cannot find symbol
    [SEVERE] symbol: class Inject
    [SEVERE] location: class io.vertx.forge.commands.AddVerticleCommand
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/VertxMavenFacet.java:[58,6] cannot find symbol
    [SEVERE] symbol: class Inject
    [SEVERE] location: class io.vertx.forge.VertxMavenFacet
    [SEVERE] /tmp/tmpdir120158047295441277/src/main/java/io/vertx/forge/VertxMavenFacet.java:[61,6] cannot find symbol
    [SEVERE] symbol: class Inject
    [SEVERE] location: class io.vertx.forge.VertxMavenFacet
    [SEVERE] -> [Help 1]
    [SEVERE]
    [SEVERE] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [SEVERE] Re-run Maven using the -X switch to enable full debug logging.
    [SEVERE]
    [SEVERE] For more information about the errors and possible solutions, please read the following articles:
    [SEVERE] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    ERROR Error while executing 'addon-install-from-git'
    INFO (type "export VERBOSE=true" to enable stack traces)
    ERROR Unable to execute project build
    [vertx]$ SUCCESS Failed [Unable to execute project build]
    [vertx]$

@gastaldi
Copy link
Member

It seems the Vert.x addon was not released after the groupId changed (may need some attention in the dependency list). @cescoffier can you have a look at it?

@bputersznit, try running the following command:

addon-install --coordinate me.escoffier.forge:vertx-forge-addon,1.2.2

@bputersznit
Copy link
Author

Obliged!

[vertx]$ addon-install --coordinate me.escoffier.forge:vertx-forge-addon,1.2.2
SUCCESS Addon me.escoffier.forge:vertx-forge-addon,1.2.2 was installed successfully.
[vertx]$

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

2 participants