Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.8
    • Fix Version/s: 2.0.8
    • Component/s: pom task
    • Labels:
      None
    • Environment:
      2.0.08-SNAPSHOT from 18-Nov-2007

      Description

      When running

      <artifact:install file="/path/to/file.jar">
      <pom file="/path/to/pom.xml" />
      <remoteRepository refId="repo" />
      </artifact:install>

      you get, if ~/.m2/settings.xml is missing,

      java.lang.NullPointerException
      at org.apache.maven.settings.SettingsUtils.merge(SettingsUtils.java:110)
      at org.apache.maven.artifact.ant.AbstractArtifactTask.initSettings(Abstr
      actArtifactTask.java:264)
      at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractAr
      tifactTask.java:643)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)

        Attachments

          Activity

            People

            • Assignee:
              hboutemy Hervé Boutemy
              Reporter:
              pmuir Peter Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: