Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-17

Plugin (Environment) Integration depends upon a settings.xml file to exist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-alpha-1
    • Component/s: None
    • Labels:
      None

      Description

      If no ~/.m2/settings.xml is present on the user's environment, the following error is encountered:

      java.lang.IllegalArgumentException: Settings.xml file /home/alr/.m2/settings.xml does not represent a readable file
      	at org.jboss.shrinkwrap.resolver.api.maven.Validate.isReadable(Validate.java:98)
      	at org.jboss.shrinkwrap.resolver.api.maven.MavenConfigurationTypes$2.configure(MavenConfigurationTypes.java:77)
      	at org.jboss.shrinkwrap.resolver.api.maven.MavenConfigurationTypes$2.configure(MavenConfigurationTypes.java:32)
      	at org.jboss.shrinkwrap.resolver.impl.maven.MavenDependencyResolverImpl.configureFrom(MavenDependencyResolverImpl.java:31)
      	at org.jboss.shrinkwrap.resolver.impl.maven.PluginIntegrationTestCase.loadCurrentProject(PluginIntegrationTestCase.java:26)

        Attachments

          Activity

            People

            Assignee:
            kpiwko Karel Piwko
            Reporter:
            arubinge@redhat.com Andrew Rubinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: