Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1133

Error and exception handling for Maven dependency resolution does not warn of unresolved dependencies

    XMLWordPrintable

Details

    Description

      Maven dependency resolution errors are not caught and handled appropriately, especially during plugin installation. The following behavior is observed when installing the Forge Arquillian plugin in an environment with an invalid Maven central location, like the one described here, but without the mirror:

      [no project] vineet $ forge install-plugin arquillian
      Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
      ***INFO*** Preparing to install plugin: arquillian
      ***INFO*** Checking out plugin source files to [/tmp/forgetemp161339604102750966] via 'git'
      ***INFO*** Switching to branch/tag [refs/heads/1.0.6.Final]
      ? The project does not appear to be a Forge Plugin Project, install anyway? [y/N] 
      

      It would be better to display warnings or errors and possibly terminate any operations should this occur.

      Attachments

        Activity

          People

            vineet.reynolds_jira Vineet Reynolds (Inactive)
            vineet.reynolds_jira Vineet Reynolds (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: