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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0-alpha-1
    • None
    • None
    • None

      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)

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

                Created:
                Updated:
                Resolved: